noteshrink: qdd recipe (#4501)

This commit is contained in:
Rafał Bernacki
2019-12-31 14:33:00 +01:00
committed by Jérôme Duval
parent cdb6bd6b68
commit 3f0eb34d47

View File

@@ -0,0 +1,30 @@
SUMMARY="Convert scans of handwritten notes to beautiful, compact PDFs"
DESCRIPTION="Noteshrink is an utility that is used to convert scans of notes to compact PDFs."
HOMEPAGE="https://github.com/mzucker/noteshrink"
COPYRIGHT="2016 Matt Zucker"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/mzucker/noteshrink/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="2a29c09768973e688b693b61337c6c49384e8123cf88824dba335cc8c4ed2ca8"
ARCHITECTURES="any"
# Doesn't work on gcc2hybrid - missing dependencies.
PROVIDES="
noteshrink = $portVersion
cmd:noteshrink
"
REQUIRES="
haiku
imagemagick
numpy_python >= 1.10
pillow_python
scipy_python
setuptools_python
"
INSTALL()
{
mkdir -p $binDir
cp noteshrink.py $binDir/noteshrink
}