Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/guitarix/
Date: Sun, 21 Apr 2019 05:03:40
Message-Id: 1555822890.fd37b5281bd4d5e79dae6bb9397d0046dd71bda9.gyakovlev@gentoo
1 commit: fd37b5281bd4d5e79dae6bb9397d0046dd71bda9
2 Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
3 AuthorDate: Mon Apr 15 21:30:25 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 21 05:01:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd37b528
7
8 media-sound/guitarix: new package
9
10 guitarix is a virtual guitar amplifier for Linux
11
12 Ebuild by me with some additions from ebuild by Reva Denis and ebuild from
13 gentoostudio overlay.
14
15 Closes: https://bugs.gentoo.org/254707
16 Signed-off-by: Alexander Tsoy <alexander <AT> tsoy.me>
17 Package-Manager: Portage-2.3.62, Repoman-2.3.11
18 Closes: https://github.com/gentoo/gentoo/pull/11703
19 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
20
21 media-sound/guitarix/Manifest | 1 +
22 media-sound/guitarix/guitarix-0.38.1.ebuild | 73 +++++++++++++++++++++++++++++
23 media-sound/guitarix/metadata.xml | 19 ++++++++
24 3 files changed, 93 insertions(+)
25
26 diff --git a/media-sound/guitarix/Manifest b/media-sound/guitarix/Manifest
27 new file mode 100644
28 index 00000000000..52c41818c5c
29 --- /dev/null
30 +++ b/media-sound/guitarix/Manifest
31 @@ -0,0 +1 @@
32 +DIST guitarix2-0.38.1.tar.xz 80768608 BLAKE2B fd745955d8b44da72c669e69c36294d4a2131f2b5868e7e254a0b33768852ba9fcf9302f2a7ebd962c8a6dc02a543f70574466c51341a371c9fb988989123e50 SHA512 54d08b4ed20b9df4c69d0c86e4d668c53fffde8919f5570f376cee903926bd01945169d177d0d45976569ea55b28f8dca7884ac6dfe2f063df6583467559c5b7
33
34 diff --git a/media-sound/guitarix/guitarix-0.38.1.ebuild b/media-sound/guitarix/guitarix-0.38.1.ebuild
35 new file mode 100644
36 index 00000000000..a35bae00fe2
37 --- /dev/null
38 +++ b/media-sound/guitarix/guitarix-0.38.1.ebuild
39 @@ -0,0 +1,73 @@
40 +# Copyright 2019 Gentoo Authors
41 +# Distributed under the terms of the GNU General Public License v2
42 +
43 +EAPI=6
44 +PYTHON_COMPAT=( python2_7 )
45 +PYTHON_REQ_USE='threads(+)'
46 +
47 +inherit python-any-r1 waf-utils xdg
48 +
49 +MY_P="${PN}2-${PV}"
50 +
51 +DESCRIPTION="Virtual guitar amplifier for Linux"
52 +HOMEPAGE="http://guitarix.org/"
53 +SRC_URI="mirror://sourceforge/guitarix/guitarix/${MY_P}.tar.xz"
54 +
55 +LICENSE="GPL-2"
56 +SLOT="0"
57 +KEYWORDS="~amd64"
58 +IUSE="bluetooth debug lv2 nls +standalone zeroconf"
59 +REQUIRED_USE="|| ( lv2 standalone )"
60 +
61 +COMMON_DEPEND="dev-cpp/eigen:3
62 + dev-cpp/glibmm:2
63 + dev-cpp/gtkmm:2.4
64 + dev-libs/glib:2
65 + >=media-libs/libsndfile-1.0.17
66 + >=media-libs/zita-convolver-3
67 + media-libs/zita-resampler
68 + >=net-misc/curl-7.26.0
69 + >=sci-libs/fftw-3.1.2:3.0=
70 + x11-libs/gtk+:2
71 + lv2? ( media-libs/lv2 )
72 + standalone? (
73 + dev-libs/boost:=
74 + media-libs/liblrdf
75 + media-libs/lilv
76 + virtual/jack
77 + bluetooth? ( net-wireless/bluez )
78 + zeroconf? ( net-dns/avahi )
79 + )
80 +"
81 +# clearlooks gtk engine and roboto fonts are required for correct ui rendering
82 +RDEPEND="${COMMON_DEPEND}
83 + x11-themes/gtk-engines
84 + standalone? (
85 + media-fonts/roboto
86 + )
87 +"
88 +DEPEND="${COMMON_DEPEND}
89 + virtual/pkgconfig
90 + nls? ( dev-util/intltool )
91 +"
92 +
93 +DOCS=( changelog README )
94 +
95 +src_configure() {
96 + waf-utils_src_configure \
97 + --cxxflags-debug="" \
98 + --cxxflags-release="-DNDEBUG" \
99 + --ldflags="${LDFLAGS}" \
100 + --enable-lfs \
101 + --lib-dev \
102 + --no-desktop-update \
103 + --no-faust \
104 + --no-ldconfig \
105 + --shared-lib \
106 + $(use_enable nls) \
107 + $(usex bluetooth "" "--no-bluez") \
108 + $(usex debug "--debug" "") \
109 + $(usex lv2 "--lv2dir=${EPREFIX}/usr/$(get_libdir)/lv2" "--no-lv2 --no-lv2-gui") \
110 + $(usex standalone "" "--no-standalone") \
111 + $(usex zeroconf "" "--no-avahi")
112 +}
113
114 diff --git a/media-sound/guitarix/metadata.xml b/media-sound/guitarix/metadata.xml
115 new file mode 100644
116 index 00000000000..567aa7cf767
117 --- /dev/null
118 +++ b/media-sound/guitarix/metadata.xml
119 @@ -0,0 +1,19 @@
120 +<?xml version="1.0" encoding="UTF-8"?>
121 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
122 +<pkgmetadata>
123 + <maintainer type="person">
124 + <email>alexander@××××.me</email>
125 + <name>Alexander Tsoy</name>
126 + </maintainer>
127 + <maintainer type="project">
128 + <email>proxy-maint@g.o</email>
129 + <name>Proxy Maintainers</name>
130 + </maintainer>
131 + <longdescription lang="en">
132 + guitarix is a virtual guitar amplifier for Linux running on Jack Audio Connection Kit
133 + </longdescription>
134 + <use>
135 + <flag name="lv2">Build lv2 plugins</flag>
136 + <flag name="standalone">Build standalone application</flag>
137 + </use>
138 +</pkgmetadata>