public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cadence/
Date: Wed,  8 Jul 2020 06:58:32 +0000 (UTC)	[thread overview]
Message-ID: <1594191425.14502b4e6318b37c80b4792ac000d5cc1e66c509.fordfrog@gentoo> (raw)

commit:     14502b4e6318b37c80b4792ac000d5cc1e66c509
Author:     Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
AuthorDate: Fri Jun 19 00:05:17 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Jul  8 06:57:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14502b4e

media-sound/cadence: Update live ebuild

- Python 3.8 support
- Prefix support (untested)
- Shebang fix

Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/cadence/cadence-9999.ebuild | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/media-sound/cadence/cadence-9999.ebuild b/media-sound/cadence/cadence-9999.ebuild
index 1059f334e10..3618cd021dd 100644
--- a/media-sound/cadence/cadence-9999.ebuild
+++ b/media-sound/cadence/cadence-9999.ebuild
@@ -3,11 +3,11 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit git-r3 python-single-r1 xdg desktop
 
 DESCRIPTION="Collection of tools useful for audio production"
-HOMEPAGE="http://kxstudio.linuxaudio.org/Applications:Cadence"
+HOMEPAGE="https://kxstudio.linuxaudio.org/Applications:Cadence"
 EGIT_REPO_URI="https://github.com/falkTX/Cadence.git"
 KEYWORDS=""
 LICENSE="GPL-2"
@@ -17,7 +17,6 @@ IUSE="a2jmidid -pulseaudio opengl"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-# for jack project rendering also needs media-sound/jack_capture which is not in the tree yet
 CDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep '
@@ -49,7 +48,7 @@ src_prepare() {
 }
 
 src_compile() {
-	myemakeargs=(PREFIX="/usr"
+	myemakeargs=(PREFIX="${EPREFIX}/usr"
 		SKIP_STRIPPING=true
 	)
 
@@ -57,17 +56,22 @@ src_compile() {
 }
 
 src_install() {
-	emake PREFIX="/usr" DESTDIR="${D}" install
+	emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
+
+	python_fix_shebang ${ED}
 
 	# Clean up stuff that shouldn't be installed
-	rm -rf "${D}"/etc/X11/xinit/xinitrc.d/61cadence-session-inject
-	rm -rf "${D}"/etc/xdg/autostart/cadence-session-start.desktop
-	rm -rf "${D}"/usr/share/applications/*.desktop
+	rm -rf "${ED}"/etc/X11/xinit/xinitrc.d/61cadence-session-inject
+	rm -rf "${ED}"/etc/xdg/autostart/cadence-session-start.desktop
+	rm -rf "${ED}"/usr/share/applications/*.desktop
 
 	if use !pulseaudio; then
-		rm -rf "${D}"/usr/bin/cadence-pulse2{jack,loopback}
-		rm -rf "${D}"/usr/share/cadence/pulse2{jack,loopback}
+		rm -rf "${ED}"/usr/bin/cadence-pulse2{jack,loopback}
+		rm -rf "${ED}"/usr/share/cadence/pulse2{jack, loopback}
 	fi
+	# Depend on ladish which is not in the tree
+	rm -rf "${ED}"/usr/bin/claudia{,-launcher}
+	rm -rf "${ED}"/usr/share/cadence/icons/claudia-hicolor/
 
 	# Replace desktop entries with QA issues with these
 	make_desktop_entry cadence Cadence cadence "AudioVideo;AudioVideoEditing;Qt"


             reply	other threads:[~2020-07-08  6:58 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-08  6:58 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-08  7:01 [gentoo-commits] repo/gentoo:master commit in: media-sound/cadence/ Miroslav Šulc
2023-06-19  6:47 Miroslav Šulc
2023-06-19  6:47 Miroslav Šulc
2023-05-29 13:11 Andreas Sturmlechner
2022-07-27  4:57 Miroslav Šulc
2022-07-27  4:48 Miroslav Šulc
2022-06-25  9:31 Miroslav Šulc
2022-06-25  8:54 Agostino Sarubbo
2022-06-18 17:58 Miroslav Šulc
2022-03-08 13:31 Sam James
2021-06-03 19:15 Sam James
2021-03-21 14:27 Miroslav Šulc
2020-10-03 14:55 Miroslav Šulc
2020-08-10 13:52 Agostino Sarubbo
2020-07-08  6:58 Miroslav Šulc
2020-02-09 16:31 Michał Górny
2019-12-16  7:46 Agostino Sarubbo
2019-12-13 10:48 Miroslav Šulc
2019-11-18  9:20 Miroslav Šulc
2019-11-13 11:01 Miroslav Šulc
2019-11-13  9:52 Miroslav Šulc
2019-11-08 12:09 Miroslav Šulc
2019-11-07 16:27 Miroslav Šulc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1594191425.14502b4e6318b37c80b4792ac000d5cc1e66c509.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox