commit: 5603aa26c9765347a7903ce2555e0d297b7f177b Author: Erwin Kaats <mailgentoo <AT> kaats <DOT> ch> AuthorDate: Wed Sep 18 20:52:47 2024 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> 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 +}
