From a067834be765a720d5b7dc10625fc771372a4329 Mon Sep 17 00:00:00 2001 From: Pavlos Ratis Date: Tue, 13 Mar 2012 17:05:49 +0000 Subject: [net-libs/libktorrent] version bump --- net-libs/libktorrent/Manifest | 1 + net-libs/libktorrent/libktorrent-1.2.0.ebuild | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 net-libs/libktorrent/Manifest create mode 100644 net-libs/libktorrent/libktorrent-1.2.0.ebuild (limited to 'net-libs') diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest new file mode 100644 index 0000000000..5fec02556d --- /dev/null +++ b/net-libs/libktorrent/Manifest @@ -0,0 +1 @@ +DIST libktorrent-1.2.0.tar.bz2 919037 SHA256 24801cd43dfb78a5b8f4c468283dc774ad4025f1bf71909d79344414a8ff8298 SHA512 0e4097d6356037e7d62f79ea0708fb85c839b3c0d1a68cbaaea875cfeadb63aec5bb6fd569469e31ee89c5b783df4c0633238d3c71816e44410786b2f4f8b842 WHIRLPOOL 7708d2881e5f11ec20496eea8ba1c112b8941959526adf9bb5e122d7fadc14004953891adb19639b38652da778759a30e7a4b94f1b230f0230d0c20ab68e3e98 diff --git a/net-libs/libktorrent/libktorrent-1.2.0.ebuild b/net-libs/libktorrent/libktorrent-1.2.0.ebuild new file mode 100644 index 0000000000..1334698756 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-1.2.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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}" + 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 +" +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 +} -- cgit v1.2.3-65-gdbad