diff --git a/common/shlibs b/common/shlibs index 7d59b52c9f..b8997f4e49 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2106,3 +2106,4 @@ libplatform.so.1.0 platform-1.0.10_1 libfacter.so.3.0.2 facter-3.0.2_1 libOIS-1.3.0.so ois-1.3_1 libSILLY.so.1 silly-0.1.0_1 +libkeybinder-3.0.so.0 libkeybinder3-0.3.0_1 diff --git a/srcpkgs/libkeybinder3-devel b/srcpkgs/libkeybinder3-devel new file mode 120000 index 0000000000..88fb1b3550 --- /dev/null +++ b/srcpkgs/libkeybinder3-devel @@ -0,0 +1 @@ +libkeybinder3 \ No newline at end of file diff --git a/srcpkgs/libkeybinder3/template b/srcpkgs/libkeybinder3/template new file mode 100644 index 0000000000..f2075c1eef --- /dev/null +++ b/srcpkgs/libkeybinder3/template @@ -0,0 +1,37 @@ +# Template file for 'libkeybinder3' +pkgname=libkeybinder3 +version=0.3.0 +revision=1 +build_style=gnu-configure +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="gnome-common gtk-doc libtool pkg-config $(vopt_if gir gobject-introspection)" +makedepends="gtk+3-devel" +short_desc="Library for registering global keyboard shortcuts (GTK+3)" +maintainer="Steve Prybylski " +license="MIT" +homepage="https://github.com/engla/keybinder" +distfiles="${homepage}/archive/keybinder-3.0-v${version}.tar.gz" +checksum="658d337ca312975dbb0f648c173d1d186b3fc3eb69c3ba4a117434d9932112ee" +wrksrc="keybinder-keybinder-3.0-v${version}" + +build_options="gir" +if [ -z "$CROSS_BUILD" ]; then + build_options_default+="gir" +fi + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} + +libkeybinder3-devel_package() { + short_desc+=" - developement files" + depends="${sourcepkg}>=${version}_${revision}" + 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 + } +}