wok-next view libdesktop-agnostic/receipt @ rev 20870

bleachbit: up (2.0); fbxkb and foobillardplus: fix build; add jdupes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 02 15:13:13 2018 +0300 (2018-07-02)
parents 57422350b15e
children de355b69ea82
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdesktop-agnostic"
4 VERSION="0.3.94.12" # latest release 0.3.94 plus 12 commits ahead (13/11/26 -> 16/05/02)
5 COMMIT="be0f0cb"
6 CATEGORY="x-window"
7 SHORT_DESC="Desktop agnostic library for GLib-based projects"
8 MAINTAINER="pankso@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 intltool gtk+-dev GConf-dev \
16 gobject-introspection-dev pygobject-dev pygtk-dev"
17 SPLIT="libdesktop-agnostic-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=$DESTDIR
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libdesktop-agnostic)
36 copy @std
37 DEPENDS="GConf atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
38 pango python"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libdesktop-agnostic glib-dev gtk+-dev"
43 ;;
44 esac
45 }