gphoto2: bump to 2.5.17, add debuginfo, add libexif. (#2458)

This commit is contained in:
fbrosson
2018-04-17 10:57:02 +00:00
committed by GitHub
parent 40158d875a
commit 725c3f811d

View File

@@ -0,0 +1,58 @@
SUMMARY="A command-line frontend to libgphoto2"
DESCRIPTION="gphoto2 is a command line client to for the libgphoto2. It allows \
to use gPhoto software from a terminal or from a script shell to perform any \
camera operation that can be done. This is the main user interface.
gphoto2 also provide convenient debugging features for camera driver \
developers."
HOMEPAGE="http://www.gphoto.org/"
COPYRIGHT="The gphoto2 team"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/gphoto/gphoto2-$portVersion.tar.bz2"
CHECKSUM_SHA256="aa571039240c68a053be710ca41645aed0239fa2f0b737b8ec767fef29e3544f"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gphoto2$secondaryArchSuffix = $portVersion
cmd:gphoto2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexif$secondaryArchSuffix
lib:libgphoto2$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpopt$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexif$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libgphoto2$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpopt$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:awk
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage gphoto2$secondaryArchSuffix \
"$binDir"/gphoto2
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}