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/, media-sound/supercollider/files/
Date: Sat,  6 Jan 2018 02:14:31 +0000 (UTC)	[thread overview]
Message-ID: <1515204828.40a98d76d8344f7876563da4f38274a74b49ed83.asturm@gentoo> (raw)

commit:     40a98d76d8344f7876563da4f38274a74b49ed83
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 01:59:21 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 02:13:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a98d76

media-sound/supercollider: Fix multilib-strict issue

Closes: https://bugs.gentoo.org/628362
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../files/supercollider-3.8.0-multilib.patch       | 89 ++++++++++++++++++++++
 .../supercollider/supercollider-3.8.0.ebuild       |  3 +-
 2 files changed, 91 insertions(+), 1 deletion(-)

diff --git a/media-sound/supercollider/files/supercollider-3.8.0-multilib.patch b/media-sound/supercollider/files/supercollider-3.8.0-multilib.patch
new file mode 100644
index 00000000000..982e44a15a9
--- /dev/null
+++ b/media-sound/supercollider/files/supercollider-3.8.0-multilib.patch
@@ -0,0 +1,89 @@
+From 547a18c14dd45a22361f2ab495d14625862499e5 Mon Sep 17 00:00:00 2001
+From: Ferdinand Thiessen <rpm@fthiessen.de>
+Date: Sun, 5 Mar 2017 16:16:19 +0100
+Subject: [PATCH] cmake / linux: Allow setting LIB_SUFFIX to install libraries
+ into lib64 etc.
+
+---
+ editors/sced/CMakeLists.txt      | 6 +++---
+ server/plugins/CMakeLists.txt    | 2 +-
+ server/scsynth/CMakeLists.txt    | 4 ++--
+ server/supernova/server/main.cpp | 1 +
+ 4 files changed, 7 insertions(+), 6 deletions(-)
+
+diff --git a/editors/sced/CMakeLists.txt b/editors/sced/CMakeLists.txt
+index 286d625fb..b304d4c07 100644
+--- a/editors/sced/CMakeLists.txt
++++ b/editors/sced/CMakeLists.txt
+@@ -14,10 +14,10 @@ if(NOT WIN32 AND SC_ED EQUAL 2)
+             DESTINATION share/gtksourceview-2.0/language-specs)
+ 
+     install(FILES data/sced.gedit-plugin
+-            DESTINATION lib/gedit-2/plugins)
++            DESTINATION lib${LIB_SUFFIX}/gedit-2/plugins)
+ 
+     install(DIRECTORY sced
+-            DESTINATION lib/gedit-2/plugins)
++            DESTINATION lib${LIB_SUFFIX}/gedit-2/plugins)
+ 
+ elseif(NOT WIN32 AND SC_ED EQUAL 3)
+ 
+@@ -29,7 +29,7 @@ elseif(NOT WIN32 AND SC_ED EQUAL 3)
+             DESTINATION share/gtksourceview-3.0/language-specs)
+ 
+     install(FILES ${CMAKE_CURRENT_BINARY_DIR}/sced3/supercollider.plugin sced3/supercollider.py
+-            DESTINATION lib/gedit/plugins)
++            DESTINATION lib${LIB_SUFFIX}/gedit/plugins)
+ 
+ elseif(WIN32)
+ 
+diff --git a/server/plugins/CMakeLists.txt b/server/plugins/CMakeLists.txt
+index 52accc332..570f2e50b 100644
+--- a/server/plugins/CMakeLists.txt
++++ b/server/plugins/CMakeLists.txt
+@@ -301,7 +301,7 @@ elseif(APPLE)
+ 
+ else()
+ 	install(TARGETS ${plugins} ${supernova_plugins}
+-			DESTINATION "lib/SuperCollider/plugins"
++			DESTINATION "lib${LIB_SUFFIX}/SuperCollider/plugins"
+ 			PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ endif()
+ 
+diff --git a/server/scsynth/CMakeLists.txt b/server/scsynth/CMakeLists.txt
+index 1d99cad80..dbb92749b 100644
+--- a/server/scsynth/CMakeLists.txt
++++ b/server/scsynth/CMakeLists.txt
+@@ -150,7 +150,7 @@ elseif(NOT NO_LIBSNDFILE)
+ endif(SNDFILE_FOUND)
+ 
+ if(UNIX AND NOT APPLE)
+-	target_compile_definitions(libscsynth PUBLIC "SC_PLUGIN_DIR=\"${CMAKE_INSTALL_PREFIX}/lib/SuperCollider/plugins\"")
++	target_compile_definitions(libscsynth PUBLIC "SC_PLUGIN_DIR=\"${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/SuperCollider/plugins\"")
+ endif()
+ 
+ 
+@@ -284,7 +284,7 @@ elseif(WIN32)
+ else()
+ 	install(TARGETS ${INSTALL_TARGETS}
+ 			RUNTIME DESTINATION "bin"
+-			LIBRARY DESTINATION "lib"
++			LIBRARY DESTINATION "lib${LIB_SUFFIX}"
+ 			PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+ endif()
+ 
+diff --git a/server/supernova/server/main.cpp b/server/supernova/server/main.cpp
+index c0f603471..453355523 100644
+--- a/server/supernova/server/main.cpp
++++ b/server/supernova/server/main.cpp
+@@ -245,6 +245,7 @@ void set_plugin_paths(server_arguments const & args, nova::sc_ugen_factory * fac
+         const path home = resolve_home();
+         std::vector<path> folders = { "/usr/local/lib/SuperCollider/plugins",
+                                       "/usr/lib/SuperCollider/plugins",
++                                      "/usr/lib64/SuperCollider/plugins",
+                                       home / "/.local/share/SuperCollider/Extensions",
+                                       home / "share/SuperCollider/plugins" };
+ 
+-- 
+2.15.1
+

diff --git a/media-sound/supercollider/supercollider-3.8.0.ebuild b/media-sound/supercollider/supercollider-3.8.0.ebuild
index db130aaae58..36db17c3ce0 100644
--- a/media-sound/supercollider/supercollider-3.8.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -56,6 +56,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-no-opengl.patch
 	"${FILESDIR}"/${P}-no-qtsensors.patch
 	"${FILESDIR}"/${P}-no-qtpositioning.patch
+	"${FILESDIR}"/${P}-multilib.patch
 )
 
 src_configure() {


             reply	other threads:[~2018-01-06  2:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06  2:14 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-06  2:14 [gentoo-commits] repo/gentoo:master commit in: media-sound/supercollider/, media-sound/supercollider/files/ Andreas Sturmlechner
2018-07-11 19:10 Andreas Sturmlechner
2020-06-22 20:25 Andreas Sturmlechner
2020-06-22 20:25 Andreas Sturmlechner
2020-12-17 16:13 Sam James
2023-04-25 21:30 Sam James

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=1515204828.40a98d76d8344f7876563da4f38274a74b49ed83.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