summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2011-10-08 15:49:45 +0000
committerPeter Volkov <pva@gentoo.org>2011-10-08 15:49:45 +0000
commit5afa27bbe9bf5616ec87e15d9fffcb6a15548ce0 (patch)
treede16c3097e39fad92bc8b7da31c8fe2dc5091af1 /net-p2p/eiskaltdcpp
parentDo not use /lib64 for rules. (diff)
downloadgentoo-2-5afa27bbe9bf5616ec87e15d9fffcb6a15548ce0.tar.gz
gentoo-2-5afa27bbe9bf5616ec87e15d9fffcb6a15548ce0.tar.bz2
gentoo-2-5afa27bbe9bf5616ec87e15d9fffcb6a15548ce0.zip
Version bump, update VCS ebuild, thank Nikoli for this job.
(Portage version: 2.1.10.20/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/eiskaltdcpp')
-rw-r--r--net-p2p/eiskaltdcpp/ChangeLog8
-rw-r--r--net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.4.ebuild119
-rw-r--r--net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild26
-rw-r--r--net-p2p/eiskaltdcpp/metadata.xml2
4 files changed, 146 insertions, 9 deletions
diff --git a/net-p2p/eiskaltdcpp/ChangeLog b/net-p2p/eiskaltdcpp/ChangeLog
index c63d22ad87ae..50ad2b213e19 100644
--- a/net-p2p/eiskaltdcpp/ChangeLog
+++ b/net-p2p/eiskaltdcpp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-p2p/eiskaltdcpp
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/eiskaltdcpp/ChangeLog,v 1.31 2011/09/21 08:24:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/eiskaltdcpp/ChangeLog,v 1.32 2011/10/08 15:49:45 pva Exp $
+
+*eiskaltdcpp-2.2.4 (08 Oct 2011)
+
+ 08 Oct 2011; Peter Volkov <pva@gentoo.org> +eiskaltdcpp-2.2.4.ebuild,
+ eiskaltdcpp-9999.ebuild, metadata.xml:
+ Version bump, update VCS ebuild, thank Nikoli for this job.
21 Sep 2011; Michał Górny <mgorny@gentoo.org> eiskaltdcpp-9999.ebuild:
Migrate to git-2.
diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.4.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.4.ebuild
new file mode 100644
index 000000000000..c8f9b789fc9d
--- /dev/null
+++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.4.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/eiskaltdcpp/eiskaltdcpp-2.2.4.ebuild,v 1.1 2011/10/08 15:49:45 pva Exp $
+
+EAPI="4"
+
+LANGS="be bg cs de en es fr hu pl ru sk sr uk"
+
+[[ ${PV} = *9999* ]] && VCS_ECLASS="git-2" || VCS_ECLASS=""
+inherit cmake-utils ${VCS_ECLASS}
+
+DESCRIPTION="Qt4 based client for DirectConnect and ADC protocols, based on DC++ library"
+HOMEPAGE="http://eiskaltdc.googlecode.com/"
+
+LICENSE="GPL-2 GPL-3"
+SLOT="0"
+IUSE="daemon dbus +dht +emoticons examples -gnome -gtk idn -javascript libnotify lua +minimal pcre +qt4 sound spell sqlite upnp xmlrpc"
+for x in ${LANGS}; do
+ IUSE="${IUSE} linguas_${x}"
+done
+
+REQUIRED_USE="
+ emoticons? ( || ( gtk qt4 ) )
+ dbus? ( qt4 )
+ gnome? ( gtk )
+ javascript? ( qt4 )
+ libnotify? ( gtk )
+ spell? ( qt4 )
+ sound? ( || ( gtk qt4 ) )
+ sqlite? ( qt4 )
+ xmlrpc? ( daemon )
+"
+
+if [[ ${PV} != *9999* ]]; then
+ SRC_URI="http://${PN/pp/}.googlecode.com/files/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+else
+ EGIT_REPO_URI="git://github.com/negativ/${PN}.git"
+ KEYWORDS=""
+fi
+
+RDEPEND="
+ app-arch/bzip2
+ >=dev-libs/openssl-0.9.8
+ sys-devel/gettext
+ sys-libs/zlib
+ virtual/libiconv
+ idn? ( net-dns/libidn )
+ lua? ( >=dev-lang/lua-5.1 )
+ pcre? ( >=dev-libs/libpcre-4.2 )
+ upnp? ( net-libs/miniupnpc )
+ daemon? ( xmlrpc? ( >=dev-libs/xmlrpc-c-1.19.0[abyss,cxx] ) )
+ gtk? (
+ x11-libs/pango
+ >=x11-libs/gtk+-2.24:2
+ >=dev-libs/glib-2.18:2
+ x11-themes/hicolor-icon-theme
+ gnome? ( gnome-base/libgnome )
+ libnotify? ( >=x11-libs/libnotify-0.4.1 )
+ )
+ qt4? (
+ >=x11-libs/qt-gui-4.4.0:4[dbus?]
+ javascript? (
+ x11-libs/qt-script
+ x11-libs/qtscriptgenerator
+ )
+ spell? ( app-text/aspell )
+ sqlite? ( x11-libs/qt-sql:4[sqlite] )
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.34.1
+ dev-util/pkgconfig
+"
+DOCS="AUTHORS ChangeLog.txt"
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
+ && die "Sorry, but gcc-4.3 and earlier won't work."
+ fi
+}
+
+src_configure() {
+ # linguas
+ local langs x
+ for x in ${LANGS}; do
+ use linguas_${x} && langs+=" ${x}"
+ done
+
+ local mycmakeargs=(
+ -DLIB_INSTALL_DIR="$(get_libdir)"
+ -Dlinguas="${langs}"
+ -DLOCAL_MINIUPNP=OFF
+ "$(cmake-utils_use daemon NO_UI_DAEMON)"
+ "$(cmake-utils_use dbus DBUS_NOTIFY)"
+ "$(cmake-utils_use dht WITH_DHT)"
+ "$(cmake-utils_use emoticons WITH_EMOTICONS)"
+ "$(cmake-utils_use examples WITH_EXAMPLES)"
+ "$(cmake-utils_use gnome USE_LIBGNOME2)"
+ "$(cmake-utils_use gtk USE_GTK)"
+ "$(cmake-utils_use idn USE_IDNA)"
+ "$(cmake-utils_use javascript USE_JS)"
+ "$(cmake-utils_use libnotify USE_LIBNOTIFY)"
+ "$(cmake-utils_use lua LUA_SCRIPT)"
+ "$(cmake-utils_use lua WITH_LUASCRIPTS)"
+ "$(cmake-utils_use !minimal WITH_DEV_FILES)"
+ "$(cmake-utils_use pcre PERL_REGEX)"
+ "$(cmake-utils_use qt4 USE_QT)"
+ "$(cmake-utils_use sound WITH_SOUNDS)"
+ "$(cmake-utils_use spell USE_ASPELL)"
+ "$(cmake-utils_use sqlite USE_QT_SQLITE)"
+ "$(cmake-utils_use upnp USE_MINIUPNP)"
+ "$(cmake-utils_use xmlrpc XMLRPC_DAEMON)"
+ -DUSE_CLI=OFF
+ )
+ cmake-utils_src_configure
+}
diff --git a/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild b/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild
index 74a1d7e991aa..f6ee6a460c6f 100644
--- a/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild
+++ b/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild,v 1.23 2011/09/21 08:24:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/eiskaltdcpp/eiskaltdcpp-9999.ebuild,v 1.24 2011/10/08 15:49:45 pva Exp $
EAPI="4"
@@ -14,7 +14,7 @@ HOMEPAGE="http://eiskaltdc.googlecode.com/"
LICENSE="GPL-2 GPL-3"
SLOT="0"
-IUSE="daemon dbus +emoticons examples -gnome -gtk idn -javascript libnotify lua +minimal pcre +qt4 sound spell sqlite upnp"
+IUSE="daemon dbus +dht +emoticons examples -gnome -gtk idn -javascript libnotify lua +minimal pcre +qt4 sound spell sqlite upnp xmlrpc"
for x in ${LANGS}; do
IUSE="${IUSE} linguas_${x}"
done
@@ -28,14 +28,14 @@ REQUIRED_USE="
spell? ( qt4 )
sound? ( || ( gtk qt4 ) )
sqlite? ( qt4 )
+ xmlrpc? ( daemon )
"
if [[ ${PV} != *9999* ]]; then
SRC_URI="http://${PN/pp/}.googlecode.com/files/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
else
- EGIT_REPO_URI="git://github.com/negativ/${PN}.git
- https://github.com/negativ/${PN}.git"
+ EGIT_REPO_URI="git://github.com/negativ/${PN}.git"
KEYWORDS=""
fi
@@ -49,11 +49,11 @@ RDEPEND="
lua? ( >=dev-lang/lua-5.1 )
pcre? ( >=dev-libs/libpcre-4.2 )
upnp? ( net-libs/miniupnpc )
+ daemon? ( xmlrpc? ( >=dev-libs/xmlrpc-c-1.19.0[abyss,cxx] ) )
gtk? (
x11-libs/pango
- >=x11-libs/gtk+-2.10:2
- >=dev-libs/glib-2.10:2
- >=gnome-base/libglade-2.4:2.0
+ >=x11-libs/gtk+-2.18:2
+ >=dev-libs/glib-2.18:2
x11-themes/hicolor-icon-theme
gnome? ( gnome-base/libgnome )
libnotify? ( >=x11-libs/libnotify-0.4.1 )
@@ -74,6 +74,14 @@ DEPEND="${RDEPEND}
"
DOCS="AUTHORS ChangeLog.txt"
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
+ && die "Sorry, but gcc-4.3 and earlier won't work."
+ fi
+}
+
src_configure() {
# linguas
local langs x
@@ -87,6 +95,7 @@ src_configure() {
-DLOCAL_MINIUPNP=OFF
"$(cmake-utils_use daemon NO_UI_DAEMON)"
"$(cmake-utils_use dbus DBUS_NOTIFY)"
+ "$(cmake-utils_use dht WITH_DHT)"
"$(cmake-utils_use emoticons WITH_EMOTICONS)"
"$(cmake-utils_use examples WITH_EXAMPLES)"
"$(cmake-utils_use gnome USE_LIBGNOME2)"
@@ -103,7 +112,8 @@ src_configure() {
"$(cmake-utils_use spell USE_ASPELL)"
"$(cmake-utils_use sqlite USE_QT_SQLITE)"
"$(cmake-utils_use upnp USE_MINIUPNP)"
- -DXMLRPC_DAEMON=OFF
+ "$(cmake-utils_use xmlrpc XMLRPC_DAEMON)"
+ -DUSE_CLI=OFF
)
cmake-utils_src_configure
}
diff --git a/net-p2p/eiskaltdcpp/metadata.xml b/net-p2p/eiskaltdcpp/metadata.xml
index 0b0dc562ae0e..3acc456d281c 100644
--- a/net-p2p/eiskaltdcpp/metadata.xml
+++ b/net-p2p/eiskaltdcpp/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<herd>no-herd</herd>
<maintainer>
<email>pva@gentoo.org</email>
<name>Peter Volkov</name>
@@ -18,6 +19,7 @@
<use>
<flag name="cli">Enable eiskaltdcpp-daemon with sample cli based on readline</flag>
<flag name="daemon">Enable eiskaltdcpp-daemon without any UI</flag>
+ <flag name="dht">Enable DHT (distributed hash table) support for libeiskaltdcpp</flag>
<flag name="emoticons">Install emoticon packs</flag>
<flag name="minimal">Don't install headers</flag>
<flag name="upnp">Forward ports using UPnP</flag>