wok-next diff libgnome/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 | 04d511d5c6bd |
children | b19ddba309f9 |
line diff
1.1 --- a/libgnome/receipt Fri Feb 13 12:09:42 2015 +0100 1.2 +++ b/libgnome/receipt Tue Dec 05 17:49:11 2017 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libgnome" 1.8 VERSION="2.30.0" 1.9 @@ -6,43 +6,44 @@ 1.10 SHORT_DESC="GNOME Library" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://www.gnome.org" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://www.gnome.org" 1.17 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.18 -GENERIC_PIXMAPS="no" 1.19 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.20 1.21 -DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \ 1.22 -openssl" 1.23 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \ 1.24 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev" 1.25 +SPLIT="libgnome-dev" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 +compile_rules() { 1.31 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile* 1.32 + 1.33 ./configure \ 1.34 --sysconfdir=/etc/gnome \ 1.35 --localstatedir=/var/lib \ 1.36 $CONFIGURE_ARGS && 1.37 - make && make install 1.38 + make && make install || return 1 1.39 + 1.40 + mkdir -p $install/usr/share/images 1.41 + ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ 1.42 + $install/usr/share/images/gnome-default.jpg 1.43 } 1.44 1.45 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/usr/lib $fs/usr/share 1.49 - cp -a $install/etc $fs 1.50 - cp -a $install/usr/bin $fs/usr 1.51 - cp -a $install/usr/lib/bonobo $fs/usr/lib 1.52 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.53 - 1.54 - # Background 1.55 - cp -a $install/usr/share/gnome-background-* $fs/usr/share 1.56 - cp -a $install/usr/share/pixmaps $fs/usr/share 1.57 - mkdir -p $fs/usr/share/images && cd $fs/usr/share/images 1.58 - ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ 1.59 - gnome-default.jpg 1.60 - 1.61 - # Clean unwated files 1.62 - cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; 1.63 +genpkg_rules() { 1.64 + case $PACKAGE in 1.65 + libgnome) 1.66 + copy @std 1.67 + DEPENDS="GConf alsa-lib audiofile dbus dbus-glib esound glib \ 1.68 + gnome-vfs libbonobo libffi liblzma libxml2 orbit2 pcre popt \ 1.69 + util-linux-blkid util-linux-mount util-linux-uuid zlib" 1.70 + ;; 1.71 + *-dev) 1.72 + copy @dev 1.73 + DEPENDS="libgnome GConf-dev alsa-lib-dev audiofile-dev dbus-dev \ 1.74 + dbus-glib-dev esound-dev glib-dev gnome-vfs-dev libbonobo-dev \ 1.75 + libffi-dev libxml2-dev orbit2-dev pcre-dev popt-dev \ 1.76 + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ 1.77 + xz-dev zlib-dev" 1.78 + ;; 1.79 + esac 1.80 }