1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
40 lines
1 KiB
Bash
40 lines
1 KiB
Bash
# Template file for 'gupnp-av'
|
|
pkgname=gupnp-av
|
|
version=0.12.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gupnp-devel"
|
|
short_desc="Library to ease handling and implementation of UPnP A/V profiles"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://gupnp.org/"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=35e775bc4f7801d65dcb710905a6b8420ce751a239b5651e6d830615dc906ea8
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
configure_args+=" --enable-introspection"
|
|
makedepends+=" gobject-introspection vala-devel"
|
|
else
|
|
configure_args+=" --disable-introspection"
|
|
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"
|
|
}
|
|
}
|