wok-next view libkeybinder/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 16df76e1fc6a
children d43bf7aae921
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -vif &&
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 libkeybinder)
31 copy libkeybinder.so*
32 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
33 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \
34 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
35 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
36 xorg-pixman zlib"
37 ;;
38 libkeybinder-python)
39 copy @std
40 remove_already_packed
41 CAT="x-window|python bindings"
42 DEPENDS="libkeybinder python"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="libkeybinder libkeybinder-python \
47 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
48 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev libffi-dev \
49 libpng16-dev libxml2-dev pango-dev pcre-dev util-linux-blkid-dev \
50 util-linux-mount-dev util-linux-uuid-dev xorg-libX11-dev \
51 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
52 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
53 ;;
54 esac
55 }