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