From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/
Date: Tue, 25 Apr 2023 21:30:26 +0000 (UTC) [thread overview]
Message-ID: <1682458070.a0e64eaa999496c9c4baa5b86543aaaea2dd9aa2.sam@gentoo> (raw)
commit: a0e64eaa999496c9c4baa5b86543aaaea2dd9aa2
Author: Andie Verbus <andieverbus <AT> gmail <DOT> com>
AuthorDate: Wed Apr 5 13:13:14 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 21:27:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0e64eaa
media-sound/supercollider: add 3.13.0
Added ebuild for 3.13.0. Dropped 4 unneeded patches. Bumped EAPI version.
Turning off Avahi support is not recommended by upstream devs, so zeroconf USE flag now on by default.
Removed a blocker for a package that doesn't exist. Removed unused readme.gentoo-r1.eclass
Fixed clang compilation problem with not finding libstdc++
Fixed name of sc-el directory for emacs readme
Closes: https://bugs.gentoo.org/836355
Closes: https://bugs.gentoo.org/830825
Closes: https://bugs.gentoo.org/731074
Signed-off-by: Andie Verbus <andieverbus <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/supercollider/Manifest | 1 +
.../supercollider/supercollider-3.13.0.ebuild | 131 +++++++++++++++++++++
2 files changed, 132 insertions(+)
diff --git a/media-sound/supercollider/Manifest b/media-sound/supercollider/Manifest
index dd35d0427bca..cf73948e1081 100644
--- a/media-sound/supercollider/Manifest
+++ b/media-sound/supercollider/Manifest
@@ -1 +1,2 @@
DIST SuperCollider-3.11.2-Source.tar.bz2 18130954 BLAKE2B 3713561e5ebee6dd4c08baa8aaaf4a422ab983480c76b2176373ce3cd080128f9392b50482e02dc82dce235e928d058c42722e0863dad9f6d2dd086894cd85da SHA512 636062c6acf8be43260632287b587f167352079c4e86ede34d1c6056180bfdb3ae50d6a3ff4f349327a3ab6af0eb01ac503d6b22667b4799dfcddd9c6489a23c
+DIST SuperCollider-3.13.0-Source.tar.bz2 18685091 BLAKE2B a5e57a17f93e40848b2044ee0791179f857d144eabb7f4d74580b2eebd49a31d6ec671a0526236c5b906aadeb455e5a7ad18cacb79ed214076d6bceca39ea2ae SHA512 a60a128f7646f077f91adae666fa4014529aa9df78cf0dfe5d68c9bd6447f008af7da2970b8736f3f29d0adbaf67bce680a8201fcbe7e1aba29c3499a57f89cd
diff --git a/media-sound/supercollider/supercollider-3.13.0.ebuild b/media-sound/supercollider/supercollider-3.13.0.ebuild
new file mode 100644
index 000000000000..dc9c8eed10fc
--- /dev/null
+++ b/media-sound/supercollider/supercollider-3.13.0.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 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"
+
+LICENSE="GPL-2 gpl3? ( GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2 debug emacs +fftw gedit +gpl3 jack qt5 server +sndfile static-libs vim webengine X +zeroconf"
+
+REQUIRED_USE="
+ qt5? ( X )
+ webengine? ( qt5 )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+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 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ )
+ sndfile? ( media-libs/libsndfile )
+ webengine? (
+ dev-qt/qtwebchannel:5
+ dev-qt/qtwebengine:5[widgets]
+ dev-qt/qtwebsockets:5
+ )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXt
+ )
+ zeroconf? ( net-dns/avahi )
+"
+DEPEND="${RDEPEND}
+ dev-libs/icu
+ emacs? ( >=app-editors/emacs-23.1:* )
+ gedit? ( app-editors/gedit )
+ qt5? ( dev-qt/qtconcurrent:5 )
+ vim? ( app-editors/vim )
+"
+
+S="${WORKDIR}/SuperCollider-${PV}-Source"
+
+src_configure() {
+ local mycmakeargs=(
+ -DSC_CLANG_USES_LIBSTDCPP=ON
+ -DINSTALL_HELP=ON
+ -DSYSTEM_BOOST=ON
+ -DSYSTEM_YAMLCPP=ON
+ -DSSE=$(usex cpu_flags_x86_sse)
+ -DSSE2=$(usex cpu_flags_x86_sse2)
+ -DSC_EL=$(usex emacs)
+ -DFFT_GREEN=$(usex !fftw)
+ -DSC_ED=$(usex gedit)
+ -DNO_GPL3=$(usex !gpl3)
+ -DAUDIOAPI=$(usex jack jack portaudio)
+ -DSC_IDE=$(usex qt5)
+ -DSC_QT=$(usex qt5)
+ -DSCLANG_SERVER=$(usex server)
+ -DSUPERNOVA=$(usex server)
+ -DNO_LIBSNDFILE=$(usex !sndfile)
+ -DLIBSCSYNTH=$(usex !static-libs)
+ -DSC_VIM=$(usex vim)
+ -DNO_X11=$(usex !X)
+ -DNO_AVAHI=$(usex !zeroconf)
+ )
+
+ use qt5 && mycmakeargs+=(
+ -DSC_USE_QTWEBENGINE=$(usex webengine)
+ )
+
+ use debug && mycmakeargs+=(
+ -DSC_MEMORY_DEBUGGING=ON
+ -DSN_MEMORY_DEBUGGING=ON
+ -DGC_SANITYCHECK=ON
+ )
+
+ append-flags $(usex debug '' -DNDEBUG)
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ use emacs && newdoc editors/sc-el/README.md README.emacs
+ use gedit && newdoc editors/sced/README.md README.gedit
+ use vim && newdoc editors/scvim/README.md README.vim
+}
+
+src_test() {
+ export QT_QPA_PLATFORM=offscreen
+ cmake_src_test
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+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
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}
next reply other threads:[~2023-04-25 21:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-25 21:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-16 7:44 [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/ Sam James
2024-04-02 9:59 Sam James
2023-12-11 13:46 Joonas Niilola
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=1682458070.a0e64eaa999496c9c4baa5b86543aaaea2dd9aa2.sam@gentoo \
--to=sam@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