parent
fa53c3421a
commit
ba2f745374
1 changed files with 11 additions and 6 deletions
|
@ -1,21 +1,24 @@
|
||||||
# Template file for 'libgexiv2'
|
# Template file for 'libgexiv2'
|
||||||
pkgname=libgexiv2
|
pkgname=libgexiv2
|
||||||
version=0.10.6
|
version=0.10.7
|
||||||
revision=3
|
revision=1
|
||||||
wrksrc="${pkgname/lib/}-${version}"
|
wrksrc="${pkgname/lib/}-${version}"
|
||||||
build_style=gnu-configure
|
build_style=meson
|
||||||
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
|
configure_args="-Ddisable-introspection=$(vopt_if gir false true)
|
||||||
|
-Denable-gtk-doc=true"
|
||||||
|
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection) glib-devel gtk-doc"
|
||||||
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>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://wiki.gnome.org/Projects/gexiv2"
|
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=8bbd6dce0d558ac572385d8d726c4ba5caba1da411977806ade7f0e7bf08e3b8
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
|
hostmakedepends+=" vala"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
libgexiv2-devel_package() {
|
libgexiv2-devel_package() {
|
||||||
|
@ -26,7 +29,9 @@ libgexiv2-devel_package() {
|
||||||
vmove usr/lib/*.so
|
vmove usr/lib/*.so
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/share/gtk-doc
|
vmove usr/share/gtk-doc
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
vmove usr/share/vala
|
vmove usr/share/vala
|
||||||
|
fi
|
||||||
if [ "$build_option_gir" ]; then
|
if [ "$build_option_gir" ]; then
|
||||||
vmove "usr/share/gir-*"
|
vmove "usr/share/gir-*"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue