diff options
author | 2003-06-19 09:55:12 +0000 | |
---|---|---|
committer | 2003-06-19 09:55:12 +0000 | |
commit | 0ca7cb837eb9e24c8dddb68f38610aa3ce885ddb (patch) | |
tree | 48967f2d8de74807a44dc6e37d4fb36e03d22757 /x11-themes/gtk-engines-smooth | |
parent | rewrite of all gtk theme engines for new eclass (diff) | |
download | gentoo-2-0ca7cb837eb9e24c8dddb68f38610aa3ce885ddb.tar.gz gentoo-2-0ca7cb837eb9e24c8dddb68f38610aa3ce885ddb.tar.bz2 gentoo-2-0ca7cb837eb9e24c8dddb68f38610aa3ce885ddb.zip |
rewrite of all gtk theme engines for new eclass
Diffstat (limited to 'x11-themes/gtk-engines-smooth')
4 files changed, 55 insertions, 1 deletions
diff --git a/x11-themes/gtk-engines-smooth/ChangeLog b/x11-themes/gtk-engines-smooth/ChangeLog new file mode 100644 index 000000000000..dc0560a45c81 --- /dev/null +++ b/x11-themes/gtk-engines-smooth/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-themes/gtk-engines-smooth +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-smooth/ChangeLog,v 1.1 2003/06/19 09:51:19 liquidx Exp $ + +*gtk-engines-smooth-0.5.2 (19 Jun 2003) + + 19 Jun 2003; Alastair Tse <liquidx@gentoo.org> + gtk-engines-smooth-0.5.2.ebuild: + porting gtk theme engine to new eclass format + diff --git a/x11-themes/gtk-engines-smooth/Manifest b/x11-themes/gtk-engines-smooth/Manifest index 47a31ac1951a..63bf18181833 100644 --- a/x11-themes/gtk-engines-smooth/Manifest +++ b/x11-themes/gtk-engines-smooth/Manifest @@ -1,2 +1,3 @@ -MD5 7afafbd6b642c6afe70420d908fdd0ad gtk-engines-smooth-0.5.2.ebuild 975 +MD5 d8071b03fc4eae51f57012d597162d8a gtk-engines-smooth-0.5.2.ebuild 1109 +MD5 75dc03999d91ff13434eb015f4933afd ChangeLog 415 MD5 c552bb1ce742d643b8f6bc7bb01a8c18 files/digest-gtk-engines-smooth-0.5.2 75 diff --git a/x11-themes/gtk-engines-smooth/files/digest-gtk-engines-smooth-0.5.2 b/x11-themes/gtk-engines-smooth/files/digest-gtk-engines-smooth-0.5.2 new file mode 100644 index 000000000000..5d485c384757 --- /dev/null +++ b/x11-themes/gtk-engines-smooth/files/digest-gtk-engines-smooth-0.5.2 @@ -0,0 +1 @@ +MD5 3cbc7421887fe0d4307949a59530ed08 gtk-smooth-engine-0.5.2.tar.gz 245439 diff --git a/x11-themes/gtk-engines-smooth/gtk-engines-smooth-0.5.2.ebuild b/x11-themes/gtk-engines-smooth/gtk-engines-smooth-0.5.2.ebuild new file mode 100644 index 000000000000..f29652798501 --- /dev/null +++ b/x11-themes/gtk-engines-smooth/gtk-engines-smooth-0.5.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-smooth/gtk-engines-smooth-0.5.2.ebuild,v 1.1 2003/06/19 09:51:20 liquidx Exp $ + +inherit gtk-engines2 + +MY_P="gtk-smooth-engine-${PV}" + +IUSE="" +DESCRIPTION="GTK+1 and GTK+2 Smooth Theme Engine" +HOMEPAGE="http://sourceforge.net/project/smooth-engine/" +SRC_URI="mirror://sourceforge/smooth-engine/${MY_P}.tar.gz" +KEYWORDS="~x86" +LICENSE="GPL-2" +SLOT="2" + +S=${WORKDIR}/${MY_P} + +src_compile() { + local myconf + + [ -n "${HAS_GTK1}" ] \ + && myconf="${myconf} --enable-gtk-1" \ + || myconf="${myconf} --disable-gtk-1" + + [ -n "${HAS_GTK2}" ] \ + && myconf="${myconf} --enable-gtk-2" \ + || myconf="${myconf} --disable-gtk-2" + + gtk-engines2_src_compile ${myconf} +} + +src_install() { + gtk-engines2_src_install + + # workaround bug for 0.5.2, apparently will be solved in next ver + if [ -n "${HAS_GTK2}" ]; then + dodir ${GTK2_ENGINES_DIR} + mv ${D}/usr/lib/gtk-2.0/engines/* ${D}${GTK2_ENGINES_DIR} + rmdir ${D}/usr/lib/gtk-2.0/engines + fi +} |