wok-next view libkeybinder/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents d43bf7aae921
children 342b30daff76
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libkeybinder"
4 VERSION="0.3.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for registering global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/kupferlauncher/keybinder"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/keybinder-3.0-v$VERSION/keybinder-3.0-$VERSION.tar.gz"
13 WGET_URL="https://github.com/kupferlauncher/keybinder/releases/download/v$VERSION/keybinder-$VERSION.tar.gz"
15 BUILD_DEPENDS="gtk+-dev gobject-introspection-dev xorg-libXext-dev python-dev \
16 pygtk-dev pygobject-dev automake autoconf libtool"
17 SPLIT="libkeybinder-python libkeybinder-dev"
19 compile_rules() {
20 autoreconf -vif &&
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libkeybinder)
30 copy libkeybinder.so*
31 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
32 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
33 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
34 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
35 xorg-pixman zlib"
36 ;;
37 libkeybinder-python)
38 copy @std @rm
39 CAT="x-window|python bindings"
40 DEPENDS="libkeybinder python"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="libkeybinder libkeybinder-python \
45 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
46 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
47 libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
48 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
49 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
50 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
51 ;;
52 esac
53 }