Tested as building and working on x86 and x86_64
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.gz"
CHECKSUM_SHA256="74ff7bccd638e35a61ec4f6dda40897134b2462fa156778fa71c0683afd1336d"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gphoto2$secondaryArchSuffix = $portVersion
cmd:gphoto2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$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
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
@Vidrep, shall I edit your message to add this line:
```bash
above the first line of your recipe, and this one:
```
below the last line of your recipe?
Do as you think best. I'm just letting you know there's a new revision of this app since Oct. 2017, and I've built and tested the revised recipe on both x86 and x86_64.
It's much nicer, isn't it?
BTW, I did a few cosmetic changes:
- cmd:libtoolize
+ cmd:libtoolize$secondaryArchSuffix
And I also "improved" SOURCE_URI a little bit.
Push request done
Can this issue be closed?
Yep