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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD7A8158043 for ; Thu, 18 Apr 2024 07:49:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7FB7E29CF; Thu, 18 Apr 2024 07:49:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C2A6CE29CF for ; Thu, 18 Apr 2024 07:49:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC0413434B8 for ; Thu, 18 Apr 2024 07:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61CF1171E for ; Thu, 18 Apr 2024 07:49:40 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1713426398.e29a900dbc7617552d88dd76008c0f3539c00910.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/guitarix/, media-sound/guitarix/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/guitarix/Manifest media-sound/guitarix/files/guitarix-0.46.0-nostrip.patch media-sound/guitarix/guitarix-0.46.0.ebuild X-VCS-Directories: media-sound/guitarix/files/ media-sound/guitarix/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: e29a900dbc7617552d88dd76008c0f3539c00910 X-VCS-Branch: master Date: Thu, 18 Apr 2024 07:49:40 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2d2f4450-5e4f-4e47-8b5f-a24fe204b545 X-Archives-Hash: c2caf7a46783e878701cce1867c3279b commit: e29a900dbc7617552d88dd76008c0f3539c00910 Author: Alexander Tsoy tsoy me> AuthorDate: Wed Apr 17 21:31:15 2024 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Thu Apr 18 07:46:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e29a900d media-sound/guitarix: Version bump to 0.46.0 Closes: https://bugs.gentoo.org/926899 Signed-off-by: Alexander Tsoy tsoy.me> Closes: https://github.com/gentoo/gentoo/pull/36299 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/guitarix/Manifest | 1 + .../guitarix/files/guitarix-0.46.0-nostrip.patch | 30 +++++++ media-sound/guitarix/guitarix-0.46.0.ebuild | 92 ++++++++++++++++++++++ 3 files changed, 123 insertions(+) diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest index e367b57bdbcb..6389e2a32b17 100644 --- a/media-sound/guitarix/Manifest +++ b/media-sound/guitarix/Manifest @@ -1 +1,2 @@ DIST guitarix2-0.45.0.tar.xz 75575216 BLAKE2B dfe65b3cdab6cf30c808b65d4d9280617d5b9b9d0227bb6b60b68ac52e64fb34903fdfb3084ebf790630b60a54cfd1f0b170b209b8dfb5c0f23f1d8084e3c342 SHA512 be894076f5b016cb8feb243294e8277f893f7e7054c91353f1a82e9b41ef1bc8c97714c4b6cf9765ee6ab1cff91d02f3a0abe525985922dcde788011a88b9cf4 +DIST guitarix2-0.46.0.tar.xz 77670776 BLAKE2B b650d53f4e73539419bbe194e07ee770494f80b547d407f5a269c035b91fbf3e0fe078a9e82da21f773d69395523f70fc179be7942f08e2b8689b220414c9925 SHA512 cdb8eccdd230bade493cf0b7fd2a6e748fcaf3c3fd6b5ed5fbd6134d08be9518c93400625d63e386b436fcef3e1738cae543256b09941445436d7f2bf41649a0 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[@]}" +}