Localize, update haiqr (#13266)

This commit is contained in:
tmtfx
2025-11-28 13:13:44 +01:00
committed by GitHub
parent 5ab5714156
commit 5b5a4e464b

View File

@@ -1,16 +1,17 @@
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 \
It's a 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."
It allows you to create a personalized QR code with a small thumbnail \
in the middle (if you'd like). You can even save the QR generated. \
If you are interested in translating this app, please send me the translation, \
and read the documentation for further details. "
HOMEPAGE="https://github.com/tmtfx/HaiQR"
COPYRIGHT="2024 Fabio Tomat (TmTFx)"
COPYRIGHT="2025 Fabio Tomat (TmTFx)"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/tmtfx/HaiQR/archive/refs/tags/$portVersion.tar.gz"
CHECKSUM_SHA256="3c0fcc7b7c63b9d9440661d18eac5d623e8bcc5dcb604ca16fc10a222c43245a"
CHECKSUM_SHA256="e2b991ae0bfa39c76627b5e072caea2f1c7996113bcbdcba000bc6916ae1bad2"
SOURCE_DIR="HaiQR-$portVersion"
ARCHITECTURES="any"
@@ -30,10 +31,12 @@ REQUIRES="
INSTALL()
{
mkdir -p $appsDir/HaiQR2 $binDir $dataDir/HaiQR2 $docDir/HaiQR2
mkdir -p $appsDir/HaiQR2 $binDir $dataDir/HaiQR2 $docDir/HaiQR2 $dataDir/HaiQR2/locale
cp HaiQR.py $appsDir/HaiQR2
cp data/HaiQR.png $dataDir/HaiQR2
cp data/* $docDir/HaiQR2
cp -R data/locale/* $dataDir/HaiQR2/locale
cp data/*.html $docDir/HaiQR2
cp data/*.png $docDir/HaiQR2
ln -sfn $appsDir/HaiQR2/HaiQR.py $binDir/HaiQR.py
ln -sfn $appsDir/HaiQR2/HaiQR.py $appsDir/HaiQR2/HaiQR
addAppDeskbarSymlink $appsDir/HaiQR2/HaiQR