wok-next view libdbusmenu/receipt @ rev 21154

updated firefox-official (59.0.3 -> 65.0)
author Hans-G?nter Theisgen
date Fri Feb 01 15:39:07 2019 +0100 (2019-02-01)
parents d5aab818505e
children
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="\
17 $PACKAGE-gtk2-apps $PACKAGE-gtk2 $PACKAGE-gtk2-dev \
18 $PACKAGE-gtk3-apps:3 $PACKAGE-gtk3:3 $PACKAGE-gtk3-dev:3"
20 compile_rules() {
21 case $SET in
22 '') SET_ARGS='--with-gtk=2';;
23 3) SET_ARGS='--with-gtk=3';;
24 esac
26 ./configure \
27 $SET_ARGS \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make -j1 DESTDIR=$install install # please keep DESTDIR, or it will be partial installed
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libdbusmenu-gtk2-apps)
37 copy libexec/
38 DEPENDS="glib gtk2 json-glib libdbusmenu-gtk2 libx11"
39 CAT="development|GTK+2 applications"
40 ;;
41 libdbusmenu-gtk2)
42 copy @std @rm
43 DEPENDS="atk gdk-pixbuf glib gtk2 json-glib pango"
44 CAT="x-window|GTK+2"
45 ;;
46 libdbusmenu-gtk2-dev)
47 copy @dev
48 DEPENDS="libdbusmenu-gtk2-apps libdbusmenu-gtk2 \
49 gdk-pixbuf-dev gtk2-dev json-glib-dev"
50 CAT="development|GTK+2 development files"
51 ;;
53 libdbusmenu-gtk3-apps)
54 copy libexec/ # note "gtk2" in depends
55 DEPENDS="glib gtk2 json-glib libdbusmenu-gtk3 libx11"
56 CAT="development|GTK+3 applications"
57 ;;
58 libdbusmenu-gtk3)
59 copy @std @rm
60 DEPENDS="atk gdk-pixbuf glib gtk3 json-glib pango"
61 CAT="x-window|GTK+3"
62 ;;
63 libdbusmenu-gtk3-dev)
64 copy @dev
65 DEPENDS="libdbusmenu-gtk3-apps libdbusmenu-gtk3 \
66 gdk-pixbuf-dev gtk3-dev json-glib-dev"
67 CAT="development|GTK+3 development files"
68 ;;
69 esac
70 }