summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-01-29 22:54:17 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-01-29 22:54:17 +0000
commit57c8e716e69ec69e731e30ae0e8ed3d2fa5c0f9d (patch)
tree73b24f35603d758cc29faa4bdc76679ec96123c1 /net-irc/kvirc
parentversion bump, fixes bug #79260 (diff)
downloadhistorical-57c8e716e69ec69e731e30ae0e8ed3d2fa5c0f9d.tar.gz
historical-57c8e716e69ec69e731e30ae0e8ed3d2fa5c0f9d.tar.bz2
historical-57c8e716e69ec69e731e30ae0e8ed3d2fa5c0f9d.zip
Proper use of kde eclasses, and added patch to make sure kvirc does not install anything in /usr/kde*.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/ChangeLog11
-rw-r--r--net-irc/kvirc/Manifest17
-rw-r--r--net-irc/kvirc/files/digest-kvirc-3.0.1-r11
-rw-r--r--net-irc/kvirc/files/kvirc-3.0.1-kdedir-fix.patch37
-rw-r--r--net-irc/kvirc/kvirc-3.0.1-r1.ebuild71
5 files changed, 123 insertions, 14 deletions
diff --git a/net-irc/kvirc/ChangeLog b/net-irc/kvirc/ChangeLog
index cc92ee538c2e..9af527ad2347 100644
--- a/net-irc/kvirc/ChangeLog
+++ b/net-irc/kvirc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-irc/kvirc
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.19 2004/08/29 02:04:03 swegener Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/ChangeLog,v 1.20 2005/01/29 22:54:17 greg_g Exp $
+
+*kvirc-3.0.1-r1 (29 Jan 2005)
+
+ 29 Jan 2005; Gregorio Guidi <greg_g@gentoo.org>
+ +files/kvirc-3.0.1-kdedir-fix.patch, +kvirc-3.0.1-r1.ebuild:
+ Proper use of kde eclasses, and added patch to make sure kvirc does not
+ install anything in /usr/kde*.
29 Aug 2004; Sven Wegener <swegener@gentoo.org> -kvirc-3.0.0.ebuild,
-kvirc-3.0.0_beta2-r1.ebuild:
diff --git a/net-irc/kvirc/Manifest b/net-irc/kvirc/Manifest
index f13efb708708..411a25edb60c 100644
--- a/net-irc/kvirc/Manifest
+++ b/net-irc/kvirc/Manifest
@@ -1,14 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d27add1e6903eb38c52f70d93d71a920 ChangeLog 3878
-MD5 4fe0629bae3b60b2368b63df28f80147 kvirc-3.0.1.ebuild 1810
MD5 44c39c6ad372a8e5a5e7ee3311f703a7 metadata.xml 160
+MD5 4fe0629bae3b60b2368b63df28f80147 kvirc-3.0.1.ebuild 1810
+MD5 12760a87fd77ef29fdc3e65ce326f122 ChangeLog 4128
+MD5 32a18cb72d9b2fb27358f3560205fc0f kvirc-3.0.1-r1.ebuild 1934
+MD5 3f438009c2c1f4441adb149e10e746df files/kvirc-3.0.1-kdedir-fix.patch 1953
MD5 39628ba5cdeb5e3b6957d6a49bfd8e51 files/digest-kvirc-3.0.1 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.5 (GNU/Linux)
-
-iD8DBQFBMTmXI1lqEGTUzyQRAnU+AJ9Pe0E2cp1s1wxv0s8AtwvsxPzYaQCeOfO5
-A669F2JI3qNHF9UGKDMTz4A=
-=rGkB
------END PGP SIGNATURE-----
+MD5 39628ba5cdeb5e3b6957d6a49bfd8e51 files/digest-kvirc-3.0.1-r1 65
diff --git a/net-irc/kvirc/files/digest-kvirc-3.0.1-r1 b/net-irc/kvirc/files/digest-kvirc-3.0.1-r1
new file mode 100644
index 000000000000..9f4337ea1656
--- /dev/null
+++ b/net-irc/kvirc/files/digest-kvirc-3.0.1-r1
@@ -0,0 +1 @@
+MD5 22b402d072a84eda11e762eb413e29c6 kvirc-3.0.1.tar.bz2 2679737
diff --git a/net-irc/kvirc/files/kvirc-3.0.1-kdedir-fix.patch b/net-irc/kvirc/files/kvirc-3.0.1-kdedir-fix.patch
new file mode 100644
index 000000000000..04c1aebbb2f0
--- /dev/null
+++ b/net-irc/kvirc/files/kvirc-3.0.1-kdedir-fix.patch
@@ -0,0 +1,37 @@
+--- configure.orig 2005-01-29 23:02:56.803194656 +0100
++++ configure 2005-01-29 23:04:49.034132960 +0100
+@@ -20372,23 +20372,23 @@
+
+
+ if test -n "$SS_KDE_SERVICESDIR"; then
+- kdeservicesdir="$SS_KDE_SERVICESDIR"
++ kdeservicesdir="\${exec_prefix}/share/services"
+ else
+ kdeservicesdir="\${exec_prefix}/share/kvirc/$VERSION/protocols"
+ fi
+
+
+ if test "$SS_KDE_REQUESTED" = "yes"; then
+- iconapps16datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/16x16/apps"
+- iconapps32datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/32x32/apps"
+- iconapps48datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/48x48/apps"
+- iconapps64datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/64x64/apps"
+- iconmime16datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/16x16/mimetypes"
+- iconmime32datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/32x32/mimetypes"
+- iconmime48datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/48x48/mimetypes"
+- iconmime64datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/64x64/mimetypes"
+- applnkdir="$SS_KDE_GENERAL_DIR/share/applnk/Internet"
+- mimelnkdir="$SS_KDE_GENERAL_DIR/share/mimelnk/text"
++ iconapps16datadir="\${exec_prefix}/share/icons/hicolor/16x16/apps"
++ iconapps32datadir="\${exec_prefix}/share/icons/hicolor/32x32/apps"
++ iconapps48datadir="\${exec_prefix}/share/icons/hicolor/48x48/apps"
++ iconapps64datadir="\${exec_prefix}/share/icons/hicolor/64x64/apps"
++ iconmime16datadir="\${exec_prefix}/share/icons/hicolor/16x16/mimetypes"
++ iconmime32datadir="\${exec_prefix}/share/icons/hicolor/32x32/mimetypes"
++ iconmime48datadir="\${exec_prefix}/share/icons/hicolor/48x48/mimetypes"
++ iconmime64datadir="\${exec_prefix}/share/icons/hicolor/64x64/mimetypes"
++ applnkdir="\${exec_prefix}/share/applnk/Internet"
++ mimelnkdir="\${exec_prefix}/share/mimelnk/text"
+ else
+ iconapps16datadir="\${exec_prefix}/share/kvirc/$VERSION/icons/16x16"
+ iconapps32datadir="\${exec_prefix}/share/kvirc/$VERSION/icons/32x32"
diff --git a/net-irc/kvirc/kvirc-3.0.1-r1.ebuild b/net-irc/kvirc/kvirc-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..a4b988aea070
--- /dev/null
+++ b/net-irc/kvirc/kvirc-3.0.1-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/kvirc/kvirc-3.0.1-r1.ebuild,v 1.1 2005/01/29 22:54:17 greg_g Exp $
+
+inherit eutils kde-functions
+
+DESCRIPTION="An advanced IRC Client"
+HOMEPAGE="http://www.kvirc.net/"
+SRC_URI="ftp://ftp.kvirc.net/pub/kvirc/${PV}/source/${P}.tar.bz2 \
+ ftp://ftp.kvirc.de/pub/kvirc/${PV}/source/${P}.tar.bz2 \
+ ftp://kvirc.firenze.linux.it/pub/kvirc/${PV}/source/${P}.tar.bz2"
+
+LICENSE="kvirc"
+SLOT="3"
+KEYWORDS="~x86 ~amd64 ~ppc ~sparc"
+IUSE="debug esd ipv6 kde oss ssl"
+
+RDEPEND="esd? ( media-sound/esound )
+ ssl? ( dev-libs/openssl )
+ oss? ( media-libs/audiofile )
+ >=x11-libs/qt-3
+ kde? ( >=kde-base/kdelibs-3 )
+ sys-devel/gettext"
+
+DEPEND="${RDEPEND}
+ sys-apps/gawk
+ sys-apps/grep
+ sys-devel/libtool
+ sys-apps/sed"
+
+use debug && RESTRICT="nostrip"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-kdedir-fix.patch
+}
+
+src_compile() {
+ set-qtdir 3
+ set-kdedir 3
+
+ # use aa even when kde support is disabled; remove the splash screen
+ # to speed up the startup.
+ local myconf="--with-aa-fonts --without-splash-screen
+ --with-big-channels --with-pizza"
+
+ # For myconf, we can't do it the easy way (use_with) because the configure
+ # script will assume we're telling it not to include support.
+ myconf="${myconf}
+ `use_with debug debug-symbols`"
+ use kde || myconf="${myconf} --without-kde-support --without-arts-support"
+ use ipv6 || myconf="${myconf} --without-ipv6-support"
+ use esd || myconf="${myconf} --without-esd-support"
+ use ssl || myconf="${myconf} --without-ssl-support"
+
+ [ "$ARCH" == "x86" ] && myconf="$myconf --with-ix86-asm"
+
+ need-autoconf 2.5
+ need-automake 1.5
+
+ econf ${myconf} || die "failed to configure"
+ emake || die "failed to make"
+}
+
+src_install() {
+ emake install DESTDIR=${D} || die
+ emake docs DESTDIR=${D} || die
+ dodoc ChangeLog INSTALL README TODO
+}