wok-next view libdbusmenu/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | |
children | 342b30daff76 |
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 gtk+3-dev gtk+-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="libdbusmenu-gtk2 xorg-libX11"
38 CAT="development|GTK+2 applications"
39 ;;
40 libdbusmenu-gtk2)
41 copy @std @rm
42 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
43 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 atk-dev bzip2-dev cairo-dev fontconfig-dev freetype-dev \
50 gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev json-glib-dev \
51 libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
52 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
53 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
54 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
55 CAT="development|GTK+2 development files"
56 ;;
58 libdbusmenu-gtk3-apps)
59 copy libexec/ # note "gtk+" in depends
60 DEPENDS="glib gtk+ json-glib libdbusmenu-gtk3 xorg-libX11"
61 CAT="development|GTK+3 applications"
62 ;;
63 libdbusmenu-gtk3)
64 copy @std @rm
65 DEPENDS="atk cairo gdk-pixbuf glib gtk+3 json-glib pango"
66 CAT="x-window|GTK+3"
67 ;;
68 libdbusmenu-gtk3-dev)
69 copy @dev
70 DEPENDS="libdbusmenu-gtk3-apps libdbusmenu-gtk3 \
71 gdk-pixbuf-dev gtk+3-dev json-glib-dev"
72 CAT="development|GTK+3 development files"
73 ;;
74 esac
75 }