diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-18 14:42:23 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-18 14:42:23 +0000 |
commit | 4a55702f02142b8253735fd3e6a48ae6d788ea4f (patch) | |
tree | 31f35cc9082d88ac0380101ee640e0330265ff14 /net-im | |
parent | Added ~sparc-fbsd keyword. (diff) | |
download | gentoo-2-4a55702f02142b8253735fd3e6a48ae6d788ea4f.tar.gz gentoo-2-4a55702f02142b8253735fd3e6a48ae6d788ea4f.tar.bz2 gentoo-2-4a55702f02142b8253735fd3e6a48ae6d788ea4f.zip |
* bump, closing bug #144718
(Portage version: 2.1.2_pre3-r4)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/licq/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/licq/files/digest-licq-1.2.7 | 2 | ||||
-rw-r--r-- | net-im/licq/files/digest-licq-1.3.0 | 2 | ||||
-rw-r--r-- | net-im/licq/files/digest-licq-1.3.4 | 6 | ||||
-rw-r--r-- | net-im/licq/licq-1.3.4.ebuild | 216 |
5 files changed, 232 insertions, 1 deletions
diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog index 9e83a93bbd36..6a8e4b85b19c 100644 --- a/net-im/licq/ChangeLog +++ b/net-im/licq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/licq # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.83 2006/09/24 09:10:17 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.84 2006/10/18 14:42:23 voxus Exp $ + +*licq-1.3.4 (18 Oct 2006) + + 18 Oct 2006; Konstantin V. Arkhipov <voxus@gentoo.org> +licq-1.3.4.ebuild: + Version bump, closing bug #144718. 24 Sep 2006; Michael Hanselmann <hansmi@gentoo.org> licq-1.3.2-r1.ebuild: Stable on ppc. diff --git a/net-im/licq/files/digest-licq-1.2.7 b/net-im/licq/files/digest-licq-1.2.7 index 748f4d8e91f3..13d53d07be29 100644 --- a/net-im/licq/files/digest-licq-1.2.7 +++ b/net-im/licq/files/digest-licq-1.2.7 @@ -1 +1,3 @@ MD5 e331c88151b95330f0b9b08570853318 licq-1.2.7.tar.bz2 3407644 +RMD160 6e0653fd730e9b0d5439589591d71d3b39c3af58 licq-1.2.7.tar.bz2 3407644 +SHA256 a5a026ef5af4d19a3d56aff3ec6972e5ac1c3739a1c76ba2304ae8c81d48f9eb licq-1.2.7.tar.bz2 3407644 diff --git a/net-im/licq/files/digest-licq-1.3.0 b/net-im/licq/files/digest-licq-1.3.0 index 56eda9b63050..97d757f47239 100644 --- a/net-im/licq/files/digest-licq-1.3.0 +++ b/net-im/licq/files/digest-licq-1.3.0 @@ -1 +1,3 @@ MD5 c1b05d1078b9826273191c05d0d1a969 licq-1.3.0.tar.bz2 4284325 +RMD160 fce5ca851ce2be09a2ebd8fad28d28248725c1f9 licq-1.3.0.tar.bz2 4284325 +SHA256 f7d6574f5ee6fea5234da269ab09756c26f05d725580f72e482d53d40e1bd47c licq-1.3.0.tar.bz2 4284325 diff --git a/net-im/licq/files/digest-licq-1.3.4 b/net-im/licq/files/digest-licq-1.3.4 new file mode 100644 index 000000000000..80ce7a407d36 --- /dev/null +++ b/net-im/licq/files/digest-licq-1.3.4 @@ -0,0 +1,6 @@ +MD5 3bab0c9d1977f9b14421d36110e17e0c licq-1.3.4.tar.bz2 3088438 +RMD160 2251da50f5a37903b57cf74d331b4ead693f4e23 licq-1.3.4.tar.bz2 3088438 +SHA256 eed39b1fa78d6c03655babc6cb03155ed71391ec1422752d0611bd2583c2f608 licq-1.3.4.tar.bz2 3088438 +MD5 17e1046925c642acad86dd87008ad9ef licq-branch-update-20060203.patch.bz2 41685 +RMD160 69c61afb3d25d6d6084c158482d8889181ae3fa2 licq-branch-update-20060203.patch.bz2 41685 +SHA256 25df9f213494d2396f9c7c5dc66ba4030c93a8a7f10e7af2f31780fce18a0a49 licq-branch-update-20060203.patch.bz2 41685 diff --git a/net-im/licq/licq-1.3.4.ebuild b/net-im/licq/licq-1.3.4.ebuild new file mode 100644 index 000000000000..fd7f7706f579 --- /dev/null +++ b/net-im/licq/licq-1.3.4.ebuild @@ -0,0 +1,216 @@ +# 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.4.ebuild,v 1.1 2006/10/18 14:42:23 voxus 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 +http://dev.gentoo.org/~voxus/licq/licq-branch-update-20060203.patch.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" +IUSE="ssl socks5 qt 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 ) + qt? ( =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 qt + 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 qt + 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 qt + 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}/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 +} |