2015-11-13 22:50:59 +00:00
|
|
|
SUMMARY="A GUI frontend for SANE"
|
2015-11-15 13:37:20 +00:00
|
|
|
DESCRIPTION="A graphical Haiku scanner application, using SANE.
|
|
|
|
SanityTranslator allows applications to use scanner devices through the \
|
|
|
|
translation kit."
|
2015-11-13 22:50:59 +00:00
|
|
|
HOMEPAGE="http://philippe.houdoin.free.fr/phil/beos/sanity/index-en.html"
|
2016-05-20 23:58:44 +00:00
|
|
|
COPYRIGHT="2001-2015 Philippe Houdoin"
|
2015-11-13 22:50:59 +00:00
|
|
|
LICENSE="MIT"
|
2020-08-19 16:44:04 +00:00
|
|
|
REVISION="7"
|
|
|
|
srcGitRev="6106ad8caf3d9435b10f6d0fc0edfe4886a22778"
|
2016-05-20 23:58:44 +00:00
|
|
|
SOURCE_URI="https://github.com/diversys/sanity/archive/$srcGitRev.tar.gz"
|
2020-08-19 16:44:04 +00:00
|
|
|
CHECKSUM_SHA256="ce5a6a4cb8ed06423398619353f6781e1b32c6eade1ec93fbaa8ac6e5f7840f6"
|
2016-05-20 23:58:44 +00:00
|
|
|
SOURCE_DIR="sanity-$srcGitRev"
|
2015-11-13 22:50:59 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
2020-06-20 21:06:50 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
2015-11-13 22:50:59 +00:00
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
sanity = $portVersion
|
|
|
|
app:Sanity = $portVersion
|
|
|
|
"
|
|
|
|
REQUIRES="
|
2020-06-20 21:06:50 +00:00
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
lib:libsane$secondaryArchSuffix
|
2015-11-13 22:50:59 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
2020-06-20 21:06:50 +00:00
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libsane$secondaryArchSuffix
|
2015-11-13 22:50:59 +00:00
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
makefile_engine
|
2020-06-20 21:06:50 +00:00
|
|
|
cmd:gcc$secondaryArchSuffix
|
2018-08-09 09:26:07 +00:00
|
|
|
cmd:make
|
2015-11-13 22:50:59 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
make $jobArgs OBJ_DIR=objects
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
mkdir -p $appsDir
|
|
|
|
cp -a objects/Sanity $appsDir
|
|
|
|
addAppDeskbarSymlink $appsDir/Sanity
|
2015-11-14 10:42:21 +00:00
|
|
|
|
|
|
|
mkdir -p $addOnsDir/Translators
|
|
|
|
ln -s $appsDir/Sanity $addOnsDir/Translators/SanityTranslator
|
2015-11-13 22:50:59 +00:00
|
|
|
}
|