libkeybinder2: drop package
GTK2 only libraries, nothing else depends on it.
This commit is contained in:
parent
d63fcbba5a
commit
8c6622f3f8
1 changed files with 0 additions and 48 deletions
|
@ -1,48 +0,0 @@
|
|||
# Template file for 'libkeybinder2'
|
||||
pkgname=libkeybinder2
|
||||
version=0.3.1
|
||||
revision=3
|
||||
wrksrc="keybinder-${version}"
|
||||
build_style=gnu-configure
|
||||
build_helper="gir"
|
||||
configure_args="$(vopt_enable gir introspection)"
|
||||
hostmakedepends="automake libtool pkg-config intltool gnome-common gtk-doc pygtk-devel"
|
||||
makedepends="pygtk-devel $(vopt_if gir gobject-introspection)"
|
||||
short_desc="Library for registering global keyboard shortcuts (GTK+2)"
|
||||
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
|
||||
homepage="https://github.com/engla/keybinder"
|
||||
license="GPL-2.0-only"
|
||||
distfiles="https://github.com/engla/keybinder/archive/v${version}.tar.gz"
|
||||
checksum=6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa
|
||||
|
||||
build_options="gir"
|
||||
build_options_default="gir"
|
||||
|
||||
do_configure() {
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i "s,\(PYTHON_INCLUDES\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
|
||||
fi
|
||||
PYTHON=python2 ./configure ${configure_args}
|
||||
}
|
||||
|
||||
libkeybinder2-devel_package() {
|
||||
depends="pygtk-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
python-keybinder2_package() {
|
||||
depends="pygtk"
|
||||
short_desc+=" - Python bindings"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python2.7
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue