33 lines
991 B
Bash
33 lines
991 B
Bash
# Template file for 'gupnp-av'
|
|
pkgname=gupnp-av
|
|
version=0.12.11
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gupnp-devel $(vopt_if gir 'gobject-introspection vala-devel')"
|
|
short_desc="Library to ease handling and implementation of UPnP A/V profiles"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://gupnp.org/"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=689dcf1492ab8991daea291365a32548a77d1a2294d85b33622b55cca9ce6fdc
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
gupnp-av-devel_package() {
|
|
depends="gupnp-devel>=0.20.1_2 ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|