Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: media-sound/slart/files/, media-sound/slart/
Date: Tue, 30 Jun 2015 21:37:18
Message-Id: 1435700175.5b1a95db91d7a2f31bc48d460179e14b1b28d2f4.sping@gentoo
1 commit: 5b1a95db91d7a2f31bc48d460179e14b1b28d2f4
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Mon Jun 29 00:52:20 2015 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 21:36:15 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=5b1a95db
7
8 media-sound/slart: 0.8.0.880
9
10 .../files/slart-0.8.0.880-exclude-stripped.patch | 23 +++++++
11 .../slart/files/slart-0.8.0.880-linking.patch | 66 +++++++++++++++++++++
12 .../slart/files/slart-0.8.0.880-unstripped.patch | 22 +++++++
13 media-sound/slart/freedb.sqlite | Bin 0 -> 26624 bytes
14 media-sound/slart/slart-0.8.0.880.ebuild | 43 ++++++++++++++
15 5 files changed, 154 insertions(+)
16
17 diff --git a/media-sound/slart/files/slart-0.8.0.880-exclude-stripped.patch b/media-sound/slart/files/slart-0.8.0.880-exclude-stripped.patch
18 new file mode 100644
19 index 0000000..7fff27e
20 --- /dev/null
21 +++ b/media-sound/slart/files/slart-0.8.0.880-exclude-stripped.patch
22 @@ -0,0 +1,23 @@
23 +From 6c2a170e94955bd391351af0f4cf2e4d97e9ae56 Mon Sep 17 00:00:00 2001
24 +From: Sebastian Pipping <sebastian@×××××××.org>
25 +Date: Mon, 29 Jun 2015 02:21:40 +0200
26 +Subject: [PATCH] Do not build tool "Stripped" (due to compile cdio paranoia
27 + compile errors)
28 +
29 +---
30 + src/apps/apps.pro | 1 -
31 + 1 file changed, 1 deletion(-)
32 +
33 +diff --git a/src/apps/apps.pro b/src/apps/apps.pro
34 +index 8057be1..8a97a44 100644
35 +--- a/src/apps/apps.pro
36 ++++ b/src/apps/apps.pro
37 +@@ -14,5 +14,4 @@ SUBDIRS += Notorious
38 + SUBDIRS += Partyman
39 + SUBDIRS += Rubberbandman
40 + SUBDIRS += Sorcerer
41 +-SUBDIRS += Stripped
42 +
43 +--
44 +2.4.0
45 +
46
47 diff --git a/media-sound/slart/files/slart-0.8.0.880-linking.patch b/media-sound/slart/files/slart-0.8.0.880-linking.patch
48 new file mode 100644
49 index 0000000..abcc578
50 --- /dev/null
51 +++ b/media-sound/slart/files/slart-0.8.0.880-linking.patch
52 @@ -0,0 +1,66 @@
53 +From 58acf6ca42ce9b82b166de63c45d634321ef48ce Mon Sep 17 00:00:00 2001
54 +From: Sebastian Pipping <sebastian@×××××××.org>
55 +Date: Mon, 29 Jun 2015 01:59:31 +0200
56 +Subject: [PATCH] Fix Qt linking errors
57 +
58 +---
59 + src/apps/Funkytown/Funkytown.pro | 2 +-
60 + src/apps/Innuendo/Innuendo.pro | 2 +-
61 + src/apps/Sorcerer/Sorcerer.pro | 1 +
62 + src/apps/Stripped/Stripped.pro | 2 +-
63 + 4 files changed, 4 insertions(+), 3 deletions(-)
64 +
65 +diff --git a/src/apps/Funkytown/Funkytown.pro b/src/apps/Funkytown/Funkytown.pro
66 +index 799b096..fc95b52 100644
67 +--- a/src/apps/Funkytown/Funkytown.pro
68 ++++ b/src/apps/Funkytown/Funkytown.pro
69 +@@ -6,7 +6,7 @@
70 +
71 + TARGET = Funkytown
72 + TEMPLATE = app
73 +-QT += network
74 ++QT += network sql
75 +
76 + include( ../../buildconfig.pri )
77 +
78 +diff --git a/src/apps/Innuendo/Innuendo.pro b/src/apps/Innuendo/Innuendo.pro
79 +index c5a939d..2badea3 100644
80 +--- a/src/apps/Innuendo/Innuendo.pro
81 ++++ b/src/apps/Innuendo/Innuendo.pro
82 +@@ -6,7 +6,7 @@
83 +
84 + TARGET = Innuendo
85 + TEMPLATE = app
86 +-QT += network
87 ++QT += network sql
88 +
89 + include( ../../buildconfig.pri )
90 +
91 +diff --git a/src/apps/Sorcerer/Sorcerer.pro b/src/apps/Sorcerer/Sorcerer.pro
92 +index ae0c6e8..a016c84 100644
93 +--- a/src/apps/Sorcerer/Sorcerer.pro
94 ++++ b/src/apps/Sorcerer/Sorcerer.pro
95 +@@ -6,6 +6,7 @@
96 +
97 + TARGET = Sorcerer
98 + TEMPLATE = app
99 ++QT += network sql
100 +
101 + include( ../../buildconfig.pri )
102 +
103 +diff --git a/src/apps/Stripped/Stripped.pro b/src/apps/Stripped/Stripped.pro
104 +index 4651b32..8faaae3 100644
105 +--- a/src/apps/Stripped/Stripped.pro
106 ++++ b/src/apps/Stripped/Stripped.pro
107 +@@ -6,7 +6,7 @@
108 +
109 + TEMPLATE = app
110 + TARGET = Stripped
111 +-QT += network
112 ++QT += network sql
113 + CONFIG += link_pkgconfig
114 +
115 + include( ../../buildconfig.pri )
116 +--
117 +2.4.0
118 +
119
120 diff --git a/media-sound/slart/files/slart-0.8.0.880-unstripped.patch b/media-sound/slart/files/slart-0.8.0.880-unstripped.patch
121 new file mode 100644
122 index 0000000..a94bc71
123 --- /dev/null
124 +++ b/media-sound/slart/files/slart-0.8.0.880-unstripped.patch
125 @@ -0,0 +1,22 @@
126 +From e7a0ce74cb94226f4a98e76f0b787886913085b1 Mon Sep 17 00:00:00 2001
127 +From: Sebastian Pipping <sebastian@×××××××.org>
128 +Date: Mon, 29 Jun 2015 02:26:40 +0200
129 +Subject: [PATCH] Stop stripping executables
130 +
131 +---
132 + Makefile | 2 --
133 + 1 file changed, 2 deletions(-)
134 +
135 +diff --git a/Makefile b/Makefile
136 +index 15a10b8..d615845 100644
137 +--- a/Makefile
138 ++++ b/Makefile
139 +@@ -32,5 +32,3 @@ install: release
140 + >>$(DESTDIR)$(PREFIX)/share/doc/slart/README.DerMixD.gz
141 + for f in $(DOCS); do \
142 + gzip -9 <docs/$$f >$(DESTDIR)$(PREFIX)/share/doc/slart/$$f.gz ; done
143 +- strip -R .note -R .comment $(DESTDIR)$(PREFIX)/bin/*
144 +- strip --strip-unneeded $(DESTDIR)$(PREFIX)/lib/*
145 +--
146 +2.4.0
147 +
148
149 diff --git a/media-sound/slart/freedb.sqlite b/media-sound/slart/freedb.sqlite
150 new file mode 100644
151 index 0000000..cf34420
152 Binary files /dev/null and b/media-sound/slart/freedb.sqlite differ
153
154 diff --git a/media-sound/slart/slart-0.8.0.880.ebuild b/media-sound/slart/slart-0.8.0.880.ebuild
155 new file mode 100644
156 index 0000000..2115340
157 --- /dev/null
158 +++ b/media-sound/slart/slart-0.8.0.880.ebuild
159 @@ -0,0 +1,43 @@
160 +# Copyright 1999-2015 Gentoo Foundation
161 +# Distributed under the terms of the GNU General Public License v2
162 +# $Header: $
163 +
164 +EAPI="5"
165 +
166 +inherit versionator eutils
167 +
168 +MY_PV="$(get_version_component_range 1-3)-$(get_version_component_range 4)"
169 +DESCRIPTION="Collection of audio tools (SvOlli's Little Audio Related Thingies)"
170 +HOMEPAGE="http://svolli.org/software/slart/"
171 +SRC_URI="http://svolli.org/download.php/software/slart/${PN}-${MY_PV}.tar.bz2"
172 +
173 +LICENSE="GPL-2 GPL-3" # require both since the code does not say which version
174 +SLOT="0"
175 +KEYWORDS="~amd64 ~x86"
176 +IUSE=""
177 +
178 +DEPEND="
179 + app-arch/bzip2
180 + app-misc/lirc
181 + dev-qt/qtcore
182 + dev-qt/qtgui
183 + dev-qt/qtsql
184 + media-libs/flac
185 + media-libs/libogg
186 + media-libs/libvorbis
187 + media-sound/lame
188 + sys-devel/gcc[cxx]
189 + "
190 +RDEPEND="${DEPEND}
191 + <media-sound/dermixd-2"
192 +
193 +S="${WORKDIR}"/${PN}-${MY_PV}
194 +
195 +src_prepare() {
196 + epatch "${FILESDIR}"/${P}-*.patch
197 +}
198 +
199 +src_install() {
200 + emake DESTDIR="${D}" PREFIX=/usr install || die
201 + rm "${D}"/usr/share/applications/slart-stripped.desktop || die
202 +}