From: "Erwin Kaats" <mailgentoo@kaats.ch>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-sound/bespokesynth/
Date: Wed, 18 Sep 2024 21:05:40 +0000 (UTC) [thread overview]
Message-ID: <1726693276.5603aa26c9765347a7903ce2555e0d297b7f177b.mailgentoo@gentoo> (raw)
commit: 5603aa26c9765347a7903ce2555e0d297b7f177b
Author: Erwin Kaats <mailgentoo <AT> kaats <DOT> ch>
AuthorDate: Wed Sep 18 20:52:47 2024 +0000
Commit: Erwin Kaats <mailgentoo <AT> kaats <DOT> ch>
CommitDate: Wed Sep 18 21:01:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5603aa26
media-sound/bespokesynth: Added fixes discussed in 911682
Bug: https://bugs.gentoo.org/911682
Signed-off-by: Erwin Kaats <mailgentoo <AT> kaats.ch>
media-sound/bespokesynth/bespokesynth-1.2.1.ebuild | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/media-sound/bespokesynth/bespokesynth-1.2.1.ebuild b/media-sound/bespokesynth/bespokesynth-1.2.1.ebuild
index 2eb8023f9..d22bc627b 100644
--- a/media-sound/bespokesynth/bespokesynth-1.2.1.ebuild
+++ b/media-sound/bespokesynth/bespokesynth-1.2.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake desktop
+inherit cmake desktop xdg
DESCRIPTION="Software modular synth"
HOMEPAGE="https://www.bespokesynth.com/"
@@ -31,7 +31,7 @@ DEPEND="
dev-python/pybind11
dev-libs/jsoncpp
dev-cpp/asio
- media-sound/jack2
+ >=virtual/jack-2
x11-libs/libXrandr
"
@@ -69,14 +69,14 @@ src_configure() {
"-DBESPOKE_SYSTEM_PYBIND11=TRUE"
"-DBESPOKE_SYSTEM_JSONCPP=TRUE"
"-DCMAKE_BUILD_TYPE=Release"
- "-DCMAKE_INSTALL_PREFIX=/usr/share"
+ "-DCMAKE_INSTALL_PREFIX=/usr"
"-DCMAKE_SKIP_RPATH=ON"
)
cmake_src_configure
}
src_install() {
- DESTDIR="/usr/share/bespokesynth"
+ DESTDIR="/usr/share/BespokeSynth"
# Install libraries
dolib.so "${WORKDIR}/BespokeSynth-${PV}_build/libs/freeverb/libfreeverb.so"
@@ -94,7 +94,7 @@ src_install() {
dobin "${WORKDIR}/BespokeSynth-${PV}_build/Source/BespokeSynth_artefacts/RelWithDebInfo/BespokeSynth"
# Install auxilary files
- insinto /usr/share/bespokesynth/bin
+ insinto /usr/share/BespokeSynth
doins -r "${WORKDIR}/BespokeSynth-${PV}_build/Source/BespokeSynth_artefacts/RelWithDebInfo/resource"
dosym -r ${DESTDIR}/bin/BespokeSynth /usr/bin/BespokeSynth
@@ -103,3 +103,11 @@ src_install() {
doicon -s 512 "${WORKDIR}/BespokeSynth-${PV}/bespoke_icon.png"
domenu "${WORKDIR}/BespokeSynth-${PV}/scripts/installer_linux/BespokeSynth.desktop"
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
next reply other threads:[~2024-09-18 21:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 21:05 Erwin Kaats [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-21 9:40 [gentoo-commits] repo/proj/guru:dev commit in: media-sound/bespokesynth/ Erwin Kaats
2025-01-19 14:29 Erwin Kaats
2025-01-19 14:29 Erwin Kaats
2024-07-01 19:13 Erwin Kaats
2024-06-22 7:45 Erwin Kaats
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=1726693276.5603aa26c9765347a7903ce2555e0d297b7f177b.mailgentoo@gentoo \
--to=mailgentoo@kaats.ch \
--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