From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2F1C2138334 for ; Thu, 8 Aug 2019 21:50:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 565B2E0788; Thu, 8 Aug 2019 21:50:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28EE1E0788 for ; Thu, 8 Aug 2019 21:50:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7B2C3496DA for ; Thu, 8 Aug 2019 21:50:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D38273C for ; Thu, 8 Aug 2019 21:50:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1565300993.39aee542058cc8f8dfc1174adeeb3e59a59cdbdf.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/phonon/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/phonon/metadata.xml media-libs/phonon/phonon-9999.ebuild X-VCS-Directories: media-libs/phonon/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 39aee542058cc8f8dfc1174adeeb3e59a59cdbdf X-VCS-Branch: master Date: Thu, 8 Aug 2019 21:50:03 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6a82a665-bb9b-4a98-80a2-a7dfceebf6e1 X-Archives-Hash: 3f08e2a6b31301e2e2efacc55adca2cf commit: 39aee542058cc8f8dfc1174adeeb3e59a59cdbdf Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Aug 8 21:41:09 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Aug 8 21:49:53 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39aee542 media-libs/phonon: Switch to kde5.eclass, add USE=gui This is now fully ported to ECM after upstream dropped Qt4 support. Update DESCRIPTION. Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> media-libs/phonon/metadata.xml | 1 + media-libs/phonon/phonon-9999.ebuild | 37 +++++++++++++++--------------------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/media-libs/phonon/metadata.xml b/media-libs/phonon/metadata.xml index c965ebc5d23..206f8e058c2 100644 --- a/media-libs/phonon/metadata.xml +++ b/media-libs/phonon/metadata.xml @@ -6,6 +6,7 @@ Gentoo KDE Project + Install device preferences and backend settings GUI Install plugin for dev-qt/designer Install VLC Phonon backend diff --git a/media-libs/phonon/phonon-9999.ebuild b/media-libs/phonon/phonon-9999.ebuild index 18d770debdb..cee83b281de 100644 --- a/media-libs/phonon/phonon-9999.ebuild +++ b/media-libs/phonon/phonon-9999.ebuild @@ -3,55 +3,48 @@ EAPI=7 -if [[ ${PV} != *9999* ]]; then +inherit kde5 + +DESCRIPTION="KDE multimedia abstraction library" +HOMEPAGE="https://phonon.kde.org/" + +if [[ ${KDE_BUILD_TYPE} = release ]]; then SRC_URI="mirror://kde/stable/phonon/${PV}/${P}.tar.xz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-fbsd" -else - EGIT_REPO_URI=( "git://anongit.kde.org/${PN}" ) - inherit git-r3 fi -inherit cmake-utils qmake-utils - -DESCRIPTION="KDE multimedia API" -HOMEPAGE="https://phonon.kde.org/" - LICENSE="|| ( LGPL-2.1 LGPL-3 )" SLOT="0" -IUSE="debug designer gstreamer pulseaudio +vlc" +IUSE="debug designer gstreamer gui pulseaudio +vlc" BDEPEND=" dev-qt/linguist-tools:5 - kde-frameworks/extra-cmake-modules:5 virtual/pkgconfig " DEPEND=" !!dev-qt/qtphonon:4 - dev-qt/qtcore:5 dev-qt/qtdbus:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 designer? ( dev-qt/designer:5 ) pulseaudio? ( dev-libs/glib:2 - >=media-sound/pulseaudio-0.9.21[glib] + media-sound/pulseaudio[glib] ) " RDEPEND="${DEPEND}" PDEPEND=" - gstreamer? ( >=media-libs/phonon-gstreamer-4.9.0[qt5(+)] ) - vlc? ( >=media-libs/phonon-vlc-0.9.0[qt5(+)] ) + gstreamer? ( >=media-libs/phonon-gstreamer-4.9.60 ) + vlc? ( >=media-libs/phonon-vlc-0.9.60 ) " src_configure() { local mycmakeargs=( - -DPHONON_BUILD_PHONON4QT5=ON - -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE - -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Declarative=ON - -DWITH_GLIB2=$(usex pulseaudio) - -DWITH_PulseAudio=$(usex pulseaudio) - -DQT_QMAKE_EXECUTABLE="$(qt5_get_bindir)"/qmake + -DPHONON_BUILD_DESIGNER_PLUGIN=$(usex designer) + -DCMAKE_DISABLE_FIND_PACKAGE_GLIB2=$(usex !pulseaudio) + -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio=$(usex !pulseaudio) + -DPHONON_BUILD_SETTINGS=$(usex gui) ) - cmake-utils_src_configure + kde5_src_configure }