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 0364D138335 for ; Wed, 11 Jul 2018 19:10:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDA75E0805; Wed, 11 Jul 2018 19:10:56 +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 A7394E0805 for ; Wed, 11 Jul 2018 19:10:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 68A50335C9A for ; Wed, 11 Jul 2018 19:10:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2D54358 for ; Wed, 11 Jul 2018 19:10:52 +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: <1531336171.4d4bd4acbdd6b4bc897b90ac80d2b91a0028c214.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/supercollider/supercollider-3.9.3-r1.ebuild X-VCS-Directories: media-sound/supercollider/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4d4bd4acbdd6b4bc897b90ac80d2b91a0028c214 X-VCS-Branch: master Date: Wed, 11 Jul 2018 19:10:52 +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-Archives-Salt: cdbb208b-a4d0-45b6-9689-6707e2a66f0d X-Archives-Hash: 809e8c3b4b7c23292c845ea26d1e566a commit: 4d4bd4acbdd6b4bc897b90ac80d2b91a0028c214 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jul 11 19:09:31 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jul 11 19:09:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4bd4ac media-sound/supercollider: Add missing dependency Closes: https://bugs.gentoo.org/660938 Package-Manager: Portage-2.3.42, Repoman-2.3.9 .../supercollider/supercollider-3.9.3-r1.ebuild | 114 +++++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/media-sound/supercollider/supercollider-3.9.3-r1.ebuild b/media-sound/supercollider/supercollider-3.9.3-r1.ebuild new file mode 100644 index 00000000000..af598497965 --- /dev/null +++ b/media-sound/supercollider/supercollider-3.9.3-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils readme.gentoo-r1 xdg-utils + +DESCRIPTION="An environment and a 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-linux.tar.bz2" + +LICENSE="GPL-2 gpl3? ( GPL-3 )" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="avahi cpu_flags_x86_sse cpu_flags_x86_sse2 debug emacs +fftw gedit +gpl3 jack qt5 server +sndfile static-libs vim" +RESTRICT="mirror" + +RDEPEND=" + media-libs/alsa-lib + sys-libs/readline:0= + x11-libs/libX11 + x11-libs/libXt + avahi? ( net-dns/avahi ) + 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/qtsql:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 + ) + server? ( !app-admin/supernova ) + sndfile? ( media-libs/libsndfile ) +" +DEPEND="${RDEPEND} + dev-libs/icu + virtual/pkgconfig + emacs? ( virtual/emacs ) + gedit? ( app-editors/gedit ) + qt5? ( + dev-qt/linguist-tools:5 + dev-qt/qtdeclarative:5 + dev-qt/qtconcurrent:5 + ) + vim? ( app-editors/vim ) +" + +S="${WORKDIR}/SuperCollider-Source" + +PATCHES=( + "${FILESDIR}"/${PN}-3.8.0-no-opengl.patch + "${FILESDIR}"/${PN}-3.8.0-no-qtsensors.patch + "${FILESDIR}"/${PN}-3.8.0-no-qtpositioning.patch +) + +src_configure() { + local mycmakeargs=( + -DAUDIOAPI=$(usex jack jack portaudio) + -DINSTALL_HELP=ON + -DSYSTEM_BOOST=OFF + -DSYSTEM_YAMLCPP=OFF + -DNO_AVAHI=$(usex !avahi) + -DFFT_GREEN=$(usex !fftw) + -DNO_GPL3=$(usex !gpl3) + -DNO_LIBSNDFILE=$(usex !sndfile) + -DSC_QT=$(usex qt5) + -DSCLANG_SERVER=$(usex server) + -DSUPERNOVA=$(usex server) + -DLIBSCSYNTH=$(usex !static-libs) + -DSSE=$(usex cpu_flags_x86_sse) + -DSSE2=$(usex cpu_flags_x86_sse2) + -DSC_IDE=$(usex qt5) + -DSC_ED=$(usex gedit) + -DSC_VIM=$(usex vim) + -DSC_EL=$(usex emacs) + ) + + use debug && mycmakeargs+=( + -DSC_MEMORY_DEBUGGING=ON + -DSN_MEMORY_DEBUGGING=ON + -DGC_SANITYCHECK=ON + ) + + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + use vim && newdoc editors/scvim/README.md README.vim + use emacs && newdoc editors/scel/README.md README.emacs + use gedit && newdoc editors/sced/README.md README.gedit +} + +pkg_postinst() { + einfo + 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" + einfo + + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_mimeinfo_database_update + xdg_desktop_database_update +}