diff options
author | 2008-10-29 16:13:13 +0000 | |
---|---|---|
committer | 2008-10-29 16:13:13 +0000 | |
commit | 345fc5e828caed8b25aa8c2ec04fbcf58265b6d5 (patch) | |
tree | 1bca521aa07412f36aeb9e138798c74773884cde /net-im/licq | |
parent | Remove old. (diff) | |
download | gentoo-2-345fc5e828caed8b25aa8c2ec04fbcf58265b6d5.tar.gz gentoo-2-345fc5e828caed8b25aa8c2ec04fbcf58265b6d5.tar.bz2 gentoo-2-345fc5e828caed8b25aa8c2ec04fbcf58265b6d5.zip |
Version bump, bug #237816, remove old
(Portage version: 2.1.4.5)
Diffstat (limited to 'net-im/licq')
-rw-r--r-- | net-im/licq/ChangeLog | 9 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.2-r1.ebuild | 219 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.2.ebuild | 216 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.4-r1.ebuild | 207 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.5.ebuild | 208 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.6.ebuild | 118 |
6 files changed, 126 insertions, 851 deletions
diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog index 4d60e9c95426..5ff0c9fa4edb 100644 --- a/net-im/licq/ChangeLog +++ b/net-im/licq/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/licq # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.98 2008/07/05 16:48:39 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.99 2008/10/29 16:13:13 tester Exp $ + +*licq-1.3.6 (29 Oct 2008) + + 29 Oct 2008; Olivier Crête <tester@gentoo.org> -licq-1.3.2.ebuild, + -licq-1.3.2-r1.ebuild, -licq-1.3.4-r1.ebuild, -licq-1.3.5.ebuild, + +licq-1.3.6.ebuild: + Version bump, bug #237816, remove old 05 Jul 2008; Raúl Porcel <armin76@gentoo.org> licq-1.3.5-r1.ebuild: alpha/ia64/sparc stable wrt #219708 diff --git a/net-im/licq/licq-1.3.2-r1.ebuild b/net-im/licq/licq-1.3.2-r1.ebuild deleted file mode 100644 index 4d3c074b604b..000000000000 --- a/net-im/licq/licq-1.3.2-r1.ebuild +++ /dev/null @@ -1,219 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.2-r1.ebuild,v 1.11 2006/09/24 09:10:17 hansmi Exp $ - -inherit eutils kde-functions multilib - -DESCRIPTION="ICQ Client with v8 support" -HOMEPAGE="http://www.licq.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="~alpha amd64 ~ia64 ppc sparc x86" -IUSE="ssl socks5 qt3 kde ncurses crypt msn" - -# we can't have conditional dependencies so "use kde && inherit kde" -# won't work -- messes up dep caching. - -# need-kde and their eclass friends inject things into DEPEND. But we only -# want them enabled if the kde USE flag is set. We get around this in the -# following dep lines: -DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - qt3? ( =x11-libs/qt-3* ) - ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 ) - crypt? ( >=app-crypt/gpgme-1.0.0 )" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - - cd ${S} - - use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch - epatch "${FILESDIR}"/${P}-gcc41.patch - - if use kde - then - # fix for #12436 - ebegin "Setting kde plugin as default" - cp ${S}/src/licq.conf.h ${T} - sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ - ${T}/licq.conf.h > ${S}/src/licq.conf.h - eend $? - else - if ! use qt3 - 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 $? - fi - fi - - # Install plugins in the correct libdir - sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ - ${S}/include/licq_constants.h || die "sed failed" - sed -i -e 's:$(prefix)/lib:@libdir@:' \ - ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed" -} - -src_compile() { - - use ssl || myconf="${myconf} --disable-openssl" - use socks5 && myconf="${myconf} --enable-socks5" - - if use crypt - then - myconf="${myconf} --enable-gpgme" - else - myconf="${myconf} --disable-gpgme" - fi - - for n in `echo auto-reply console email msn qt-gui rms`; do - cd ${S}/plugins/${n} - - ebegin "Recreating configure in plugins/${n}" - rm -f Makefile && make -f Makefile.cvs 2>&1 > /dev/null - eend ${?} - done - - cd ${S} - - # bug #21009 - find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \; - - econf ${myconf} -C || die - - CONFCACHE="--cache-file=${S}/config.cache" - - use crypt && { - # workaround for gpgme's headers inclusion path - sed \ - -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \ - -i ${S}/src/Makefile - } - - emake || die - - # Create the various plug-ins - - # First, the Qt plug-in - if use qt3 || use kde - then - set-qtdir 3 - set-kdedir 3 - - use kde && myconf="${myconf} --with-kde" - - # Problems finding qt on multilib systems - myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)" - - # note! watch the --prefix=/usr placement; - # licq itself installs into /usr, but the - # optional kde/qt interface (to which second_conf belogns) - # installs its files in $KDE3DIR/{lib,share}/licq - - cd ${S}/plugins/qt-gui - einfo "Compiling Qt GUI plug-in" - econf ${myconf} ${CONFCACHE} || die - emake || die - fi - - # Now the console plug-in - if use ncurses - then - cd ${S}/plugins/console - einfo "Compiling the Console plug-in" - econf ${CONFCACHE} || die - emake || die - fi - - # The Auto-Responder plug-in - cd ${S}/plugins/auto-reply - einfo "Compiling the Auto-Reply plug-in" - econf ${CONFCACHE} || die - emake || die - - # The Remote Management Service - cd ${S}/plugins/rms - einfo "Compiling Remote Management Services plug-in" - econf ${CONFCACHE} || die - emake || die - - # MSN PLugin - if use msn - then - cd ${S}/plugins/msn - einfo "Compiling MSN plug-in" - econf ${CONFCACHE} || die - emake || die - fi - - # Email PLugin - cd ${S}/plugins/email - epatch ${FILESDIR}/${PV}-email_typo.patch - einfo "Compiling Email plug-in" - econf ${CONFCACHE} || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc ChangeLog INSTALL README* doc/* - - # Install the plug-ins - if use qt3 || use kde - then - cd ${S}/plugins/qt-gui - make DESTDIR=${D} install || die - docinto plugins/qt-gui - dodoc README* - - fi - - if use ncurses - then - cd ${S}/plugins/console - make DESTDIR=${D} install || die - docinto plugins/console - dodoc README - fi - - if use msn - then - cd ${S}/plugins/msn - make DESTDIR=${D} install || die - docinto plugins/msn - dodoc README - fi - - cd ${S}/plugins/auto-reply - make DESTDIR=${D} install || die - docinto plugins/auto-reply - dodoc README licq_autoreply.conf - - cd ${S}/plugins/rms - make DESTDIR=${D} install || die - docinto plugins/rms - dodoc README licq_rms.conf - - exeinto /usr/share/${PN}/upgrade - doexe ${S}/upgrade/* - - # fixes bug #22136 - rm -fR ${D}/$(echo ${D} | awk -F / '{print $2}') -} - -pkg_postinst() { - echo - ewarn - ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " - ewarn "upgrade your existing licq installation. Please backup your " - ewarn "settings and look into: /usr/share/licq/upgrade for scripts." - ewarn - echo -} diff --git a/net-im/licq/licq-1.3.2.ebuild b/net-im/licq/licq-1.3.2.ebuild deleted file mode 100644 index 0e4ab3e555d3..000000000000 --- a/net-im/licq/licq-1.3.2.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.2.ebuild,v 1.7 2006/08/14 15:33:29 genstef Exp $ - -inherit eutils kde-functions multilib - -DESCRIPTION="ICQ Client with v8 support" -HOMEPAGE="http://www.licq.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="alpha amd64 ia64 ~ppc ~sparc ~x86" -IUSE="ssl socks5 qt3 kde ncurses crypt msn" - -# we can't have conditional dependencies so "use kde && inherit kde" -# won't work -- messes up dep caching. - -# need-kde and their eclass friends inject things into DEPEND. But we only -# want them enabled if the kde USE flag is set. We get around this in the -# following dep lines: -RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )" -DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - qt3? ( =x11-libs/qt-3* ) - ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 ) - crypt? ( >=app-crypt/gpgme-1.0.0 )" - -src_unpack() { - unpack ${A} - - cd ${S} - - use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch - - if use kde - then - # fix for #12436 - ebegin "Setting kde plugin as default" - cp ${S}/src/licq.conf.h ${T} - sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ - ${T}/licq.conf.h > ${S}/src/licq.conf.h - eend $? - else - if ! use qt3 - 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 $? - fi - fi - - # Install plugins in the correct libdir - sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ - ${S}/include/licq_constants.h || die "sed failed" - sed -i -e 's:$(prefix)/lib:@libdir@:' \ - ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed" -} - -src_compile() { - - use ssl || myconf="${myconf} --disable-openssl" - use socks5 && myconf="${myconf} --enable-socks5" - - if use crypt - then - myconf="${myconf} --enable-gpgme" - else - myconf="${myconf} --disable-gpgme" - fi - - for n in `echo auto-reply console email msn qt-gui rms`; do - cd ${S}/plugins/${n} - - ebegin "Recreating configure in plugins/${n}" - rm -f Makefile && make -f Makefile.cvs 2>&1 > /dev/null - eend ${?} - done - - cd ${S} - - # bug #21009 - find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \; - - econf ${myconf} || die - - use crypt && { - # workaround for gpgme's headers inclusion path - sed \ - -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \ - -i ${S}/src/Makefile - } - - emake || die - - # Create the various plug-ins - - # First, the Qt plug-in - if use qt3 - then - set-qtdir 3 - set-kdedir 3 - - use kde && myconf="${myconf} --with-kde" - - # Problems finding qt on multilib systems - myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)" - - # note! watch the --prefix=/usr placement; - # licq itself installs into /usr, but the - # optional kde/qt interface (to which second_conf belogns) - # installs its files in $KDE3DIR/{lib,share}/licq - - cd ${S}/plugins/qt-gui - einfo "Compiling Qt GUI plug-in" - econf ${myconf} || die - emake || die - fi - - # Now the console plug-in - if use ncurses - then - cd ${S}/plugins/console - einfo "Compiling the Console plug-in" - econf || die - emake || die - fi - - # The Auto-Responder plug-in - cd ${S}/plugins/auto-reply - einfo "Compiling the Auto-Reply plug-in" - econf || die - emake || die - - # The Remote Management Service - cd ${S}/plugins/rms - einfo "Compiling Remote Management Services plug-in" - econf || die - emake || die - - # MSN PLugin - if use msn - then - cd ${S}/plugins/msn - einfo "Compiling MSN plug-in" - econf || die - emake || die - fi - - # Email PLugin - cd ${S}/plugins/email - epatch ${FILESDIR}/${PV}-email_typo.patch - einfo "Compiling Email plug-in" - econf || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc ChangeLog INSTALL README* doc/* - - # Install the plug-ins - if use qt3 - then - cd ${S}/plugins/qt-gui - make DESTDIR=${D} install || die - docinto plugins/qt-gui - dodoc README* - - fi - - if use ncurses - then - cd ${S}/plugins/console - make DESTDIR=${D} install || die - docinto plugins/console - dodoc README - fi - - if use msn - then - cd ${S}/plugins/msn - make DESTDIR=${D} install || die - docinto plugins/msn - dodoc README - fi - - cd ${S}/plugins/auto-reply - make DESTDIR=${D} install || die - docinto plugins/auto-reply - dodoc README licq_autoreply.conf - - cd ${S}/plugins/rms - make DESTDIR=${D} install || die - docinto plugins/rms - dodoc README licq_rms.conf - - exeinto /usr/share/${PN}/upgrade - doexe ${S}/upgrade/* - - # fixes bug #22136 - rm -fR ${D}/$(echo ${D} | awk -F / '{print $2}') -} - -pkg_postinst() { - echo - ewarn - ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " - ewarn "upgrade your existing licq installation. Please backup your " - ewarn "settings and look into: /usr/share/licq/upgrade for scripts." - ewarn - echo -} diff --git a/net-im/licq/licq-1.3.4-r1.ebuild b/net-im/licq/licq-1.3.4-r1.ebuild deleted file mode 100644 index b48bd88ccab6..000000000000 --- a/net-im/licq/licq-1.3.4-r1.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.4-r1.ebuild,v 1.4 2007/08/22 12:32:44 uberlord Exp $ - -inherit eutils kde-functions multilib - -DESCRIPTION="ICQ Client with v8 support" -HOMEPAGE="http://www.licq.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="~alpha ~amd64 ia64 ppc ~sparc x86 ~x86-fbsd" -IUSE="ssl socks5 qt3 kde ncurses crypt msn" - -# we can't have conditional dependencies so "use kde && inherit kde" -# won't work -- messes up dep caching. - -# need-kde and their eclass friends inject things into DEPEND. But we only -# want them enabled if the kde USE flag is set. We get around this in the -# following dep lines: -RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )" -DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - qt3? ( =x11-libs/qt-3* ) - ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 ) - crypt? ( >=app-crypt/gpgme-1.0.0 )" - -src_unpack() { - unpack ${A} - - cd ${S} - - use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch - - if use kde - then - # fix for #12436 - ebegin "Setting kde plugin as default" - cp ${S}/src/licq.conf.h ${T} - sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ - ${T}/licq.conf.h > ${S}/src/licq.conf.h - eend $? - else - if ! use qt3 - 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 $? - fi - fi - - # Install plugins in the correct libdir - sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ - ${S}/include/licq_constants.h || die "sed failed" - sed -i -e 's:$(prefix)/lib:@libdir@:' \ - ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed" -} - -src_compile() { - - use ssl || myconf="${myconf} --disable-openssl" - use socks5 && myconf="${myconf} --enable-socks5" - - if use crypt - then - myconf="${myconf} --enable-gpgme" - else - myconf="${myconf} --disable-gpgme" - fi - - cd ${S} - - # bug #21009 - find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \; - - econf ${myconf} || die - - use crypt && { - # workaround for gpgme's headers inclusion path - sed \ - -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \ - -i ${S}/src/Makefile - } - - emake || die - - # Create the various plug-ins - - # First, the Qt plug-in - if use qt3 - then - set-qtdir 3 - set-kdedir 3 - - use kde && myconf="${myconf} --with-kde" - - # Problems finding qt on multilib systems - myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)" - - # note! watch the --prefix=/usr placement; - # licq itself installs into /usr, but the - # optional kde/qt interface (to which second_conf belogns) - # installs its files in $KDE3DIR/{lib,share}/licq - - cd ${S}/plugins/qt-gui - einfo "Compiling Qt GUI plug-in" - econf ${myconf} || die - emake || die - fi - - # Now the console plug-in - if use ncurses - then - cd ${S}/plugins/console - einfo "Compiling the Console plug-in" - econf || die - emake || die - fi - - # The Auto-Responder plug-in - cd ${S}/plugins/auto-reply - einfo "Compiling the Auto-Reply plug-in" - econf || die - emake || die - - # The Remote Management Service - cd ${S}/plugins/rms - einfo "Compiling Remote Management Services plug-in" - econf || die - emake || die - - # MSN PLugin - if use msn - then - cd ${S}/plugins/msn - einfo "Compiling MSN plug-in" - econf || die - emake || die - fi - - # Email PLugin - cd ${S}/plugins/email - einfo "Compiling Email plug-in" - econf || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc ChangeLog INSTALL README* doc/* - - # Install the plug-ins - if use qt3 - then - cd ${S}/plugins/qt-gui - make DESTDIR=${D} install || die - docinto plugins/qt-gui - dodoc README* - - fi - - if use ncurses - then - cd ${S}/plugins/console - make DESTDIR=${D} install || die - docinto plugins/console - dodoc README - fi - - if use msn - then - cd ${S}/plugins/msn - make DESTDIR=${D} install || die - docinto plugins/msn - dodoc README - fi - - cd ${S}/plugins/auto-reply - make DESTDIR=${D} install || die - docinto plugins/auto-reply - dodoc README licq_autoreply.conf - - cd ${S}/plugins/rms - make DESTDIR=${D} install || die - docinto plugins/rms - dodoc README licq_rms.conf - - exeinto /usr/share/${PN}/upgrade - doexe ${S}/upgrade/* - - # fixes bug #22136 and #149464 - rm -fR ${D}/var -} - -pkg_postinst() { - echo - ewarn - ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " - ewarn "upgrade your existing licq installation. Please backup your " - ewarn "settings and look into: /usr/share/licq/upgrade for scripts." - ewarn - echo -} diff --git a/net-im/licq/licq-1.3.5.ebuild b/net-im/licq/licq-1.3.5.ebuild deleted file mode 100644 index c06200b3d337..000000000000 --- a/net-im/licq/licq-1.3.5.ebuild +++ /dev/null @@ -1,208 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.5.ebuild,v 1.1 2007/12/01 20:35:44 genstef Exp $ - -inherit eutils kde-functions multilib - -DESCRIPTION="ICQ Client with v8 support" -HOMEPAGE="http://www.licq.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="ssl socks5 qt3 kde ncurses crypt msn debug" - -# we can't have conditional dependencies so "use kde && inherit kde" -# won't work -- messes up dep caching. - -# need-kde and their eclass friends inject things into DEPEND. But we only -# want them enabled if the kde USE flag is set. We get around this in the -# following dep lines: -RDEPEND="kde? ( >=kde-base/kdelibs-3.0 )" -DEPEND="kde? ( >=kde-base/kdelibs-3.0 ) - ssl? ( >=dev-libs/openssl-0.9.6 ) - qt3? ( =x11-libs/qt-3* ) - ncurses? ( sys-libs/ncurses >=dev-libs/cdk-4.9.11.20031210-r1 ) - crypt? ( >=app-crypt/gpgme-1.0.0 )" - -src_unpack() { - unpack ${A} - - cd ${S} - - use ncurses && epatch ${FILESDIR}/1.3.0-suse_bool.patch - - if use kde - then - # fix for #12436 - ebegin "Setting kde plugin as default" - cp ${S}/src/licq.conf.h ${T} - sed "s:Plugin1 = qt-gui:Plugin1 = kde-gui:" \ - ${T}/licq.conf.h > ${S}/src/licq.conf.h - eend $? - else - if ! use qt3 - 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 $? - fi - fi - - # Install plugins in the correct libdir - sed -i -e "s:lib/licq/:$(get_libdir)/licq/:" \ - ${S}/include/licq_constants.h || die "sed failed" - sed -i -e 's:$(prefix)/lib:@libdir@:' \ - ${S}/plugins/*/src/Makefile.{in,am} || die "sed failed" -} - -src_compile() { - - use ssl || myconf="${myconf} --disable-openssl" - use socks5 && myconf="${myconf} --enable-socks5" - use debug && myconf="${myconf} --enable-debug" - - if use crypt - then - myconf="${myconf} --enable-gpgme" - else - myconf="${myconf} --disable-gpgme" - fi - - cd ${S} - - # bug #21009 - find . -name 'configure' -exec sed -e "s:sed 's/-g:sed 's/^-g:" -i {} \; - - econf ${myconf} || die - - use crypt && { - # workaround for gpgme's headers inclusion path - sed \ - -e "s:FAULT_INCLUDES =:FAULT_INCLUDES = -I/usr/include/gpgme:" \ - -i ${S}/src/Makefile - } - - emake || die - - # Create the various plug-ins - - # First, the Qt plug-in - if use qt3 - then - set-qtdir 3 - set-kdedir 3 - - use kde && myconf="${myconf} --with-kde" - - # Problems finding qt on multilib systems - myconf="${myconf} --with-qt-libraries=${QTDIR}/$(get_libdir)" - - # note! watch the --prefix=/usr placement; - # licq itself installs into /usr, but the - # optional kde/qt interface (to which second_conf belogns) - # installs its files in $KDE3DIR/{lib,share}/licq - - cd ${S}/plugins/qt-gui - einfo "Compiling Qt GUI plug-in" - econf ${myconf} || die - emake || die - fi - - # Now the console plug-in - if use ncurses - then - cd ${S}/plugins/console - einfo "Compiling the Console plug-in" - econf || die - emake || die - fi - - # The Auto-Responder plug-in - cd ${S}/plugins/auto-reply - einfo "Compiling the Auto-Reply plug-in" - econf || die - emake || die - - # The Remote Management Service - cd ${S}/plugins/rms - einfo "Compiling Remote Management Services plug-in" - econf || die - emake || die - - # MSN PLugin - if use msn - then - cd ${S}/plugins/msn - einfo "Compiling MSN plug-in" - econf || die - emake || die - fi - - # Email PLugin - cd ${S}/plugins/email - einfo "Compiling Email plug-in" - econf || die - emake || die -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc ChangeLog INSTALL README* doc/* - - # Install the plug-ins - if use qt3 - then - cd ${S}/plugins/qt-gui - make DESTDIR=${D} install || die - docinto plugins/qt-gui - dodoc README* - - fi - - if use ncurses - then - cd ${S}/plugins/console - make DESTDIR=${D} install || die - docinto plugins/console - dodoc README - fi - - if use msn - then - cd ${S}/plugins/msn - make DESTDIR=${D} install || die - docinto plugins/msn - dodoc README - fi - - cd ${S}/plugins/auto-reply - make DESTDIR=${D} install || die - docinto plugins/auto-reply - dodoc README licq_autoreply.conf - - cd ${S}/plugins/rms - make DESTDIR=${D} install || die - docinto plugins/rms - dodoc README licq_rms.conf - - exeinto /usr/share/${PN}/upgrade - doexe ${S}/upgrade/* - - # fixes bug #22136 and #149464 - rm -fR ${D}/var -} - -pkg_postinst() { - echo - ewarn - ewarn "If you're upgrading from <=licq-1.3.0 - you have to manually " - ewarn "upgrade your existing licq installation. Please backup your " - ewarn "settings and look into: /usr/share/licq/upgrade for scripts." - ewarn - echo -} diff --git a/net-im/licq/licq-1.3.6.ebuild b/net-im/licq/licq-1.3.6.ebuild new file mode 100644 index 000000000000..077a1a981d4c --- /dev/null +++ b/net-im/licq/licq-1.3.6.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.3.6.ebuild,v 1.1 2008/10/29 16:13:13 tester Exp $ + +EAPI="1" + +inherit eutils kde-functions multilib + +DESCRIPTION="ICQ Client with v8 support" +HOMEPAGE="http://www.licq.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="crypt debug kde msn ncurses nls qt3 qt4 socks5 ssl xosd" + +# we use kde as KDE4 +RDEPEND="kde? ( + qt3? ( kde-base/kdelibs:3.5 ) + ) + ssl? ( dev-libs/openssl ) + qt3? ( x11-libs/qt:3 ) + qt4? ( x11-libs/qt-gui:4 ) + nls? ( sys-devel/gettext ) + ncurses? ( sys-libs/ncurses =dev-libs/cdk-5* ) + crypt? ( app-crypt/gpgme:1 ) + xosd? ( x11-libs/xosd )" +DEPEND="${RDEPEND} + dev-libs/boost + qt4? ( >=dev-util/cmake-2.6.2 )" + +_generate_plugins_directories() { + PLUGINS="auto-reply email rms" + use msn && PLUGINS="${PLUGINS} msn" + use ncurses && PLUGINS="${PLUGINS} console" + use xosd && PLUGINS="${PLUGINS} osd" + # QT4 is something extra. Uses cmake. + use qt4 && PLUGINS_CMAKE="${PLUGINS_CMAKE} qt4-gui" + use qt3 && PLUGINS="${PLUGINS} qt-gui" + elog "I will generate these plugins/frontends for licq:" + elog "${PLUGINS} ${PLUGINS_CMAKE}" +} + +pkg_setup() { + _generate_plugins_directories +} + +src_compile() { + local myconf myconf2 plugin + # global config setup for automake + myconf="$(use_enable crypt gpgme) + $(use_enable ssl openssl) + $(use_enable socks5) + $(use_enable debug) + $(use_enable nls)" + + einfo "Compiling Licq core." + econf ${myconf} || die "econf failed" + emake || die "emake failed" + + for plugin in ${PLUGINS}; do + cd "${S}"/plugins/"${plugin}" + einfo "Compiling Licq: \"${plugin}\"." + if use qt3; then + set-qtdir 3 + set-kdedir 3 + use kde && myconf2="${myconf} --with-kde" + myconf2="${myconf2} --with-qt-libraries=${QTDIR}/$(get_libdir)" + fi + econf ${myconf} ${myconf2} || die "econf failed" + emake || die "emake failed" + done + # we like qt4 it uses cmake + if use qt4; then + cd "${S}"/plugins/qt4-gui + einfo "Compiling Licq: \"qt4-gui\"." + # Possible error because of one tiny issue we introduce in kde + # it is called kdeprefix and in that case you can't be sure where it + # find kde stuff. This is working only for -kdeprefix so someone will + # need to fix this later + myconf2="-DCMAKE_INSTALL_PREFIX=/usr" + # kde not yet workie + # use kde && myconf2="${myconf2} -DWITH_KDE=1" + use kde && ewarn "Sorry but kde4 support is duped and not working so not + enabling for now" + cmake . ${myconf2} || die "cmake failed" + emake || die "emake failed" + fi +} + +src_install() { + # install core + einfo "Installing Licq core." + emake DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog INSTALL README* doc/* + # Install the plug-ins + for plugin in ${PLUGINS}; do + cd "${S}"/plugins/"${plugin}" + einfo "Installing Licq: \"${plugin}\"." + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README* *.conf + done + if use qt4; then + cd "${S}"/plugins/qt4-gui + einfo "Installing Licq: \"qt4-gui\"." + emake DESTDIR="${D}" install || die + docinto plugins/qt4-gui + dodoc doc/README* + fi + + exeinto /usr/share/${PN}/upgrade + doexe "${S}"/upgrade/* + + # fixes bug #22136 and #149464 + rm -fR "${D}"/var +} + |