mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
84 lines
1.8 KiB
Bash
84 lines
1.8 KiB
Bash
SUMMARY="GObject-based wrapper around the Exiv2 library"
|
|
DESCRIPTION="gexiv2 is a GObject-based wrapper around the Exiv2 library. \
|
|
It makes the basic features of Exiv2 available to GNOME applications."
|
|
HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2"
|
|
COPYRIGHT="Jens Georg"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://ftp.acc.umu.se/pub/GNOME/sources/gexiv2/0.14/gexiv2-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="e58279a6ff20b6f64fa499615da5e9b57cf65ba7850b72fafdf17221a9d6d69e"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gexiv2$secondaryArchSuffix = $portVersion compat >= 0
|
|
lib:libgexiv2$secondaryArchSuffix = 2.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libexiv2$secondaryArchSuffix
|
|
lib:libgio_2.0$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgobject_2.0$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
gexiv2${secondaryArchSuffix}_devel = $portVersion compat >= 0
|
|
devel:libgexiv2$secondaryArchSuffix = 2.0 compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
gexiv2$secondaryArchSuffix == $portVersion base
|
|
devel:libexiv2$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libexiv2$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:meson
|
|
cmd:ninja
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
# disable python tests
|
|
sed -e "/subdir('test')/ s/^#*/#/" -i meson.build
|
|
|
|
meson \
|
|
--buildtype=release \
|
|
--prefix=$prefix \
|
|
--libdir=$libDir \
|
|
--libexecdir=$binDir \
|
|
--datadir=$dataDir \
|
|
--includedir=$includeDir \
|
|
--sysconfdir=$settingsDir \
|
|
-Dintrospection=false \
|
|
-Dpython3=false \
|
|
-Dvapi=false \
|
|
_build
|
|
|
|
cd _build
|
|
ninja
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd _build
|
|
ninja install
|
|
|
|
prepareInstalledDevelLibs libgexiv2
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|