From 3f0eb34d47e9ce39e2a3f28d7e52582037718796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Bernacki?= <33581850+Ra-V2@users.noreply.github.com> Date: Tue, 31 Dec 2019 14:33:00 +0100 Subject: [PATCH] noteshrink: qdd recipe (#4501) --- media-gfx/noteshrink/noteshrink-0.1.1.recipe | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 media-gfx/noteshrink/noteshrink-0.1.1.recipe diff --git a/media-gfx/noteshrink/noteshrink-0.1.1.recipe b/media-gfx/noteshrink/noteshrink-0.1.1.recipe new file mode 100644 index 000000000..d978a6184 --- /dev/null +++ b/media-gfx/noteshrink/noteshrink-0.1.1.recipe @@ -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 +}