diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2003-01-14 07:07:15 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2003-01-14 07:07:15 +0000 |
commit | c77489c04ca90dce1f72f6a4aa0fc98fa8d8875b (patch) | |
tree | 43bf1036cdcae890f0dc85fec48c7d995a6cd712 /eclass/gtk-engines.eclass | |
parent | new version and patches (diff) | |
download | gentoo-2-c77489c04ca90dce1f72f6a4aa0fc98fa8d8875b.tar.gz gentoo-2-c77489c04ca90dce1f72f6a4aa0fc98fa8d8875b.tar.bz2 gentoo-2-c77489c04ca90dce1f72f6a4aa0fc98fa8d8875b.zip |
support for patches
Diffstat (limited to 'eclass/gtk-engines.eclass')
-rw-r--r-- | eclass/gtk-engines.eclass | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/eclass/gtk-engines.eclass b/eclass/gtk-engines.eclass index 10e113fbbda1..5857cd2e40fc 100644 --- a/eclass/gtk-engines.eclass +++ b/eclass/gtk-engines.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines.eclass,v 1.16 2003/01/14 05:39:07 leonardop Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines.eclass,v 1.17 2003/01/14 07:07:15 leonardop Exp $ # The gtk-engines eclass is inherited by all gtk-engines-* ebuilds. # @@ -150,7 +150,10 @@ fi gtk-engines_src_unpack() { unpack ${A} - + + [ -f "${FILESDIR}/${P}-gentoo.diff" ] && \ + patch -p0 < ${FILESDIR}/${P}-gentoo.diff + MY_DIR=`ls -t ${WORKDIR} | head -n 1` mv $MY_DIR $S @@ -178,13 +181,6 @@ gtk-engines_src_install() { -e '7,8d' \ fonts/Makefile.orig > fonts/Makefile || die rm fonts/Makefile.orig - - elif [ "X${ENGINE}" = "Xgeramik" ] - then - mv theme/gtk-2.0/gtkrc-2.0 theme/gtk-2.0/gtkrc-2.0.old - sed -e '9,10d' \ - theme/gtk-2.0/gtkrc-2.0.old > theme/gtk-2.0/gtkrc-2.0 - rm theme/gtk-2.0/gtkrc-2.0.old fi einstall \ |