wok-next view libdbusmenu-gtk2/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdbusmenu-gtk2"
4 VERSION="16.04.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for passing menus over DBus (GTK+2)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://launchpad.net/libdbusmenu"
11 TARBALL="libdbusmenu-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libdbusmenu/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="intltool gtk-doc gtk+-dev gtk+-dev json-glib-dev \
15 gobject-introspection-dev vala"
16 SPLIT="libdbusmenu-gtk2-apps libdbusmenu-gtk2 libdbusmenu-gtk2-dev"
17 SIBLINGS="libdbusmenu-gtk3"
19 compile_rules() {
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 --with-gtk=2 \
24 $CONFIGURE_ARGS &&
25 make &&
26 make -j1 DESTDIR=$install install # please keep DESTDIR, or it will be partial installed
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libdbusmenu-gtk2-apps)
32 copy libexec/
33 DEPENDS="libdbusmenu-gtk2 xorg-libX11"
34 CAT="development|applications"
35 ;;
36 libdbusmenu-gtk2)
37 copy @std @rm
38 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
39 json-glib pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
44 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
45 harfbuzz-dev json-glib-dev libffi-dev libpng16-dev libxml2-dev \
46 pango-dev pcre-dev util-linux-blkid-dev util-linux-mount-dev \
47 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
48 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
49 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
50 ;;
51 esac
52 }