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 1SbclQ-0002e7-MY for garchives@archives.gentoo.org; Mon, 04 Jun 2012 19:16:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CE8CE0A9A; Mon, 4 Jun 2012 19:16:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5E51EE0A9A for ; Mon, 4 Jun 2012 19:16:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 965AB1B401D for ; Mon, 4 Jun 2012 19:16:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 53A2DE5404 for ; Mon, 4 Jun 2012 19:16:14 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <1338837107.fbd1ad6894c67ab9123f387243ab730992a42a80.jmbsvicetto@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/ X-VCS-Repository: proj/kde X-VCS-Files: media-sound/amarok/amarok-2.5.90.ebuild X-VCS-Directories: media-sound/amarok/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: fbd1ad6894c67ab9123f387243ab730992a42a80 X-VCS-Branch: master Date: Mon, 4 Jun 2012 19:16:14 +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: 52149166-a59d-4883-a241-14319465cf3b X-Archives-Hash: 776109bbbe3e183b19a69cb702185b1b commit: fbd1ad6894c67ab9123f387243ab730992a42a80 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Mon Jun 4 19:11:47 2012 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Mon Jun 4 19:11:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Dfbd1ad68 Add amarok-2.5.90 (2.6 beta1) for testing. --- media-sound/amarok/amarok-2.5.90.ebuild | 152 +++++++++++++++++++++++++= ++++++ 1 files changed, 152 insertions(+), 0 deletions(-) diff --git a/media-sound/amarok/amarok-2.5.90.ebuild b/media-sound/amarok= /amarok-2.5.90.ebuild new file mode 100644 index 0000000..cccbabe --- /dev/null +++ b/media-sound/amarok/amarok-2.5.90.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +KDE_LINGUAS=3D"bg ca cs da de en_GB es et eu fi fr it ja km nb nds nl pa +pl pt pt_BR ru sl sr sr@latin sv th tr uk wa zh_TW" +KDE_SCM=3D"git" +KDE_REQUIRED=3D"never" +inherit flag-o-matic kde4-base + +DESCRIPTION=3D"Advanced audio player based on KDE framework." +HOMEPAGE=3D"http://amarok.kde.org/" +if [[ ${PV} !=3D *9999* ]]; then + SRC_URI=3D"mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.bz2" + KEYWORDS=3D"~amd64 ~ppc ~ppc64 ~x86" +else + KEYWORDS=3D"" +fi + +LICENSE=3D"GPL-2" +SLOT=3D"4" +IUSE=3D"cdda daap debug +embedded ipod lastfm mp3tunes mtp opengl +playe= r semantic-desktop +utils" + +# Tests require gmock - http://code.google.com/p/gmock/ +# It's not in the tree yet +RESTRICT=3D"test" + +# ipod requires gdk enabled and also gtk compiled in libgpod +COMMONDEPEND=3D" + >=3Dmedia-libs/taglib-1.6.1[asf,mp4] + >=3Dmedia-libs/taglib-extras-1.0.1 + player? ( + app-crypt/qca:2 + >=3Dapp-misc/strigi-0.5.7 + $(add_kdebase_dep kdelibs 'opengl?,semantic-desktop?') + $(add_kdebase_dep kdebase-kioslaves) + sys-libs/zlib + >=3Dvirtual/mysql-5.1[embedded?] + x11-libs/qt-script + >=3Dx11-libs/qtscriptgenerator-0.1.0 + cdda? ( + $(add_kdebase_dep libkcddb) + $(add_kdebase_dep libkcompactdisc) + || ( + $(add_kdebase_dep audiocd-kio) + $(add_kdebase_dep kdemultimedia-kioslaves) + ) + ) + ipod? ( >=3Dmedia-libs/libgpod-0.7.0[gtk] ) + lastfm? ( >=3Dmedia-libs/liblastfm-0.3.0 ) + mp3tunes? ( + dev-libs/glib:2 + dev-libs/libxml2 + dev-libs/openssl + net-libs/loudmouth + net-misc/curl + x11-libs/qt-core[glib] + ) + mtp? ( >=3Dmedia-libs/libmtp-1.0.0 ) + opengl? ( virtual/opengl ) + ) + utils? ( + x11-libs/qt-core + x11-libs/qt-dbus + ) + !player? ( !utils? ( media-sound/amarok[player] ) ) +" +DEPEND=3D"${COMMONDEPEND} + dev-util/automoc + virtual/pkgconfig +" +RDEPEND=3D"${COMMONDEPEND} + !media-sound/amarok-utils + player? ( $(add_kdebase_dep phonon-kde) ) +" + +src_prepare() { + if ! use player; then + # Disable po processing + sed -e "s:include(MacroOptionalAddSubdirectory)::" \ + -i "${S}/CMakeLists.txt" \ + || die "Removing include of MacroOptionalAddSubdirectory failed." + sed -e "s:macro_optional_add_subdirectory( po )::" \ + -i "${S}/CMakeLists.txt" \ + || die "Removing include of MacroOptionalAddSubdirectory failed." + fi + + kde4-base_src_prepare +} + +src_configure() { + # Append minimal-toc cflag for ppc64, see bug 280552 and 292707 + use ppc64 && append-flags -mminimal-toc + local mycmakeargs + + if use player; then + mycmakeargs=3D( + -DWITH_PLAYER=3DON + -DWITH_Libgcrypt=3DOFF + $(cmake-utils_use embedded WITH_MYSQL_EMBEDDED) + $(cmake-utils_use_with ipod) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with lastfm LibLastFm) + $(cmake-utils_use_with mtp) + $(cmake-utils_use_with mp3tunes MP3Tunes) + ) + else + mycmakeargs=3D( + -DWITH_PLAYER=3DOFF + ) + fi + + mycmakeargs+=3D( + $(cmake-utils_use_with utils UTILITIES) + ) + # $(cmake-utils_use_with semantic-desktop Nepomuk) + # $(cmake-utils_use_with semantic-desktop Soprano) + + kde4-base_src_configure +} + +pkg_postinst() { + kde4-base_pkg_postinst + + if use player; then + + if use daap; then + echo + elog "You have installed amarok with daap support." + elog "You may be interested in installing www-servers/mongrel as well= ." + echo + fi + + if ! use embedded; then + echo + elog "You've disabled the amarok support for embedded mysql DBs." + elog "You'll have to configure amarok to use an external db server." + echo + elog "Please read http://amarok.kde.org/wiki/MySQL_Server for details= on how" + elog "to configure the external db and migrate your data from the emb= edded database." + echo + + if has_version "virtual/mysql[minimal]"; then + elog "You built mysql with the minimal use flag, so it doesn't inclu= de the server." + elog "You won't be able to use the local mysql installation to store= your amarok collection." + echo + fi + fi + fi +}