Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=a366ce8364fe0ca5f62ba7d3c8062eb533b0a92b
commit a366ce8364fe0ca5f62ba7d3c8062eb533b0a92b Author: bouleetbil <[email protected]> Date: Thu Sep 22 10:36:25 2011 +0200 gnome-shell-3.1.92-2-x86_64 *disable our gnome-theme diff --git a/source/gnome/gnome-shell/FrugalBuild b/source/gnome/gnome-shell/FrugalBuild index c9b95ed..2c0c004 100644 --- a/source/gnome/gnome-shell/FrugalBuild +++ b/source/gnome/gnome-shell/FrugalBuild @@ -1,9 +1,11 @@ # Compiling time: 0.66 SBU # Maintainer: bouleetbil <[email protected]> +USE_FRUGALTHEME=${USE_FRUGALTHEME:-"n"} + pkgname=gnome-shell pkgver=3.1.92 -pkgrel=1 +pkgrel=2 pkgdesc="Window management and application launching for GNOME" url="http://www.gnome.org/" depends=('libxml2>=2.7.8' 'mutter>=3.1.92' 'gnome-desktop>=3.1.90' 'gjs>=1.29.17' \ @@ -13,7 +15,14 @@ depends=('libxml2>=2.7.8' 'mutter>=3.1.92' 'gnome-desktop>=3.1.90' 'gjs>=1.29.17 'telepathy-logger>=0.2.8' 'folks' 'json-glib>=0.13.90') makedepends=('intltool' 'gnome-doc-utils' 'gnome-common' \ 'gobject-introspection' 'krb5') -rodepends=('gnome-shell-frugalware-theme' 'gnome-contacts' 'gnome-documents') +rodepends=('gnome-contacts' 'gnome-documents') +replaces=('byzanz') +if Fuse $USE_FRUGALTHEME; then + rodepends=("${rodepends[@]}" "gnome-shell-frugalware-theme") +else + replaces=("${replaces[@]}" "gnome-shell-frugalware-theme") + provides=("${provides[@]}" "gnome-shell-frugalware-theme") +fi #remove gnome-contacts gnome-documents depend after 1.6 groups=('gnome') archs=('i686' 'x86_64' 'ppc') @@ -23,7 +32,6 @@ _F_gnome_glib="y" _F_gnome_git="n" Finclude gnome gnome-scriptlet export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/xulrunner/ -replaces=('byzanz') sha1sums=('62c5f0ba6c1b335933134afb3bfe63cded68fe1d') if [ "$_F_gnome_git" != "n" ]; then unset sha1sums @@ -42,9 +50,11 @@ build() { Fmake --disable-static --enable-compile-warnings=maximum --disable-schemas-compile Fmakeinstall Fbuild_gnome_scriptlet - #we use our gnome-shell theme - Fmv usr/share/gnome-shell/theme usr/share/gnome-shell/theme-gnome - Fln /usr/share/gnome-shell/frugalware-theme/theme /usr/share/gnome-shell/theme + if Fuse $USE_FRUGALTHEME; then + #we use our gnome-shell theme + Fmv usr/share/gnome-shell/theme usr/share/gnome-shell/theme-gnome + Fln /usr/share/gnome-shell/frugalware-theme/theme /usr/share/gnome-shell/theme + fi } # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
