public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/
Date: Mon, 28 Jul 2025 19:28:46 +0000 (UTC)	[thread overview]
Message-ID: <1753730871.f5822f53c876adc6c30bf91ee8b5f9a0359672df.asturm@gentoo> (raw)

commit:     f5822f53c876adc6c30bf91ee8b5f9a0359672df
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 28 19:19:31 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 28 19:27:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5822f53

media-sound/supercollider: add 3.14.0

Closes: https://bugs.gentoo.org/955266
Closes: https://bugs.gentoo.org/955267
Closes: https://bugs.gentoo.org/960399
Closes: https://bugs.gentoo.org/960456
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/supercollider/Manifest                 |   1 +
 .../supercollider/supercollider-3.14.0.ebuild      | 112 +++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/media-sound/supercollider/Manifest b/media-sound/supercollider/Manifest
index 6cd500f2a808..97dc7d71bbd5 100644
--- a/media-sound/supercollider/Manifest
+++ b/media-sound/supercollider/Manifest
@@ -1,3 +1,4 @@
 DIST SuperCollider-3.13.0-Source.tar.bz2 18685091 BLAKE2B a5e57a17f93e40848b2044ee0791179f857d144eabb7f4d74580b2eebd49a31d6ec671a0526236c5b906aadeb455e5a7ad18cacb79ed214076d6bceca39ea2ae SHA512 a60a128f7646f077f91adae666fa4014529aa9df78cf0dfe5d68c9bd6447f008af7da2970b8736f3f29d0adbaf67bce680a8201fcbe7e1aba29c3499a57f89cd
+DIST SuperCollider-3.14.0-Source.tar.bz2 20936611 BLAKE2B 50c9829fcd17ceb97f2e53d9422318b413b93ae65a02a722a03cbe405c6fa4a1ea058e527f7c4e7b800f1a544710ba31b8102b48324778505d67dd2a8bb9d1ea SHA512 79dab27ed0787ab8ae1eeabf4baa87d360a91a41b256669be6b39f651d3cb2d33225d9c556348afbbead3b85c4f9640f9af6e6a323e4742bd22d9ea7668f836d
 DIST SuperCollider-3.14.0-rc2-Source.tar.bz2 20937744 BLAKE2B a02ff7c7a00775732f56baa1afed1ec9d0c574f519ea401e9d3bc666526e4c6f682924e8df9cf931c315649c7dffd6e2bf0a3ea101672d11bbc2b3a20805be87 SHA512 8f6dd33d05bc9d5c6401b0e5ea9c9d474f966e893a6a19dd7bbaa7d0cd0b16b9ad29d26ad7cc523b9a6f6650ab0d3d0758a555529dc435579869bdcff7917976
 DIST supercollider-3.13.0-boost-1.85.patch.xz 11500 BLAKE2B 51a5210927df9199790ea64bbcdfe68aa233fb5777b57576295e2be7f7abd48baa9091e4139eef9ae23cbbc22613961ebd2ab60f26f0e02a8a62d68baa712af6 SHA512 dacd6fa4686a11ad06f2257155ee434173e343279170a3173a8173563309337f9a58075125acfaa53620e2a0a8fb445b5698f295ce53ac9f188e1502cebcb14f

