summaryrefslogtreecommitdiff
path: root/media-sound/guitarix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-18 12:04:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-18 12:04:39 +0100
commit2d01b3d133c0fbf17de8d7b47905585af88bd6e4 (patch)
treef74eb9a3d16ed25f8c15b825f4d28b759ae99a42 /media-sound/guitarix
parent97bacba3ead078e5db8b87ab651a3ffa7d82f60f (diff)
gentoo auto-resync : 18:04:2024 - 12:04:39
Diffstat (limited to 'media-sound/guitarix')
-rw-r--r--media-sound/guitarix/Manifest3
-rw-r--r--media-sound/guitarix/files/guitarix-0.46.0-nostrip.patch30
-rw-r--r--media-sound/guitarix/guitarix-0.46.0.ebuild92
3 files changed, 125 insertions, 0 deletions
diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest
index 5a2de553d854..98e1d37d2e42 100644
--- a/media-sound/guitarix/Manifest
+++ b/media-sound/guitarix/Manifest
@@ -1,6 +1,9 @@
AUX guitarix-0.45.0-fix-flto.patch 381 BLAKE2B 1a0d782d3ecd653c1beaf63faa7ef2e649b669dada3934f8c304663f0a774c00c4ec0e93479e5a1d9bd7307aa3fd1f015038c8d050c960560d660f113e455c43 SHA512 498371093849c5e3e53f3196d2e2ea7e8d28a187e4c4671f03f59ea33597482c54f56d047a02f221d73ebab0f1161c4115eea057daad8406a93f366bea7a654c
AUX guitarix-0.45.0-nostrip.patch 1107 BLAKE2B d50c7e2694920dfb011a21777ab4582910d455d26d3bd9561180d80e823ee841ea470a5bc8b79e6f7e12fab6752326f9d00af0b94d0d8980a6b9d17fc79293fa SHA512 3570027b6e16d74082a2203b06d8283319c48a026150d4d8609a70c245ff91d6c40a85c236c6390a6925e4c863752f70c4e31c977440e75fd8bf3d15a8670d11
+AUX guitarix-0.46.0-nostrip.patch 1064 BLAKE2B 3f44dcd75d2d7f90c8d5b430b3d1b1d9d89df5f7c741b5e78d934b8d9703ac651d2040408aa3e0d7135d09d39b0e28c3e117909d9072d03e5c5122ba93e1e032 SHA512 e75a985755fde32127e917d2fedabf9c2ec486e4fbebed682a390e1da7f70d5bd4e78608cffde81d08585ae70f52f8c9e98d0f040479837d16f7fd4f2f8c493e
DIST guitarix2-0.45.0.tar.xz 75575216 BLAKE2B dfe65b3cdab6cf30c808b65d4d9280617d5b9b9d0227bb6b60b68ac52e64fb34903fdfb3084ebf790630b60a54cfd1f0b170b209b8dfb5c0f23f1d8084e3c342 SHA512 be894076f5b016cb8feb243294e8277f893f7e7054c91353f1a82e9b41ef1bc8c97714c4b6cf9765ee6ab1cff91d02f3a0abe525985922dcde788011a88b9cf4
+DIST guitarix2-0.46.0.tar.xz 77670776 BLAKE2B b650d53f4e73539419bbe194e07ee770494f80b547d407f5a269c035b91fbf3e0fe078a9e82da21f773d69395523f70fc179be7942f08e2b8689b220414c9925 SHA512 cdb8eccdd230bade493cf0b7fd2a6e748fcaf3c3fd6b5ed5fbd6134d08be9518c93400625d63e386b436fcef3e1738cae543256b09941445436d7f2bf41649a0
EBUILD guitarix-0.45.0.ebuild 1959 BLAKE2B 1010ac5aed8e8178a559ea184ea1850496ed6a7e90c9e36921f2c602c7a5fc42acb4ad21ded65b6c9cc451abeaba12a79ab10d9c0c61a04db84ed8af6e83c901 SHA512 c953e63774a45e52c6483a0b49087f67f151b92c6b19e88d35cbb84dfcc8762b29a298a443884c091ba043265f6bda99c8948baf23c9494fd96a822ef2b4d39c
+EBUILD guitarix-0.46.0.ebuild 1902 BLAKE2B 842f4c44c718b0881b37d5f5d0d552e10967eacec98695fa88edbde42a7044bc6886c0049bb800bc7e5bdeef589de8f7e87a2477bd9e32416b041b2db73406fb SHA512 9dcbc31e4790b4208a6bb4553867134c6c4c32e9062b86e2bf40e414cbc76c75b77611ad6a644150b5056267e556dcda4b1ae07f8631700faeba14c4ba6b8eba
EBUILD guitarix-9999.ebuild 1950 BLAKE2B 64757e3d79c108eb8527a694ffa3f7ce17053859f6b7a520c75f5bd615ed809ce359c47ff6b36793134f94b0d2fd800e9e05a2a01393200223eda861d47e3772 SHA512 2fa5d8b501f080fb670b9a3d73c016539a39810427c78cc6c283d9fc9e3d9a7f6659e519cdb49eba889d6018d5252c68278ef9dc9ce9f1696fb938b1cfb74cfd
MISC metadata.xml 785 BLAKE2B 6336ddc95e9ef9c46a0e16b963abc12b4fd9fd2048712fbc041901f7c4940c18d010df3dd23092717a4635522bec8486ca18e4d1728c4cfd12fffaf0fe591c83 SHA512 4ec6c6198959646bb85147109a1d9c9af6f1ed296486f4d573524733a06434832daa817964c8e3c28db0ec317b6991840ca3232ee64473cd73aca16803a9b573
diff --git a/media-sound/guitarix/files/guitarix-0.46.0-nostrip.patch b/media-sound/guitarix/files/guitarix-0.46.0-nostrip.patch
new file mode 100644
index 000000000000..7bb46c88eb16
--- /dev/null
+++ b/media-sound/guitarix/files/guitarix-0.46.0-nostrip.patch
@@ -0,0 +1,30 @@
+--- a/waftools/lv2.py
++++ b/waftools/lv2.py
+@@ -40,7 +40,7 @@ def lv2_add_common(tg, target, install_path, defines=None, linkflags=None, cxxfl
+ @Configure.conf
+ def lv2(bld, *k, **kw):
+ lv2_base, dst = get_lv2_base(bld, kw)
+- tg = bld.shlib(features='strip', *k, **kw)
++ tg = bld.shlib(*k, **kw)
+ cxxflags = []
+ if not bld.env['OPT'] and bld.env['SSE2']:
+ cxxflags = [ "-msse2", "-mfpmath=sse"]
+@@ -57,7 +57,7 @@ def lv2_gui(bld, *k, **kw):
+ if not bld.env['LV2GUI']:
+ return None
+ lv2_base, dst = get_lv2_base(bld, kw)
+- tg = bld.shlib(features='strip', *k, **kw)
++ tg = bld.shlib(*k, **kw)
+ lv2_add_common(tg, lv2_base+'_gui', dst, ["LV2_GUI"], bld.env['OS_LV2_CXXFLAGS'])
+ return tg
+
+--- a/wscript
++++ b/wscript
+@@ -404,7 +404,6 @@ def configure(conf):
+ conf.env['DESKAPPS_DIR'] = os.path.normpath(os.path.join(conf.env['SHAREDIR'], 'applications'))
+ conf.env['BIN_NAME'] = APPNAME
+ if opt.lv2:
+- conf.gxload('strip')
+ conf.gxload('lv2')
+
+ conf.gxload('cpu_optimization')
diff --git a/media-sound/guitarix/guitarix-0.46.0.ebuild b/media-sound/guitarix/guitarix-0.46.0.ebuild
new file mode 100644
index 000000000000..bd63bf337a24
--- /dev/null
+++ b/media-sound/guitarix/guitarix-0.46.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit multiprocessing python-any-r1 waf-utils xdg
+
+DESCRIPTION="Virtual guitar amplifier for Linux"
+HOMEPAGE="https://guitarix.org/"
+SRC_URI="https://github.com/brummer10/${PN}/releases/download/V${PV}/guitarix2-${PV}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="bluetooth debug lv2 nls nsm +standalone zeroconf"
+REQUIRED_USE="|| ( lv2 standalone )"
+
+DEPEND="
+ dev-cpp/eigen:3
+ dev-cpp/glibmm:2
+ dev-cpp/gtkmm:3.0
+ dev-libs/glib:2
+ media-libs/libsndfile
+ media-libs/zita-convolver:=
+ media-libs/zita-resampler
+ net-misc/curl
+ sci-libs/fftw:3.0=
+ x11-libs/gtk+:3
+ lv2? ( media-libs/lv2 )
+ standalone? (
+ dev-libs/boost:=
+ media-libs/liblrdf
+ media-libs/lilv
+ virtual/jack
+ bluetooth? ( net-wireless/bluez )
+ nsm? ( media-libs/liblo )
+ zeroconf? ( net-dns/avahi )
+ )
+"
+# roboto fonts are required for correct ui rendering
+RDEPEND="
+ ${DEPEND}
+ standalone? (
+ media-fonts/roboto
+ )
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ standalone? (
+ dev-lang/sassc
+ nls? (
+ dev-util/intltool
+ sys-devel/gettext
+ )
+ )
+"
+
+DOCS=( changelog README )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.46.0-nostrip.patch
+)
+
+src_configure() {
+ export -n {CXX,LD}FLAGS
+
+ local myconf=(
+ --cxxflags="${CXXFLAGS}"
+ --cxxflags-debug=""
+ --cxxflags-release="-DNDEBUG"
+ --ldflags="${LDFLAGS}"
+ --enable-lfs
+ --lib-dev
+ --no-desktop-update
+ --no-faust
+ --no-ldconfig
+ --shared-lib
+ --jobs=$(makeopts_jobs)
+ $(use_enable nls)
+ $(usex bluetooth "" "--no-bluez")
+ $(usex debug "--debug" "")
+ $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" "--no-lv2 --no-lv2-gui")
+ $(usex nsm "" "--no-nsm")
+ $(usex standalone "" "--no-standalone")
+ $(usex zeroconf "" "--no-avahi")
+ )
+ waf-utils_src_configure "${myconf[@]}"
+}