[proaudio] [PATCH] media-sound/rosegarden: Update the live ebuild

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Given the removal of fdo-util.eclass, I've modified the live ebuild for rosegarden to bring into line with the latest 20.12 version in the gentoo tree.

---
 .../rosegarden/rosegarden-9999.ebuild         | 76 +++++++++----------
 1 file changed, 37 insertions(+), 39 deletions(-)

diff --git a/overlays/proaudio/media-sound/rosegarden/rosegarden-9999.ebuild b/overlays/proaudio/media-sound/rosegarden/rosegarden-9999.ebuild
index c349b545..33b31930 100644
--- a/overlays/proaudio/media-sound/rosegarden/rosegarden-9999.ebuild
+++ b/overlays/proaudio/media-sound/rosegarden/rosegarden-9999.ebuild
@@ -1,71 +1,69 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2

-EAPI="5"
+EAPI=7

-AUTOTOOLS_AUTORECONF="1"
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-inherit autotools-utils cmake-utils eutils fdo-mime gnome2-utils subversion
+inherit cmake xdg virtualx

-DESCRIPTION="MIDI and audio sequencer and notation editor."
-HOMEPAGE="http://www.rosegardenmusic.com/";
-SRC_URI=""
+DESCRIPTION="MIDI and audio sequencer and notation editor"
+HOMEPAGE="https://www.rosegardenmusic.com/";

-ESVN_REPO_URI="http://svn.code.sf.net/p/${PN}/code/trunk/${PN}";
+if [[ ${PV} = 9999 ]]; then
+       inherit autotools subversion
+ ESVN_REPO_URI="http://svn.code.sf.net/p/${PN}/code/trunk/${PN}";
+       KEYWORDS=""
+else
+       SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+       KEYWORDS="amd64 ~ppc x86"
+fi

 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
 IUSE="lirc"

-RDEPEND="dev-qt/qtcore:5
+BDEPEND="
+       dev-qt/linguist-tools:5
+       virtual/pkgconfig
+"
+RDEPEND="
+       dev-qt/qtcore:5
        dev-qt/qtgui:5
-       dev-qt/qtwidgets:5
-       dev-qt/qtxml:5
        dev-qt/qtnetwork:5
        dev-qt/qtprintsupport:5
-       media-libs/ladspa-sdk:=
-       x11-libs/libSM:=
-       virtual/jack
+       dev-qt/qtwidgets:5
+       dev-qt/qtxml:5
        media-libs/alsa-lib:=
        >=media-libs/dssi-1.0.0:=
+       media-libs/ladspa-sdk:=
        media-libs/liblo:=
        media-libs/liblrdf:=
-       sci-libs/fftw:3.0
        media-libs/libsamplerate:=
        media-libs/libsndfile:=
+       sci-libs/fftw:3.0
        sys-libs/zlib:=
-       lirc? ( app-misc/lirc:= )"
+       virtual/jack
+       x11-libs/libSM:=
+       lirc? ( app-misc/lirc:= )
+"
 DEPEND="${RDEPEND}
        dev-qt/qttest:5
-       virtual/pkgconfig"
-
-#PATCHES=( "${FILESDIR}/${PN}-12.12.25-debug.patch" )
+"

 src_prepare() {
-       subversion_src_prepare
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }

 src_configure() {
        local mycmakeargs=(
-               "-DISABLE_LIRC=$(usex lirc OFF ON)"
+               -DDISABLE_LIRC=$(usex !lirc)
        )
-       cmake-utils_src_configure
+       cmake_src_configure
 }

-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
-pkg_postinst() {
-       gnome2_icon_cache_update
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
-}
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       fdo-mime_desktop_database_update
-       fdo-mime_mime_database_update
+src_test() {
+       # bug 701682, tries to open network socket and fails.
+       local myctestargs=(
+               -E "(test_notationview_selection)"
+       )
+       virtx cmake_src_test
 }
--
2.26.2




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/