libunique1: enable gir
This commit is contained in:
parent
2e0ebb1e56
commit
7f6e1aae70
1 changed files with 11 additions and 9 deletions
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'libunique1'
|
# Template file for 'libunique1'
|
||||||
pkgname=libunique1
|
pkgname=libunique1
|
||||||
version=1.1.6
|
version=1.1.6
|
||||||
revision=9
|
revision=10
|
||||||
wrksrc="libunique-${version}"
|
wrksrc="libunique-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --disable-dbus $(vopt_if gir gobject-introspection)"
|
build_helper="gir"
|
||||||
hostmakedepends="libtool automake pkg-config glib-devel"
|
configure_args="--disable-static --disable-dbus"
|
||||||
|
hostmakedepends="libtool automake pkgconf glib-devel"
|
||||||
makedepends="libSM-devel gtk+-devel"
|
makedepends="libSM-devel gtk+-devel"
|
||||||
short_desc="Library for writing single instance applications (GTK+2)"
|
short_desc="Library for writing single instance applications (GTK+2)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="LGPL-2.1-or-later"
|
license="LGPL-2.1-or-later"
|
||||||
homepage="http://live.gnome.org/LibUnique"
|
homepage="https://wiki.gnome.org/Attic/LibUnique"
|
||||||
distfiles="${GNOME_SITE}/libunique/1.1/libunique-$version.tar.bz2"
|
distfiles="${GNOME_SITE}/libunique/1.1/libunique-${version}.tar.bz2"
|
||||||
checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb
|
checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
||||||
|
@ -20,10 +21,11 @@ CFLAGS="-Wno-deprecated-declarations"
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
x86_64-musl) build_options_default+=" gir" ;;
|
||||||
build_options_default="gir"
|
*-musl) ;;
|
||||||
fi
|
*) build_options_default+=" gir" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# Fix build with glib 2.30.
|
# Fix build with glib 2.30.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue