diff options
author | 2003-02-07 20:47:56 +0000 | |
---|---|---|
committer | 2003-02-07 20:47:56 +0000 | |
commit | 7a8ee0ddfbba4574a4575e88019a2f42fe7afd85 (patch) | |
tree | dfaa12224e67a3068ff553bf35800dcfad29e24e /net-im/licq | |
parent | Added hppa to keywords. (diff) | |
download | gentoo-2-7a8ee0ddfbba4574a4575e88019a2f42fe7afd85.tar.gz gentoo-2-7a8ee0ddfbba4574a4575e88019a2f42fe7afd85.tar.bz2 gentoo-2-7a8ee0ddfbba4574a4575e88019a2f42fe7afd85.zip |
plugin correction
Diffstat (limited to 'net-im/licq')
-rw-r--r-- | net-im/licq/ChangeLog | 16 | ||||
-rw-r--r-- | net-im/licq/licq-1.2.4-r2.ebuild | 28 |
2 files changed, 34 insertions, 10 deletions
diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog index 66c3713b250e..7fa7bdc5edf7 100644 --- a/net-im/licq/ChangeLog +++ b/net-im/licq/ChangeLog @@ -1,9 +1,18 @@ # ChangeLog for net-im/licq # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.17 2003/02/07 15:13:59 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.18 2003/02/07 20:47:56 seemant Exp $ *licq-1.2.4-r2 (07 Feb 2003) + 07 Feb 2003; Seemant Kulleen <seemant@gentoo.org> licq-1.2.4-r2.ebuild : + + Some sed magic to detect which plugin is preferred + + 07 Feb 2003; Thomas Raschbacher <lordvan@gentoo.org> licq-1.2.4-r2.ebuild + files/licq.cpp-plugins.patch : + + Console plugin only gets installed if ncurses is in USE. + 07 Feb 2003; Seemant Kulleen <seemant@gentoo.org> licq-1.2.4-r2.ebuild files/digest-licq-1.2.4-r2 : @@ -14,11 +23,6 @@ management and auto-respond are built by default now. Closes bug #15084 by Bruno Lustosa <bruno@lustosa.net> - 07 Feb 2003; Thomas Raschbacher <lordvan@gentoo.org> licq-1.2.4-r2.ebuild - files/licq.cpp-plugins.patch : - - Console plugin only gets installed if ncurses is in USE. - *licq-1.2.4-r1 (31 Jan 2003) 03 Feb 2003; Seemant Kulleen <seemant@gentoo.org> licq-1.2.4-r1.ebuild : diff --git a/net-im/licq/licq-1.2.4-r2.ebuild b/net-im/licq/licq-1.2.4-r2.ebuild index 8ebdf9783541..06e3f763ac11 100644 --- a/net-im/licq/licq-1.2.4-r2.ebuild +++ b/net-im/licq/licq-1.2.4-r2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.2.4-r2.ebuild,v 1.4 2003/02/07 15:13:59 lordvan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.2.4-r2.ebuild,v 1.5 2003/02/07 20:47:56 seemant Exp $ -IUSE="ssl socks5 qt kde ncurses" +IUSE="ssl socks5 qt kde gtk ncurses" use kde && inherit kde-base use kde && need-kde 3.0 @@ -21,6 +21,28 @@ SRC_URI="http://download.sourceforge.net/licq/${P}.tar.bz2" SLOT="2" KEYWORDS="x86" +src_unpack() { + unpack ${A} + + if [ -z "`use qt`" ] + then + if [ -z "`use gtk`" ] + then + ebegin "Setting console plugin as default..." + cp ${S}/src/licq.conf.h ${T} + sed "s:Plugin1 = qt-gui:Plugin1 = console:" \ + ${T}/licq.conf.h > ${S}/src/licq.conf.h + eend $? + else + ebegin "Setting GTK plugin as default..." + cp ${S}/src/licq.conf.h ${T} + sed "s:Plugin1 = qt-gui:Plugin1 = gtk-gui:" \ + ${T}/licq.conf.h > ${S}/src/licq.conf.h + eend $? + fi + fi +} + src_compile() { local first_conf @@ -136,6 +158,4 @@ src_install() { make DESTDIR=${D} install || die docinto plugins/rms dodoc README licq_rms.conf - - } |