media-sound/guitarix: new package
authorAlexander Tsoy <alexander@tsoy.me>
Mon, 15 Apr 2019 21:30:25 +0000 (00:30 +0300)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sun, 21 Apr 2019 05:01:30 +0000 (22:01 -0700)
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 <alexander@tsoy.me>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/11703
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
media-sound/guitarix/Manifest [new file with mode: 0644]
media-sound/guitarix/guitarix-0.38.1.ebuild [new file with mode: 0644]
media-sound/guitarix/metadata.xml [new file with mode: 0644]

diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest
new file mode 100644 (file)
index 0000000..52c4181
--- /dev/null
@@ -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 (file)
index 0000000..a35bae0
--- /dev/null
@@ -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 (file)
index 0000000..567aa7c
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>alexander@tsoy.me</email>
+               <name>Alexander Tsoy</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription lang="en">
+               guitarix is a virtual guitar amplifier for Linux running on Jack Audio Connection Kit
+       </longdescription>
+       <use>
+               <flag name="lv2">Build lv2 plugins</flag>
+               <flag name="standalone">Build standalone application</flag>
+       </use>
+</pkgmetadata>