wok-next diff 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 diff
1.1 --- a/libdesktop-agnostic/receipt Tue Jun 11 22:57:55 2013 +0200 1.2 +++ b/libdesktop-agnostic/receipt Tue Dec 05 17:49:11 2017 +0200 1.3 @@ -1,25 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libdesktop-agnostic" 1.8 -VERSION="0.3.90" 1.9 +VERSION="0.3.94.12" # latest release 0.3.94 plus 12 commits ahead (13/11/26 -> 16/05/02) 1.10 +COMMIT="be0f0cb" 1.11 CATEGORY="x-window" 1.12 -SHORT_DESC="Config API, a unified vfs API, and a desktop item editor for GLib." 1.13 +SHORT_DESC="Desktop agnostic library for GLib-based projects" 1.14 MAINTAINER="pankso@slitaz.org" 1.15 LICENSE="LGPL2.1" 1.16 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WEB_SITE="https://launchpad.net/libdesktop-agnostic" 1.18 -WGET_URL="https://launchpad.net/libdesktop-agnostic/0.4/$VERSION/+download/$TARBALL" 1.19 1.20 -DEPENDS="glib gobject-introspection" 1.21 -BUILD_DEPENDS="$DEPENDS python python-dev pygtk-dev glib-dev vala \ 1.22 -gobject-introspection-dev pygobject-dev GConf-dev wget" 1.23 +TARBALL="libdesktop-agnostic-${COMMIT:-$VERSION}.tar.gz" 1.24 +WGET_URL="https://github.com/p12tic/libdesktop-agnostic/archive/${COMMIT:-v$VERSION}.tar.gz" 1.25 + 1.26 +BUILD_DEPENDS="python-dev vala gettext intltool gtk+-dev GConf-dev \ 1.27 +gobject-introspection-dev pygobject-dev pygtk-dev" 1.28 +SPLIT="libdesktop-agnostic-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - cd $src 1.34 - # Skip *.gir files... 1.35 - sed -i 's/.*gir = .*/#&/' libdesktop-agnostic/wscript 1.36 ./waf configure \ 1.37 --prefix=/usr \ 1.38 --sysconfdir=/etc \ 1.39 @@ -35,9 +34,15 @@ 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr 1.44 - cp -a $install/etc $fs 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - cp -a $install/usr/lib $fs/usr 1.47 + case $PACKAGE in 1.48 + libdesktop-agnostic) 1.49 + copy @std 1.50 + DEPENDS="GConf atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \ 1.51 + pango python" 1.52 + ;; 1.53 + *-dev) 1.54 + copy @dev 1.55 + DEPENDS="libdesktop-agnostic glib-dev gtk+-dev" 1.56 + ;; 1.57 + esac 1.58 } 1.59 -