wok-next view libdesktop-agnostic/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 | 6c6c017c2e09 |
children | 757d032c55c7 |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./waf configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --config-backends=gconf \
26 --vfs-backends=gio \
27 --desktop-entry-backends=glib &&
28 ./waf &&
29 ./waf install \
30 --prefix=/usr \
31 --destdir=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 libdesktop-agnostic)
39 copy @std
40 DEPENDS="GConf atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
41 pango python"
42 ;;
43 *-dev)
44 copy @dev
45 DEPENDS="libdesktop-agnostic glib-dev gtk+-dev"
46 ;;
47 esac
48 }