mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-24 14:32:56 +02:00
libgexiv2: enable introspection (native builds)
Required by variety.
This commit is contained in:
parent
0187cb2418
commit
c2fd4ece0a
1 changed files with 12 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Template file for 'libgexiv2'
|
# Template file for 'libgexiv2'
|
||||||
pkgname=libgexiv2
|
pkgname=libgexiv2
|
||||||
version=0.10.6
|
version=0.10.6
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname/lib/}-${version}"
|
wrksrc="${pkgname/lib/}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="libtool pkg-config"
|
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
|
||||||
makedepends="libglib-devel exiv2-devel"
|
makedepends="libglib-devel exiv2-devel"
|
||||||
short_desc="GObject-based wrapper around the Exiv2 library"
|
short_desc="GObject-based wrapper around the Exiv2 library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -13,6 +13,11 @@ homepage="https://wiki.gnome.org/Projects/gexiv2"
|
||||||
distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
|
||||||
checksum=132788919667254b42c026ab39ab3c3a5be59be8575c05fa4b371ca8aed55825
|
checksum=132788919667254b42c026ab39ab3c3a5be59be8575c05fa4b371ca8aed55825
|
||||||
|
|
||||||
|
build_options="gir"
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="gir"
|
||||||
|
fi
|
||||||
|
|
||||||
libgexiv2-devel_package() {
|
libgexiv2-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -20,5 +25,10 @@ libgexiv2-devel_package() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.so
|
vmove usr/lib/*.so
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/share/gtk-doc
|
||||||
|
vmove usr/share/vala
|
||||||
|
if [ "$build_option_gir" ]; then
|
||||||
|
vmove "usr/share/gir-*"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue