summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-06-27 09:54:58 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-06-27 09:54:58 +0000
commit1d0bab7788e8f9ddd4eab2bae55975978faaf037 (patch)
tree63ca69ebc8fcb4e55509d367a16c99e67892183a /net-libs/libktorrent
parentVersion bump. Change default to aac instead of mp3 since mp3 streams can only... (diff)
downloadgentoo-2-1d0bab7788e8f9ddd4eab2bae55975978faaf037.tar.gz
gentoo-2-1d0bab7788e8f9ddd4eab2bae55975978faaf037.tar.bz2
gentoo-2-1d0bab7788e8f9ddd4eab2bae55975978faaf037.zip
Version bump.
(Portage version: 2.1.11.2/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libktorrent')
-rw-r--r--net-libs/libktorrent/ChangeLog9
-rw-r--r--net-libs/libktorrent/libktorrent-1.2.1.ebuild52
2 files changed, 59 insertions, 2 deletions
diff --git a/net-libs/libktorrent/ChangeLog b/net-libs/libktorrent/ChangeLog
index e401f5d990db..60d88354d379 100644
--- a/net-libs/libktorrent/ChangeLog
+++ b/net-libs/libktorrent/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libktorrent
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libktorrent/ChangeLog,v 1.33 2012/04/20 14:35:53 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libktorrent/ChangeLog,v 1.34 2012/06/27 09:54:58 kensington Exp $
+
+*libktorrent-1.2.1 (27 Jun 2012)
+
+ 27 Jun 2012; Michael Palimaka <kensington@gentoo.org>
+ +libktorrent-1.2.1.ebuild:
+ Version bump.
20 Apr 2012; Tony Vroon <chainsaw@gentoo.org> libktorrent-1.2.0.ebuild:
Marked stable on AMD64 based on arch testing by Maurizio "k01" Camisaschi &
@@ -147,4 +153,3 @@
+metadata.xml:
Initial import from kde overlay, thanks to all people who worked on it
there.
-
diff --git a/net-libs/libktorrent/libktorrent-1.2.1.ebuild b/net-libs/libktorrent/libktorrent-1.2.1.ebuild
new file mode 100644
index 000000000000..060be0ce26b6
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-1.2.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libktorrent/libktorrent-1.2.1.ebuild,v 1.1 2012/06/27 09:54:58 kensington Exp $
+
+EAPI=4
+
+KDE_SCM="git"
+if [[ ${PV} != 9999* ]]; then
+ inherit versionator
+ # upstream likes to skip that _ in beta releases
+ MY_PV="${PV/_/}"
+ KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2-3 ${MY_PV})
+ MY_P="${PN}-${MY_PV}-2"
+ KDE_HANDBOOK="optional"
+ KDE_DOC_DIRS="doc"
+
+ KDE_LINGUAS="ar ast be bg ca ca@valencia cs da de el en_GB eo es et eu
+ fi fr ga gl hi hne hr hu is it ja km ku lt lv ms nb nds nl nn oc pl
+ pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
+ sr@latin sv tr uk zh_CN zh_TW"
+ SRC_URI="http://ktorrent.org/downloads/${KTORRENT_VERSION}/${MY_P}.tar.bz2"
+ S="${WORKDIR}"/"${MY_P}"
+
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+else
+ KEYWORDS=""
+fi
+VIRTUALX_REQUIRED="test"
+inherit kde4-base
+
+DESCRIPTION="A BitTorrent library based on KDE Platform"
+HOMEPAGE="http://ktorrent.org/"
+
+LICENSE="GPL-2"
+SLOT="4"
+IUSE="debug"
+
+RDEPEND="
+ app-crypt/qca:2
+ dev-libs/gmp
+ dev-libs/libgcrypt
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ sys-devel/gettext
+"
+
+src_prepare() {
+ kde4-base_src_prepare
+ # do not build non-installed example binary
+ sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt || die
+}