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