From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RTaUm-000836-0m for garchives@archives.gentoo.org; Thu, 24 Nov 2011 14:41:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24CD921C04D; Thu, 24 Nov 2011 14:41:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E5C3A21C055 for ; Thu, 24 Nov 2011 14:41:40 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 559961B402A for ; Thu, 24 Nov 2011 14:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BE50B8004C for ; Thu, 24 Nov 2011 14:41:39 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: Subject: [gentoo-commits] proj/kde:master commit in: media-sound/tomahawk/ X-VCS-Repository: proj/kde X-VCS-Files: media-sound/tomahawk/tomahawk-0.3.2.ebuild X-VCS-Directories: media-sound/tomahawk/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: ca0a112ce8cdd9e45a62620c9d3a7317b89b96b0 Date: Thu, 24 Nov 2011 14:41:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 090d00d6-8a83-4e42-ad3c-2c20eea04537 X-Archives-Hash: ab9bc19bc67338af37f46bfa345f33cd commit: ca0a112ce8cdd9e45a62620c9d3a7317b89b96b0 Author: Johannes Huber gmx de> AuthorDate: Thu Nov 24 14:40:49 2011 +0000 Commit: Johannes Huber gmx de> CommitDate: Thu Nov 24 14:41:08 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Dca0a112c [media-sound/tomahawk] Version bump 0.3.2 (Portage version: 2.2.0_alpha76/git/Linux x86_64, unsigned Manifest commi= t) --- media-sound/tomahawk/tomahawk-0.3.2.ebuild | 86 ++++++++++++++++++++++= ++++++ 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/media-sound/tomahawk/tomahawk-0.3.2.ebuild b/media-sound/tom= ahawk/tomahawk-0.3.2.ebuild new file mode 100644 index 0000000..d1f30bb --- /dev/null +++ b/media-sound/tomahawk/tomahawk-0.3.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +QT_MINIMAL=3D"4.7.0" + +if [[ ${PV} !=3D *9999* ]]; then + SRC_URI=3D"http://download.tomahawk-player.org/${P}.tar.bz2" + KEYWORDS=3D"~amd64 ~x86" +else + GIT_ECLASS=3D"git-2" + EGIT_REPO_URI=3D"git://github.com/tomahawk-player/tomahawk.git" + KEYWORDS=3D"" +fi + +inherit cmake-utils qt4-r2 ${GIT_ECLASS} + +DESCRIPTION=3D"Qt playdar social music player" +HOMEPAGE=3D"http://tomahawk-player.org/" + +LICENSE=3D"GPL-3 BSD" +SLOT=3D"0" +IUSE=3D"debug fftw jabber libsamplerate +resolver twitter" + +DEPEND=3D" + >=3Ddev-cpp/clucene-2.3.3.4 + >=3Ddev-libs/boost-1.41 + >=3Ddev-libs/qjson-0.7.1 + >=3Dmedia-libs/libechonest-1.1.10 + >=3Dmedia-libs/phonon-4.5.0[gstreamer] + media-libs/taglib + >=3Dx11-libs/qt-core-${QT_MINIMAL}:4 + >=3Dx11-libs/qt-gui-${QT_MINIMAL}:4 + >=3Dx11-libs/qt-sql-${QT_MINIMAL}:4[sqlite] + >=3Dx11-libs/qt-webkit-${QT_MINIMAL}:4 + >=3Dx11-libs/qt-xmlpatterns-${QT_MINIMAL}:4 + fftw? ( sci-libs/fftw:3.0 ) + jabber? ( net-libs/jreen ) + libsamplerate? ( media-libs/libsamplerate ) + resolver? ( + dev-libs/libattica + >=3Ddev-libs/quazip-0.4.3 + ) + twitter? ( net-libs/qtweetlib ) +" +RDEPEND=3D"${DEPEND}" + +PATCHES=3D( + "${FILESDIR}/${PN}-0.3.2-clucene.patch" + "${FILESDIR}/${PN}-0.3.2-remove-quazip.patch" +) + +src_configure() { + mycmakeargs=3D( + $(cmake-utils_use_with jabber Jreen) + $(cmake-utils_use_with resolver LibAttica) + $(cmake-utils_use_with resolver QuaZip) + $(cmake-utils_use_with twitter QTweetLib) + -DINTERNAL_JREEN=3DOFF + ) + + if [[ ${PV} !=3D *9999* ]]; then + mycmakeargs+=3D( -DBUILD_RELEASE=3DON ) + fi + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install +} + +pkg_postinst() { + if ! use resolver; then + echo + elog "Information on how to get more resolvers for ${PN}" + elog "is available at ${HOMEPAGE}resolvers" + echo + fi +}