mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Add HaiQR recipe (#10914)
* add feedgator app * update feedgator * single python version * minor fixes * Add HaiQR app * Revert "Add HaiQR app" This reverts commit 14a5c2d7a8b7a16e22819399e98258c904b002c9. * Add HaiQR recipe
This commit is contained in:
41
haiku-apps/haiqr/haiqr-2.0.recipe
Normal file
41
haiku-apps/haiqr/haiqr-2.0.recipe
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY="QR generator for Haiku"
|
||||
DESCRIPTION="HaiQR is a QR code generator. \
|
||||
It's a native python3 program that uses Haiku APIs through Haiku-PyAPI \
|
||||
wrapper, pillow and qrcode modules. \
|
||||
It allows you create a personalized QR code with a small thumbnail in the \
|
||||
middle (if you'd like). You can save the QR generated. \
|
||||
The code is released under MIT license."
|
||||
HOMEPAGE="https://github.com/tmtfx/HaiQR"
|
||||
COPYRIGHT="2024 Fabio Tomat (TmTFx)"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/tmtfx/HaiQR/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3c0fcc7b7c63b9d9440661d18eac5d623e8bcc5dcb604ca16fc10a222c43245a"
|
||||
SOURCE_DIR="HaiQR-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
DISABLE_SOURCE_PACKAGE="yes"
|
||||
|
||||
PROVIDES="
|
||||
haiqr = $portVersion
|
||||
app:HaiQR = $portVersion
|
||||
cmd:haiqr.py
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
haiku_pyapi_python310
|
||||
pillow_python310
|
||||
qrcode_python310
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/HaiQR2 $binDir $dataDir/HaiQR2 $docDir/HaiQR2
|
||||
cp HaiQR.py $appsDir/HaiQR2
|
||||
cp data/HaiQR.png $dataDir/HaiQR2
|
||||
cp data/* $docDir/HaiQR2
|
||||
ln -sfn $appsDir/HaiQR2/HaiQR.py $binDir/HaiQR.py
|
||||
ln -sfn $appsDir/HaiQR2/HaiQR.py $appsDir/HaiQR2/HaiQR
|
||||
addAppDeskbarSymlink $appsDir/HaiQR2/HaiQR
|
||||
}
|
||||
Reference in New Issue
Block a user