commit:     9a08c9916abc9e37a2255e903f91d4d3ef362d0f
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Tue Nov 25 16:42:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 26 08:14:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a08c991

media-sound/guitarix: update live

use a skeleton for both keyworded and live ebuilds

enable py3.14, disable py3.10

deps :
add missing dev-libs/libsigc++
only the standalone UI uses gtk' libs
move glibmm/gtkmm/glib/gtk+/curl into standalone (see wscript)
add missing atkmm/cairo{,mm}/pango{,mm}/gdk-pixbuf (see gxwmm.pc)
lv2 uses X11/cairo
add missing gperf to generate enums

export STRIP="true" to avoid patch

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44779
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/guitarix/guitarix-9999.ebuild | 49 +++++++++++++++++++++----------
 1 file changed, 33 insertions(+), 16 deletions(-)

diff --git a/media-sound/guitarix/guitarix-9999.ebuild 
b/media-sound/guitarix/guitarix-9999.ebuild
index 10a7cb545ccd..41c93a984997 100644
--- a/media-sound/guitarix/guitarix-9999.ebuild
+++ b/media-sound/guitarix/guitarix-9999.ebuild
@@ -3,18 +3,22 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..14} )
 PYTHON_REQ_USE='threads(+)'
-
-EGIT_OVERRIDE_REPO_ENYOJS_BOOTPLATE="https://github.com/enyojs/bootplate.git";
-EGIT_OVERRIDE_BRANCH_ENYOJS_BOOTPLATE="master"
-
-inherit multiprocessing python-any-r1 waf-utils xdg git-r3
+inherit multiprocessing python-any-r1 waf-utils xdg
 
 DESCRIPTION="Virtual guitar amplifier for Linux"
 HOMEPAGE="https://guitarix.org/";
-EGIT_REPO_URI="https://github.com/brummer10/${PN}.git";
-S="${WORKDIR}/${P}/trunk"
+if [[ ${PV} == *9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/brummer10/${PN}.git";
+       
EGIT_OVERRIDE_REPO_ENYOJS_BOOTPLATE="https://github.com/enyojs/bootplate.git";
+       EGIT_OVERRIDE_BRANCH_ENYOJS_BOOTPLATE="master"
+       S="${WORKDIR}/${P}/trunk"
+else
+       
SRC_URI="https://github.com/brummer10/${PN}/releases/download/V${PV}/guitarix2-${PV}.tar.xz";
+       KEYWORDS="~amd64"
+fi
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -23,22 +27,33 @@ REQUIRED_USE="|| ( lv2 standalone )"
 
 DEPEND="
        dev-cpp/eigen:3
-       dev-cpp/glibmm:2
-       dev-cpp/gtkmm:3.0
-       dev-libs/glib:2
+       dev-libs/libsigc++:2
        media-libs/libsndfile
        media-libs/zita-convolver:=
-       media-libs/zita-resampler
-       net-misc/curl
+       media-libs/zita-resampler:=
        sci-libs/fftw:3.0=
-       x11-libs/gtk+:3
-       lv2? ( media-libs/lv2 )
+       lv2? (
+               media-libs/lv2
+               x11-libs/cairo[X]
+               x11-libs/libX11
+       )
        standalone? (
                dev-libs/boost:=
+               dev-cpp/atkmm
+               dev-cpp/cairomm:0
+               dev-cpp/glibmm:2
+               dev-cpp/gtkmm:3.0
+               dev-cpp/pangomm:1.4
+               dev-libs/glib:2
                media-libs/liblrdf
                media-libs/lilv
+               net-misc/curl
                virtual/jack
-               bluetooth? ( net-wireless/bluez )
+               x11-libs/cairo
+               x11-libs/gdk-pixbuf:2
+               x11-libs/gtk+:3
+               x11-libs/pango
+               bluetooth? ( net-wireless/bluez:= )
                nsm? ( media-libs/liblo )
                zeroconf? ( net-dns/avahi )
        )
@@ -55,6 +70,7 @@ BDEPEND="
        virtual/pkgconfig
        standalone? (
                dev-lang/sassc
+               dev-util/gperf
                nls? (
                        dev-util/intltool
                        sys-devel/gettext
@@ -66,6 +82,7 @@ DOCS=( changelog README )
 
 src_configure() {
        export -n {CXX,LD}FLAGS
+       export STRIP="true"
 
        local myconf=(
                --cxxflags="${CXXFLAGS}"

Reply via email to