0
0
Fork 0
haikuports/haiku-apps/photograbber/photograbber-2.3.4.recipe

56 lines
1.4 KiB
Bash

SUMMARY="A tool to download/delete pictures from digital cameras"
DESCRIPTION="Photograbber has a plugin system which is based on the BDCP2 \
API created by Graham Wharton (Creator of 'Exposure!'). With this system \
it is possible to add support to more cameras. If you have developed a \
BCDP2 compatible plugin for your camera (or just found one somewhere), \
just copy it into the 'plugins' folder and PhotoGrabber will detect \
and use it.
At this moment PhotoGrabber only supports PTP (Picture Transfer Protocol) \
cameras. In the future Mass Storage and Bluetooth support may be added."
HOMEPAGE="https://github.com/HaikuArchives/PhotoGrabber"
COPYRIGHT="2010 Jan-Rixt Van Hoye (Jixt)"
LICENSE="MIT"
REVISION="1"
srcGitRev="ec975b2a385fbb95febc99db502297e00eac28d9"
SOURCE_URI="https://github.com/HaikuArchives/PhotoGrabber/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7914446eb8ddb6454ef4cfebe0d5754833dec8b9d205c7b2be0cf8f309f96560"
SOURCE_DIR="PhotoGrabber-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
photograbber = $portVersion
app:PhotoGrabber = $portVersion
"
REQUIRES="
haiku
lib:libexif
lib:libiconv
"
BUILD_REQUIRES="
haiku_devel
devel:libexif
devel:libiconv
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
mkdir -p dist/plugins
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/PhotoGrabber
cp -r dist/* $appsDir/PhotoGrabber
addAppDeskbarSymlink $appsDir/PhotoGrabber/PhotoGrabber
}