diff options
author | Luis Medinas <metalgod@gentoo.org> | 2006-11-15 01:33:15 +0000 |
---|---|---|
committer | Luis Medinas <metalgod@gentoo.org> | 2006-11-15 01:33:15 +0000 |
commit | a6e8624237508d496fa0fc47829f2b3888d2b3a7 (patch) | |
tree | 783feb370657c34179ebb55ca41933fb311b16c2 /x11-themes/metacity-themes/metacity-themes-1.1.ebuild | |
parent | New SELinux policy from SVN snapshot (diff) | |
download | gentoo-2-a6e8624237508d496fa0fc47829f2b3888d2b3a7.tar.gz gentoo-2-a6e8624237508d496fa0fc47829f2b3888d2b3a7.tar.bz2 gentoo-2-a6e8624237508d496fa0fc47829f2b3888d2b3a7.zip |
Version Bump. Added five new modern themes.
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'x11-themes/metacity-themes/metacity-themes-1.1.ebuild')
-rw-r--r-- | x11-themes/metacity-themes/metacity-themes-1.1.ebuild | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/x11-themes/metacity-themes/metacity-themes-1.1.ebuild b/x11-themes/metacity-themes/metacity-themes-1.1.ebuild new file mode 100644 index 000000000000..1d787ab905b8 --- /dev/null +++ b/x11-themes/metacity-themes/metacity-themes-1.1.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/metacity-themes/metacity-themes-1.1.ebuild,v 1.1 2006/11/15 01:33:14 metalgod Exp $ + +inherit eutils + +DESCRIPTION="Some nice themes for MetaCity" +S=${WORKDIR} +THEME_URI="http://ftp.gnome.org/pub/GNOME/teams/art.gnome.org/themes/metacity/" +SRC_URI="${THEME_URI}CityBox-0.10.tar.gz + ${THEME_URI}MCity-Adept.tar.gz + ${THEME_URI}MCity-AEonMarbles-1.1.tar.bz2 + ${THEME_URI}MCity-Amadeus-1.0.tar.gz + ${THEME_URI}MCity-Amber.tar.gz + ${THEME_URI}MCity-BeautifulAndFree-0.1.tar.gz + ${THEME_URI}MCity-Bee.tar.gz + ${THEME_URI}MCity-Carved-1.0.tar.gz + ${THEME_URI}MCity-Cazador.tar.gz + ${THEME_URI}MCity-ClearboxLookBis.tar.gz + ${THEME_URI}MCity-Clearlooks2Squared.tar.bz2 + ${THEME_URI}MCity-Derivative_1.0.tar.gz + ${THEME_URI}MCity-Drake.tar.gz + ${THEME_URI}MCity-Gilouche.tar.gz + ${THEME_URI}MCity-icE.tar.gz + ${THEME_URI}MCity-Immortal.tar.gz + ${THEME_URI}MCity-Iris.tar.gz + ${THEME_URI}MCity-Keramik-SCO-Blue-0.1.tar.gz + ${THEME_URI}MCity-McBlue-1.0.tar.gz + ${THEME_URI}MCity-McEazel-Blue.tar.gz + ${THEME_URI}MCity-MetaMile-Marker-0.2.tar.gz + ${THEME_URI}MCity-Outline.tar.gz + ${THEME_URI}MCity-Posh.tar.gz + ${THEME_URI}MCity-PrettyMeta-Thin-0.1.tar.gz + ${THEME_URI}MCity-Quiet-Purple.tar.gz + ${THEME_URI}MCity-ShinyTango.tar.gz + ${THEME_URI}MCity-TangoDance.tar.bz2 + ${THEME_URI}MCity-TigertCrack-1.2.1.tar.gz + ${THEME_URI}MCity-Ugly-0.2.tar.bz2 + ${THEME_URI}MCity-Urbicande-1.0.tar.bz2 + ${THEME_URI}SmallPill-Citrus-0.2.tar.gz" + + +HOMEPAGE="http://art.gnome.org/theme_list.php?category=metacity" + +RDEPEND="x11-wm/metacity" + +SLOT="1" +LICENSE="as-is" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +src_unpack() { + return 0 +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + dodir /usr/share/themes + cd ${D}/usr/share/themes + + unpack ${A} + + find . -exec touch "{}" \; + + for dir in * + do + # Fix directory names that contain spaces + if echo "${dir}" | egrep -q "[[:space:]]" + then + new_dir=`echo "${dir}" | sed -e 's: :_:g'` + mv "${dir}" $new_dir + dir=$new_dir + fi + + if [ ! -d ${dir}/metacity-1 ] + then + mkdir tmp + mv ${dir}/* tmp + mv tmp ${dir}/metacity-1 + fi + done + + # This patch corrects some XML files that are considered incomplete by + # Metacity + epatch ${FILESDIR}/${PN}-1.0-gentoo.diff + + chmod -R ugo=rX * + + # Remove all of the .xvpics directories, see bug #97368 + find . -type d -iname ".xvpics" | xargs rm -rf + +} |