From 551bedfbbf2213a30bc818becde244e7bef38401 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 10 Sep 2013 08:44:35 +0000 Subject: Build icq protocol plugin by default (bug #484450). (Portage version: 2.2.2/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) --- net-im/licq/ChangeLog | 9 ++++- net-im/licq/licq-1.8.0-r1.ebuild | 76 ++++++++++++++++++++++++++++++++++++++++ net-im/licq/licq-1.8.0.ebuild | 76 ---------------------------------------- 3 files changed, 84 insertions(+), 77 deletions(-) create mode 100644 net-im/licq/licq-1.8.0-r1.ebuild delete mode 100644 net-im/licq/licq-1.8.0.ebuild (limited to 'net-im/licq') diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog index bc5d4ec3e614..34afaa496700 100644 --- a/net-im/licq/ChangeLog +++ b/net-im/licq/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-im/licq # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.124 2013/09/09 13:47:20 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.125 2013/09/10 08:44:35 polynomial-c Exp $ + +*licq-1.8.0-r1 (10 Sep 2013) + + 10 Sep 2013; Lars Wendler -licq-1.8.0.ebuild, + +licq-1.8.0-r1.ebuild: + In version 1.8.0 icq protocol support was plugin-ized. Build it by default + (bug #484450). 09 Sep 2013; Lars Wendler licq-1.8.0.ebuild: Removed ncurses USE flag as console plugin was removed from licq. diff --git a/net-im/licq/licq-1.8.0-r1.ebuild b/net-im/licq/licq-1.8.0-r1.ebuild new file mode 100644 index 000000000000..239eb66ce799 --- /dev/null +++ b/net-im/licq/licq-1.8.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.8.0-r1.ebuild,v 1.1 2013/09/10 08:44:35 polynomial-c Exp $ + +EAPI=5 + +inherit cmake-utils eutils flag-o-matic + +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="~amd64 ~x86" +IUSE="debug doc linguas_he nls socks5 ssl xosd aosd jabber qt4 msn" + +RDEPEND=">=app-crypt/gpgme-1 + jabber? ( net-libs/gloox ) + qt4? ( dev-qt/qtgui:4 ) + ssl? ( >=dev-libs/openssl-0.9.5a ) + xosd? ( x11-libs/xosd ) + aosd? ( x11-libs/libaosd )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext ) + dev-libs/boost" + +src_prepare() { + #epatch "${FILESDIR}"/${PN}-1.5.1-find-libcdk.patch + + local licq_plugins="auto-reply icq rms" + use msn && licq_plugins+=" msn" + use xosd && licq_plugins+=" osd" + use aosd && licq_plugins+=" aosd" + use jabber && licq_plugins+=" jabber" + use qt4 && licq_plugins+=" qt4-gui" + + local plugins="" x + for x in ${licq_plugins}; do + plugins+=" ${x}\/CMakeLists.txt" + done + + sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt +} + +pkg_setup() { + # crutch + append-flags -pthread +} + +src_configure() { + local myopts="-DCMAKE_BUILD_TYPE=$(use debug && echo 'Debug' || echo 'Release')" + mycmakeargs="$myopts + $(cmake-utils_use linguas_he USE_HEBREW) + $(cmake-utils_use socks5 USE_SOCKS5) + $(cmake-utils_use ssl USE_OPENSSL) + $(cmake-utils_use nls ENABLE_NLS) + -DUSE_FIFO=ON + -DBUILD_PLUGINS=ON" + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc README + + docinto doc + dodoc doc/* + + use ssl && dodoc README.OPENSSL + + exeinto /usr/share/${PN}/upgrade + doexe upgrade/*.pl +} diff --git a/net-im/licq/licq-1.8.0.ebuild b/net-im/licq/licq-1.8.0.ebuild deleted file mode 100644 index 9c451d4ac361..000000000000 --- a/net-im/licq/licq-1.8.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/licq/licq-1.8.0.ebuild,v 1.2 2013/09/09 13:47:20 polynomial-c Exp $ - -EAPI=5 - -inherit cmake-utils eutils flag-o-matic - -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="~amd64 ~x86" -IUSE="debug doc linguas_he nls socks5 ssl xosd aosd jabber qt4 msn" - -RDEPEND=">=app-crypt/gpgme-1 - jabber? ( net-libs/gloox ) - qt4? ( dev-qt/qtgui:4 ) - ssl? ( >=dev-libs/openssl-0.9.5a ) - xosd? ( x11-libs/xosd ) - aosd? ( x11-libs/libaosd )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen ) - nls? ( sys-devel/gettext ) - dev-libs/boost" - -src_prepare() { - #epatch "${FILESDIR}"/${PN}-1.5.1-find-libcdk.patch - - local licq_plugins="auto-reply rms" - use msn && licq_plugins+=" msn" - use xosd && licq_plugins+=" osd" - use aosd && licq_plugins+=" aosd" - use jabber && licq_plugins+=" jabber" - use qt4 && licq_plugins+=" qt4-gui" - - local plugins="" x - for x in ${licq_plugins}; do - plugins+=" ${x}\/CMakeLists.txt" - done - - sed -i -e "s/file(GLOB cmake_plugins.*$/set(cmake_plugins ${plugins})/" plugins/CMakeLists.txt -} - -pkg_setup() { - # crutch - append-flags -pthread -} - -src_configure() { - local myopts="-DCMAKE_BUILD_TYPE=$(use debug && echo 'Debug' || echo 'Release')" - mycmakeargs="$myopts - $(cmake-utils_use linguas_he USE_HEBREW) - $(cmake-utils_use socks5 USE_SOCKS5) - $(cmake-utils_use ssl USE_OPENSSL) - $(cmake-utils_use nls ENABLE_NLS) - -DUSE_FIFO=ON - -DBUILD_PLUGINS=ON" - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - dodoc README - - docinto doc - dodoc doc/* - - use ssl && dodoc README.OPENSSL - - exeinto /usr/share/${PN}/upgrade - doexe upgrade/*.pl -} -- cgit v1.2.3-65-gdbad