diff --git a/media-sound/supercollider/supercollider-3.14.0.ebuild b/media-sound/supercollider/supercollider-3.14.0.ebuild
new file mode 100644
index 000000000000..d3693d111807
--- /dev/null
+++ b/media-sound/supercollider/supercollider-3.14.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+DESCRIPTION="Environment and programming language for real time audio synthesis"
+HOMEPAGE="https://supercollider.github.io/"
+SRC_URI="https://github.com/supercollider/supercollider/releases/download/Version-${PV/_/-}/SuperCollider-${PV/_/-}-Source.tar.bz2"
+S="${WORKDIR}/SuperCollider-${PV/_/-}-Source"
+
+LICENSE="GPL-2 gpl3? ( GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ableton-link cpu_flags_x86_sse cpu_flags_x86_sse2 debug emacs +fftw +gpl3 jack qt6 server +sndfile static-libs vim webengine X +zeroconf"
+
+REQUIRED_USE="qt6? ( X ) webengine? ( qt6 )"
+
+BDEPEND="
+	virtual/pkgconfig
+	qt6? ( dev-qt/qttools:6[linguist] )
+"
+RDEPEND="
+	dev-cpp/yaml-cpp:=
+	dev-libs/boost:=
+	media-libs/alsa-lib
+	sys-libs/readline:0=
+	virtual/libudev:=
+	fftw? ( sci-libs/fftw:3.0= )
+	jack? ( virtual/jack )
+	!jack? ( media-libs/portaudio )
+	qt6? (
+		dev-qt/qtbase:6[gui,network,widgets]
+		dev-qt/qtsvg:6
+	)
+	sndfile? ( media-libs/libsndfile )
+	X? (
+		x11-libs/libX11
+		x11-libs/libXt
+	)
+	zeroconf? ( net-dns/avahi )
+"
+DEPEND="${RDEPEND}
+	dev-libs/icu
+	emacs? ( >=app-editors/emacs-23.1:* )
+	qt6? ( dev-qt/qtbase:6[concurrent] )
+	vim? ( app-editors/vim )
+"
+
+src_configure() {
+	# -Werror=strict-aliasing
+	# https://bugs.gentoo.org/927071
+	# https://github.com/supercollider/supercollider/issues/6245
+	append-flags -fno-strict-aliasing
+	filter-lto
+
+	local mycmakeargs=(
+		-DSC_CLANG_USES_LIBSTDCPP=ON
+		-DINSTALL_HELP=ON
+		-DSYSTEM_BOOST=ON
+		-DSYSTEM_YAMLCPP=ON
+		-DUSE_CCACHE=OFF
+		-DSC_ABLETON_LINK=$(usex ableton-link)
+		-DSSE=$(usex cpu_flags_x86_sse)
+		-DSSE2=$(usex cpu_flags_x86_sse2)
+		-DSC_EL=$(usex emacs)
+		-DFFT_GREEN=$(usex !fftw)
+		-DNO_GPL3=$(usex !gpl3)
+		-DAUDIOAPI=$(usex jack jack portaudio)
+		-DSC_IDE=$(usex qt6)
+		-DSC_QT=$(usex qt6)
+		-DSCLANG_SERVER=$(usex server)
+		-DSUPERNOVA=$(usex server)
+		-DNO_LIBSNDFILE=$(usex !sndfile)
+		-DLIBSCSYNTH=$(usex !static-libs)
+		-DSC_VIM=$(usex vim)
+		-DSC_USE_QTWEBENGINE=$(usex webengine)
+		-DNO_X11=$(usex !X)
+		-DNO_AVAHI=$(usex !zeroconf)
+	)
+
+	use debug && mycmakeargs+=(
+		-DSC_MEMORY_DEBUGGING=ON
+		-DSN_MEMORY_DEBUGGING=ON
+		-DGC_SANITYCHECK=ON
+	)
+
+	append-flags $(usex debug '' -DNDEBUG)
+
+	cmake_src_configure
+}
+
+src_test() {
+	export QT_QPA_PLATFORM=offscreen
+	cmake_src_test
+}
+
+src_install() {
+	cmake_src_install
+
+	use emacs && newdoc editors/sc-el/README.md README.emacs
+	use vim && newdoc editors/scvim/README.md README.vim
+}
+
+pkg_postinst() {
+	einfo "Notice: SuperCollider is not very intuitive to get up and running."
+	einfo "The best course of action to make sure that the installation was"
+	einfo "successful and get you started with using SuperCollider is to take"
+	einfo "a look through ${EROOT}/usr/share/doc/${PF}/README.md.bz2"
+	xdg_pkg_postinst
+}


             reply	other threads:[~2025-07-28 19:28 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-28 19:28 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-28 21:57 [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/ Andreas Sturmlechner
2025-07-28 21:57 Andreas Sturmlechner
2025-07-17 18:57 Andreas Sturmlechner
2025-05-24  2:52 Sam James
2025-01-22 23:16 Andreas Sturmlechner
2025-01-22 23:16 Andreas Sturmlechner
2024-12-31  9:08 Andreas Sturmlechner
2024-07-16  7:44 Sam James
2024-04-02  9:59 Sam James
2023-12-11 13:46 Joonas Niilola
2023-04-25 21:30 Sam James
2023-04-25 21:30 Sam James
2022-05-19  7:15 Matthew Smith
2020-10-26 10:15 Joonas Niilola
2020-07-19 10:43 Joonas Niilola
2020-06-27 12:15 Andreas Sturmlechner
2020-06-22 20:25 Andreas Sturmlechner
2019-06-30 15:40 Andreas Sturmlechner
2018-11-25 23:27 Pacho Ramos
2018-11-25 23:13 Pacho Ramos
2018-11-25 23:13 Pacho Ramos
2018-07-11 19:10 Andreas Sturmlechner
2018-06-24  9:56 Andreas Sturmlechner
2018-06-24  9:56 Andreas Sturmlechner
2018-06-24  9:56 Andreas Sturmlechner
2018-01-06  2:14 Andreas Sturmlechner
2018-01-06  2:14 Andreas Sturmlechner
2017-12-30  8:23 Jonas Stein
2017-06-03 21:01 Matthias Maier
2017-04-12 14:51 Göktürk Yüksek
2017-03-16 22:42 David Seifert

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=1753730871.f5822f53c876adc6c30bf91ee8b5f9a0359672df.asturm@gentoo \
    --to=asturm@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