wok-next view libdesktop-agnostic/receipt @ rev 21597
updated dosbox (0.74-2 -> 0.74.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:18:09 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdesktop-agnostic"
4 VERSION="0.3.94post20160502"
5 COMMIT="be0f0cb"
6 CATEGORY="x-window"
7 SHORT_DESC="Desktop agnostic library for GLib-based projects"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://launchpad.net/libdesktop-agnostic"
12 TARBALL="libdesktop-agnostic-${COMMIT:-$VERSION}.tar.gz"
13 WGET_URL="https://github.com/p12tic/libdesktop-agnostic/archive/${COMMIT:-v$VERSION}.tar.gz"
15 BUILD_DEPENDS="python-dev vala gettext-dev intltool gtk2-dev gconf-dev \
16 gobject-introspection-dev python-pygobject2-dev python-pygtk-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 # site script isn't used
21 ./waf configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --config-backends=gconf \
25 --vfs-backends=gio \
26 --desktop-entry-backends=glib &&
27 ./waf &&
28 ./waf install \
29 --prefix=/usr \
30 --destdir=$install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libdesktop-agnostic)
36 copy @std
37 DEPENDS="gconf atk libcairo fontconfig freetype gdk-pixbuf glib gtk2 \
38 pango python"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libdesktop-agnostic glib-dev gtk2-dev"
43 ;;
44 esac
45 }