From c75ca30f6fd7f8c2feb531a290ebc843a663ca6c Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sat, 2 Dec 2006 08:12:15 +0000 Subject: [PATCH] Version bump; remove old version and unused files. Package-Manager: portage-2.1.1-r2 --- net-p2p/gtk-gnutella/ChangeLog | 9 ++- .../files/digest-gtk-gnutella-0.96.3 | 3 + .../gtk-gnutella/gtk-gnutella-0.96.3.ebuild | 70 +++++++++++++++++++ 3 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.96.3 create mode 100644 net-p2p/gtk-gnutella/gtk-gnutella-0.96.3.ebuild diff --git a/net-p2p/gtk-gnutella/ChangeLog b/net-p2p/gtk-gnutella/ChangeLog index d68079700e48..ada7dcc9f5f6 100644 --- a/net-p2p/gtk-gnutella/ChangeLog +++ b/net-p2p/gtk-gnutella/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-p2p/gtk-gnutella # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.66 2006/06/29 13:26:22 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/ChangeLog,v 1.67 2006/12/02 08:12:14 graaff Exp $ + +*gtk-gnutella-0.96.3 (02 Dec 2006) + + 02 Dec 2006; Hans de Graaff + -files/gtk-gnutella.desktop, -gtk-gnutella-0.95.4-r1.ebuild, + +gtk-gnutella-0.96.3.ebuild: + Version bump, fixes #152674. Remove old version and unused files. 29 Jun 2006; Chris Gianelloni gtk-gnutella-0.96.1.ebuild: diff --git a/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.96.3 b/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.96.3 new file mode 100644 index 000000000000..660587370eb8 --- /dev/null +++ b/net-p2p/gtk-gnutella/files/digest-gtk-gnutella-0.96.3 @@ -0,0 +1,3 @@ +MD5 c6952037a10ea6d5ac5649e7b75f9d15 gtk-gnutella-0.96.3.tar.bz2 2845172 +RMD160 fd5f04d22349a584e9b26cefbbbef41a2dbef7b2 gtk-gnutella-0.96.3.tar.bz2 2845172 +SHA256 6079661ffeb78ae480cf37cf9954d0c437d415363aa4133268b732700b52be80 gtk-gnutella-0.96.3.tar.bz2 2845172 diff --git a/net-p2p/gtk-gnutella/gtk-gnutella-0.96.3.ebuild b/net-p2p/gtk-gnutella/gtk-gnutella-0.96.3.ebuild new file mode 100644 index 000000000000..160259897aa6 --- /dev/null +++ b/net-p2p/gtk-gnutella/gtk-gnutella-0.96.3.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.96.3.ebuild,v 1.1 2006/12/02 08:12:14 graaff Exp $ + +inherit eutils + +#TODO: headless mode (but not very well tested yet, may still be too hardcore) +IUSE="nls dbus gnutls sqlite3" + +DESCRIPTION="A GTK+ Gnutella client" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +RESTRICT="nomirror" +HOMEPAGE="http://gtk-gnutella.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +DEPEND="dev-libs/libxml2 + >=x11-libs/gtk+-2.0.0 + dbus? ( sys-apps/dbus ) + gnutls? ( net-libs/gnutls ) + sqlite3? ( >=dev-db/sqlite-3.3.0 ) + nls? ( >=sys-devel/gettext-0.11.5 )" + +src_compile() { + local myconf + + if use nls; then + myconf="${myconf} -Dd_enablenls -Dgmsgfmt=\"/usr/bin/msgfmt\" -Dmsgfmt=\"/usr/bin/msgfmt\"" + else + myconf="${myconf} -Ud_enablenls" + fi + + if use dbus; then + myconf="${myconf} -Ddbus=true" + else + myconf="${myconf} -Ddbus=false" + fi + + if ! use gnutls; then + myconf="${myconf} -U d_gnutls" + fi + + if ! use sqlite3; then + myconf="${myconf} -U d_sqlite" + fi + + # yacc is not a dependency because the distribution includes the + # generated files. The define below is to make Configure shut up + # about yacc at all. + ./Configure -d -s -e \ + -Dprefix="/usr" \ + -Dprivlib="/usr/share/gtk-gnutella" \ + -Dccflags="${CFLAGS}" \ + -Dgtkversion=2 \ + ${myconf} \ + -Doptimize=" " \ + -D yacc="yacc" \ + -Dofficial="true" || die "Configure failed" + + emake || die "Compile failed" +} + +src_install() { + dodir /usr/bin + make INSTALL_PREFIX=${D} install || die "Install failed" + find ${D}/usr/share -type f -exec chmod a-x {} \; + dodoc AUTHORS ChangeLog README TODO +} -- 2.26.2