From fd37b5281bd4d5e79dae6bb9397d0046dd71bda9 Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Tue, 16 Apr 2019 00:30:25 +0300 Subject: media-sound/guitarix: new package guitarix is a virtual guitar amplifier for Linux Ebuild by me with some additions from ebuild by Reva Denis and ebuild from gentoostudio overlay. Closes: https://bugs.gentoo.org/254707 Signed-off-by: Alexander Tsoy Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11703 Signed-off-by: Georgy Yakovlev --- media-sound/guitarix/Manifest | 1 + media-sound/guitarix/guitarix-0.38.1.ebuild | 73 +++++++++++++++++++++++++++++ media-sound/guitarix/metadata.xml | 19 ++++++++ 3 files changed, 93 insertions(+) create mode 100644 media-sound/guitarix/Manifest create mode 100644 media-sound/guitarix/guitarix-0.38.1.ebuild create mode 100644 media-sound/guitarix/metadata.xml (limited to 'media-sound') diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest new file mode 100644 index 000000000000..52c41818c5c3 --- /dev/null +++ b/media-sound/guitarix/Manifest @@ -0,0 +1 @@ +DIST guitarix2-0.38.1.tar.xz 80768608 BLAKE2B fd745955d8b44da72c669e69c36294d4a2131f2b5868e7e254a0b33768852ba9fcf9302f2a7ebd962c8a6dc02a543f70574466c51341a371c9fb988989123e50 SHA512 54d08b4ed20b9df4c69d0c86e4d668c53fffde8919f5570f376cee903926bd01945169d177d0d45976569ea55b28f8dca7884ac6dfe2f063df6583467559c5b7 diff --git a/media-sound/guitarix/guitarix-0.38.1.ebuild b/media-sound/guitarix/guitarix-0.38.1.ebuild new file mode 100644 index 000000000000..a35bae00fe20 --- /dev/null +++ b/media-sound/guitarix/guitarix-0.38.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' + +inherit python-any-r1 waf-utils xdg + +MY_P="${PN}2-${PV}" + +DESCRIPTION="Virtual guitar amplifier for Linux" +HOMEPAGE="http://guitarix.org/" +SRC_URI="mirror://sourceforge/guitarix/guitarix/${MY_P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="bluetooth debug lv2 nls +standalone zeroconf" +REQUIRED_USE="|| ( lv2 standalone )" + +COMMON_DEPEND="dev-cpp/eigen:3 + dev-cpp/glibmm:2 + dev-cpp/gtkmm:2.4 + dev-libs/glib:2 + >=media-libs/libsndfile-1.0.17 + >=media-libs/zita-convolver-3 + media-libs/zita-resampler + >=net-misc/curl-7.26.0 + >=sci-libs/fftw-3.1.2:3.0= + x11-libs/gtk+:2 + lv2? ( media-libs/lv2 ) + standalone? ( + dev-libs/boost:= + media-libs/liblrdf + media-libs/lilv + virtual/jack + bluetooth? ( net-wireless/bluez ) + zeroconf? ( net-dns/avahi ) + ) +" +# clearlooks gtk engine and roboto fonts are required for correct ui rendering +RDEPEND="${COMMON_DEPEND} + x11-themes/gtk-engines + standalone? ( + media-fonts/roboto + ) +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + nls? ( dev-util/intltool ) +" + +DOCS=( changelog README ) + +src_configure() { + waf-utils_src_configure \ + --cxxflags-debug="" \ + --cxxflags-release="-DNDEBUG" \ + --ldflags="${LDFLAGS}" \ + --enable-lfs \ + --lib-dev \ + --no-desktop-update \ + --no-faust \ + --no-ldconfig \ + --shared-lib \ + $(use_enable nls) \ + $(usex bluetooth "" "--no-bluez") \ + $(usex debug "--debug" "") \ + $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" "--no-lv2 --no-lv2-gui") \ + $(usex standalone "" "--no-standalone") \ + $(usex zeroconf "" "--no-avahi") +} diff --git a/media-sound/guitarix/metadata.xml b/media-sound/guitarix/metadata.xml new file mode 100644 index 000000000000..567aa7cf7675 --- /dev/null +++ b/media-sound/guitarix/metadata.xml @@ -0,0 +1,19 @@ + + + + + alexander@tsoy.me + Alexander Tsoy + + + proxy-maint@gentoo.org + Proxy Maintainers + + + guitarix is a virtual guitar amplifier for Linux running on Jack Audio Connection Kit + + + Build lv2 plugins + Build standalone application + + -- cgit v1.2.3-65-gdbad