libgnomekbd: tweak and deps and remove unnecessary LDFLAGS for cross.
This commit is contained in:
parent
4bb30370dd
commit
69ece5fd69
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libgnomekbd'
|
# Template file for 'libgnomekbd'
|
||||||
pkgname=libgnomekbd
|
pkgname=libgnomekbd
|
||||||
version=3.6.0
|
version=3.6.0
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection) glib-devel"
|
hostmakedepends="pkg-config intltool $(vopt_if gir gobject-introspection) glib-devel"
|
||||||
|
@ -14,15 +14,14 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
|
||||||
checksum=c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09
|
checksum=c41ea5b0f64da470925ba09f9f1b46b26b82d4e433e594b2c71eab3da8856a09
|
||||||
|
|
||||||
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default+=" gir"
|
build_options_default+=" gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
libgnomekbd-devel_package() {
|
libgnomekbd-devel_package() {
|
||||||
depends="libxml2-devel gtk+3-devel>=3.6.0_2 libxklavier-devel ${sourcepkg}>=${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue