From 043e58526f207bfae6d023f89136904fd9d94d88 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Mon, 3 Sep 2018 16:59:17 +0200 Subject: [PATCH] New recipe for UploadIt From the description: UploadIt is a Tracker Add-On that uploads a single file to the online service *The Null Pointer* at https://0x0.st . The URL for the uploaded file is put into the clipboard after the upload has finished, ready to be pasted into an email, a chat window or forum post. --- haiku-apps/uploadit/uploadit-1.0.recipe | 53 +++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 haiku-apps/uploadit/uploadit-1.0.recipe diff --git a/haiku-apps/uploadit/uploadit-1.0.recipe b/haiku-apps/uploadit/uploadit-1.0.recipe new file mode 100644 index 000000000..1385dab17 --- /dev/null +++ b/haiku-apps/uploadit/uploadit-1.0.recipe @@ -0,0 +1,53 @@ +SUMMARY="A Tracker add-on to upload a file to an online service" +DESCRIPTION="UploadIt is a Tracker Add-On that uploads a single file to the \ +online service 'The Null Pointer' at https://0x0.st. The URL for the uploaded \ +file is put into the clipboard after the upload has finished, ready to be \ +pasted into an email, a chat window or forum post. + +According to 'The Null Pointer' website: +* Maximum file size: 512.0 MiB +* Not allowed: application/x-dosexec, child pornography +* File URLs are valid for at least 30 days and up to a year, depending on \ +file size. + +Tip: Install Clipdinger from HaikuDepot. It includes a 'Clipboard Monitor' \ +that you can embed as Replicant on the Desktop. When you see the upload URL \ +appearing there, you know the file was uploaded successfully and the URL can \ +be pasted." +HOMEPAGE="https://github.com/humdingerb/UploadIt" +COPYRIGHT="2018 Humdinger" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz" +CHECKSUM_SHA256="4be89b1498bccbc1859e369729aa6a9b489d37205e9c46d18586fafa44f85561" +SOURCE_DIR="UploadIt-$portVersion" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + uploadit = $portVersion + addon:UploadIt = $portVersion + " +REQUIRES=" + haiku + cmd:curl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + " + +BUILD() +{ + make $jobArgs + make bindcatalogs +} + +INSTALL() +{ + make install INSTALL_DIR=$addOnsDir/Tracker +}