wok-next view libdbusmenu/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 342b30daff76 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdbusmenu"
4 VERSION="16.04.0"
5 CATEGORY="meta"
6 SHORT_DESC="Library for passing menus over DBus"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://launchpad.net/libdbusmenu"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libdbusmenu/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="intltool gtk-doc gtk3-dev gtk2-dev json-glib-dev vala \
15 gobject-introspection-dev"
16 SPLIT="libdbusmenu-gtk2-apps libdbusmenu-gtk2 libdbusmenu-gtk2-dev \
17 libdbusmenu-gtk3-apps:3 libdbusmenu-gtk3:3 libdbusmenu-gtk3-dev:3"
19 compile_rules() {
20 case $SET in
21 '') SET_ARGS='--with-gtk=2';;
22 3) SET_ARGS='--with-gtk=3';;
23 esac
25 ./configure \
26 $SET_ARGS \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make -j1 DESTDIR=$install install # please keep DESTDIR, or it will be partial installed
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libdbusmenu-gtk2-apps)
36 copy libexec/
37 DEPENDS="glib gtk2 json-glib libdbusmenu-gtk2 xorg-libX11"
38 CAT="development|GTK+2 applications"
39 ;;
40 libdbusmenu-gtk2)
41 copy @std @rm
42 DEPENDS="atk gdk-pixbuf glib gtk2 json-glib pango"
43 CAT="x-window|GTK+2"
44 ;;
45 libdbusmenu-gtk2-dev)
46 copy @dev
47 DEPENDS="libdbusmenu-gtk2-apps libdbusmenu-gtk2 \
48 gdk-pixbuf-dev gtk2-dev json-glib-dev"
49 CAT="development|GTK+2 development files"
50 ;;
52 libdbusmenu-gtk3-apps)
53 copy libexec/ # note "gtk2" in depends
54 DEPENDS="glib gtk2 json-glib libdbusmenu-gtk3 xorg-libX11"
55 CAT="development|GTK+3 applications"
56 ;;
57 libdbusmenu-gtk3)
58 copy @std @rm
59 DEPENDS="atk gdk-pixbuf glib gtk3 json-glib pango"
60 CAT="x-window|GTK+3"
61 ;;
62 libdbusmenu-gtk3-dev)
63 copy @dev
64 DEPENDS="libdbusmenu-gtk3-apps libdbusmenu-gtk3 \
65 gdk-pixbuf-dev gtk3-dev json-glib-dev"
66 CAT="development|GTK+3 development files"
67 ;;
68 esac
69 }