mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
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.
This commit is contained in:
53
haiku-apps/uploadit/uploadit-1.0.recipe
Normal file
53
haiku-apps/uploadit/uploadit-1.0.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user