From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 615CE59CB2 for ; Sun, 17 Apr 2016 17:52:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6C4C021C0A0; Sun, 17 Apr 2016 17:52:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3FCA21C08D for ; Sun, 17 Apr 2016 17:52:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21BE2340955 for ; Sun, 17 Apr 2016 17:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C7527E for ; Sun, 17 Apr 2016 17:52:14 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1460915527.75a31d8181bb748f4ed65443e6b819fa6c534fbd.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/clementine/files/, media-sound/clementine/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/clementine/clementine-1.3.ebuild media-sound/clementine/files/clementine-1.3-fix-tokenizer.patch media-sound/clementine/files/clementine-1.3_rc1-cmake.patch X-VCS-Directories: media-sound/clementine/ media-sound/clementine/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 75a31d8181bb748f4ed65443e6b819fa6c534fbd X-VCS-Branch: master Date: Sun, 17 Apr 2016 17:52: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 X-Archives-Salt: 8d69fad7-eca7-45e2-ac36-a193c7d17dd9 X-Archives-Hash: b3c7622a76b8eb85c439a1266ea0822b commit: 75a31d8181bb748f4ed65443e6b819fa6c534fbd Author: Lars Wendler gentoo org> AuthorDate: Sun Apr 17 17:50:49 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sun Apr 17 17:52:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a31d81 media-sound/clementine: Bumped 1.3 ebuild to EAPI-6. Removed spotify support again until we have a reliable dev-libs/crypto++ available. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> media-sound/clementine/clementine-1.3.ebuild | 41 +++++++++++----------- .../files/clementine-1.3-fix-tokenizer.patch | 4 +-- .../files/clementine-1.3_rc1-cmake.patch | 32 +++++++++++++++++ 3 files changed, 54 insertions(+), 23 deletions(-) diff --git a/media-sound/clementine/clementine-1.3.ebuild b/media-sound/clementine/clementine-1.3.ebuild index bfac234..2e12657 100644 --- a/media-sound/clementine/clementine-1.3.ebuild +++ b/media-sound/clementine/clementine-1.3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 EGIT_REPO_URI="https://github.com/clementine-player/Clementine.git" @@ -56,7 +56,6 @@ COMMON_DEPEND=" mtp? ( >=media-libs/libmtp-1.0.0 ) moodbar? ( sci-libs/fftw:3.0 ) projectm? ( media-libs/glew:= ) - >=dev-libs/crypto++-5.6.2-r4 " # now only presets are used, libprojectm is internal # https://github.com/clementine-player/Clementine/tree/master/3rdparty/libprojectm/patches @@ -93,7 +92,10 @@ MY_P="${P/_}" [[ ${PV} == *9999* ]] || \ S="${WORKDIR}/C${MY_P:1}" -PATCHES=( "${FILESDIR}"/${PN}-1.3-fix-tokenizer.patch ) +PATCHES=( + "${FILESDIR}/${PN}-1.3_rc1-cmake.patch" + "${FILESDIR}/${PN}-1.3-fix-tokenizer.patch" +) src_prepare() { cmake-utils_src_prepare @@ -116,27 +118,24 @@ src_configure() { -DLINGUAS="${langs}" -DBUNDLE_PROJECTM_PRESETS=OFF -DUSE_SYSTEM_PROJECTM=ON - $(cmake-utils_use cdda ENABLE_AUDIOCD) - $(cmake-utils_use dbus ENABLE_DBUS) - $(cmake-utils_use udisks ENABLE_DEVICEKIT) - $(cmake-utils_use ipod ENABLE_LIBGPOD) - $(cmake-utils_use lastfm ENABLE_LIBLASTFM) - $(cmake-utils_use mtp ENABLE_LIBMTP) - $(cmake-utils_use moodbar ENABLE_MOODBAR) + -DENABLE_AUDIOCD="$(usex cdda)" + -DENABLE_DBUS="$(usex dbus)" + -DENABLE_DEVICEKIT="$(usex udisks)" + -DENABLE_LIBGPOD="$(usex ipod)" + -DENABLE_LIBLASTFM="$(usex lastfm)" + -DENABLE_LIBMTP="$(usex mtp)" + -DENABLE_MOODBAR="$(usex moodbar)" -DENABLE_GIO=ON - $(cmake-utils_use wiimote ENABLE_WIIMOTEDEV) - $(cmake-utils_use projectm ENABLE_VISUALISATIONS) + -DENABLE_WIIMOTEDEV="$(usex wiimote)" + -DENABLE_VISUALISATIONS="$(usex projectm)" $(usex projectm '-DUSE_SYSTEM_PROJECTM=ON' '') - $(cmake-utils_use box ENABLE_BOX) - $(cmake-utils_use dropbox ENABLE_DROPBOX) - $(cmake-utils_use googledrive ENABLE_GOOGLE_DRIVE) - $(cmake-utils_use skydrive ENABLE_SKYDRIVE) - $(cmake-utils_use ubuntu-one ENABLE_UBUNTU_ONE) + -DENABLE_BOX="$(usex box)" + -DENABLE_DROPBOX="$(usex dropbox)" + -DENABLE_GOOGLE_DRIVE="$(usex googledrive)" + -DENABLE_SKYDRIVE="$(usex skydrive)" + -DENABLE_UBUNTU_ONE="$(usex ubuntu-one)" -DENABLE_SPOTIFY_BLOB=OFF -DENABLE_BREAKPAD=OFF - #$(cmake-utils_use !system-sqlite STATIC_SQLITE) - #$(cmake-utils_use system-sqlite I_HATE_MY_USERS) - #$(cmake-utils_use system-sqlite MY_USERS_WILL_SUFFER_BECAUSE_OF_ME) -DUSE_BUILTIN_TAGLIB=OFF -DUSE_SYSTEM_GMOCK=ON ) @@ -148,7 +147,7 @@ src_configure() { src_test() { cd "${CMAKE_BUILD_DIR}" || die - Xemake test + virtx emake test } pkg_preinst() { diff --git a/media-sound/clementine/files/clementine-1.3-fix-tokenizer.patch b/media-sound/clementine/files/clementine-1.3-fix-tokenizer.patch index 6413bf7..4375186 100644 --- a/media-sound/clementine/files/clementine-1.3-fix-tokenizer.patch +++ b/media-sound/clementine/files/clementine-1.3-fix-tokenizer.patch @@ -1,7 +1,7 @@ https://github.com/clementine-player/Clementine/issues/5297 ---- src/core/database.cpp -+++ src/core/database.cpp +--- a/src/core/database.cpp ++++ b/src/core/database.cpp @@ -265,6 +265,16 @@ StaticInit(); diff --git a/media-sound/clementine/files/clementine-1.3_rc1-cmake.patch b/media-sound/clementine/files/clementine-1.3_rc1-cmake.patch new file mode 100644 index 0000000..22a922b --- /dev/null +++ b/media-sound/clementine/files/clementine-1.3_rc1-cmake.patch @@ -0,0 +1,32 @@ +--- Clementine-1.3rc1/CMakeLists.txt ++++ Clementine-1.3rc1/CMakeLists.txt +@@ -60,7 +60,7 @@ + + pkg_check_modules(CDIO libcdio) + pkg_check_modules(CHROMAPRINT REQUIRED libchromaprint) +-pkg_search_module(CRYPTOPP cryptopp libcrypto++) ++#pkg_search_module(CRYPTOPP cryptopp libcrypto++) + pkg_check_modules(GIO gio-2.0) + pkg_check_modules(GLIB REQUIRED glib-2.0) + pkg_check_modules(GOBJECT REQUIRED gobject-2.0) +@@ -275,13 +275,14 @@ + + optional_component(VISUALISATIONS ON "Visualisations") + +-if(NOT HAVE_SPOTIFY_BLOB AND NOT CRYPTOPP_FOUND) +- message(FATAL_ERROR "Either crypto++ must be available or the non-GPL Spotify " +- "code must be compiled in") +-elseif(CRYPTOPP_FOUND) ++#if(NOT HAVE_SPOTIFY_BLOB AND NOT CRYPTOPP_FOUND) ++# message(FATAL_ERROR "Either crypto++ must be available or the non-GPL Spotify " ++# "code must be compiled in") ++#elseif(CRYPTOPP_FOUND) + set(HAVE_CRYPTOPP ON) +- set(HAVE_SPOTIFY_DOWNLOADER ON) +-endif() ++ set(HAVE_SPOTIFY_DOWNLOADER OFF) ++ set(HAVE_SPOTIFY_BLOB OFF) ++#endif() + + # Find DBus if it's enabled + if (HAVE_DBUS)