commit:     5b1a95db91d7a2f31bc48d460179e14b1b28d2f4
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Mon Jun 29 00:52:20 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Jun 30 21:36:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=5b1a95db

media-sound/slart: 0.8.0.880

 .../files/slart-0.8.0.880-exclude-stripped.patch   |  23 +++++++
 .../slart/files/slart-0.8.0.880-linking.patch      |  66 +++++++++++++++++++++
 .../slart/files/slart-0.8.0.880-unstripped.patch   |  22 +++++++
 media-sound/slart/freedb.sqlite                    | Bin 0 -> 26624 bytes
 media-sound/slart/slart-0.8.0.880.ebuild           |  43 ++++++++++++++
 5 files changed, 154 insertions(+)

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
new file mode 100644
index 0000000..7fff27e
--- /dev/null
+++ b/media-sound/slart/files/slart-0.8.0.880-exclude-stripped.patch
@@ -0,0 +1,23 @@
+From 6c2a170e94955bd391351af0f4cf2e4d97e9ae56 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebast...@pipping.org>
+Date: Mon, 29 Jun 2015 02:21:40 +0200
+Subject: [PATCH] Do not build tool "Stripped" (due to compile cdio paranoia
+ compile errors)
+
+---
+ src/apps/apps.pro | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/apps/apps.pro b/src/apps/apps.pro
+index 8057be1..8a97a44 100644
+--- a/src/apps/apps.pro
++++ b/src/apps/apps.pro
+@@ -14,5 +14,4 @@ SUBDIRS += Notorious
+ SUBDIRS += Partyman
+ SUBDIRS += Rubberbandman
+ SUBDIRS += Sorcerer
+-SUBDIRS += Stripped
+ 
+-- 
+2.4.0
+

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
new file mode 100644
index 0000000..abcc578
--- /dev/null
+++ b/media-sound/slart/files/slart-0.8.0.880-linking.patch
@@ -0,0 +1,66 @@
+From 58acf6ca42ce9b82b166de63c45d634321ef48ce Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebast...@pipping.org>
+Date: Mon, 29 Jun 2015 01:59:31 +0200
+Subject: [PATCH] Fix Qt linking errors
+
+---
+ src/apps/Funkytown/Funkytown.pro | 2 +-
+ src/apps/Innuendo/Innuendo.pro   | 2 +-
+ src/apps/Sorcerer/Sorcerer.pro   | 1 +
+ src/apps/Stripped/Stripped.pro   | 2 +-
+ 4 files changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/apps/Funkytown/Funkytown.pro 
b/src/apps/Funkytown/Funkytown.pro
+index 799b096..fc95b52 100644
+--- a/src/apps/Funkytown/Funkytown.pro
++++ b/src/apps/Funkytown/Funkytown.pro
+@@ -6,7 +6,7 @@
+ 
+ TARGET = Funkytown
+ TEMPLATE = app
+-QT += network
++QT += network sql
+ 
+ include( ../../buildconfig.pri )
+ 
+diff --git a/src/apps/Innuendo/Innuendo.pro b/src/apps/Innuendo/Innuendo.pro
+index c5a939d..2badea3 100644
+--- a/src/apps/Innuendo/Innuendo.pro
++++ b/src/apps/Innuendo/Innuendo.pro
+@@ -6,7 +6,7 @@
+ 
+ TARGET = Innuendo
+ TEMPLATE = app
+-QT += network
++QT += network sql
+ 
+ include( ../../buildconfig.pri )
+ 
+diff --git a/src/apps/Sorcerer/Sorcerer.pro b/src/apps/Sorcerer/Sorcerer.pro
+index ae0c6e8..a016c84 100644
+--- a/src/apps/Sorcerer/Sorcerer.pro
++++ b/src/apps/Sorcerer/Sorcerer.pro
+@@ -6,6 +6,7 @@
+ 
+ TARGET = Sorcerer
+ TEMPLATE = app
++QT += network sql
+ 
+ include( ../../buildconfig.pri )
+ 
+diff --git a/src/apps/Stripped/Stripped.pro b/src/apps/Stripped/Stripped.pro
+index 4651b32..8faaae3 100644
+--- a/src/apps/Stripped/Stripped.pro
++++ b/src/apps/Stripped/Stripped.pro
+@@ -6,7 +6,7 @@
+ 
+ TEMPLATE = app
+ TARGET = Stripped
+-QT += network
++QT += network sql
+ CONFIG += link_pkgconfig
+ 
+ include( ../../buildconfig.pri )
+-- 
+2.4.0
+

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
new file mode 100644
index 0000000..a94bc71
--- /dev/null
+++ b/media-sound/slart/files/slart-0.8.0.880-unstripped.patch
@@ -0,0 +1,22 @@
+From e7a0ce74cb94226f4a98e76f0b787886913085b1 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebast...@pipping.org>
+Date: Mon, 29 Jun 2015 02:26:40 +0200
+Subject: [PATCH] Stop stripping executables
+
+---
+ Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 15a10b8..d615845 100644
+--- a/Makefile
++++ b/Makefile
+@@ -32,5 +32,3 @@ install: release
+           >>$(DESTDIR)$(PREFIX)/share/doc/slart/README.DerMixD.gz
+       for f in $(DOCS); do \
+         gzip -9 <docs/$$f >$(DESTDIR)$(PREFIX)/share/doc/slart/$$f.gz ; done
+-      strip -R .note -R .comment $(DESTDIR)$(PREFIX)/bin/*
+-      strip --strip-unneeded $(DESTDIR)$(PREFIX)/lib/*
+-- 
+2.4.0
+

diff --git a/media-sound/slart/freedb.sqlite b/media-sound/slart/freedb.sqlite
new file mode 100644
index 0000000..cf34420
Binary files /dev/null and b/media-sound/slart/freedb.sqlite differ

diff --git a/media-sound/slart/slart-0.8.0.880.ebuild 
b/media-sound/slart/slart-0.8.0.880.ebuild
new file mode 100644
index 0000000..2115340
--- /dev/null
+++ b/media-sound/slart/slart-0.8.0.880.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit versionator eutils
+
+MY_PV="$(get_version_component_range 1-3)-$(get_version_component_range 4)"
+DESCRIPTION="Collection of audio tools (SvOlli's Little Audio Related 
Thingies)"
+HOMEPAGE="http://svolli.org/software/slart/";
+SRC_URI="http://svolli.org/download.php/software/slart/${PN}-${MY_PV}.tar.bz2";
+
+LICENSE="GPL-2 GPL-3"  # require both since the code does not say which version
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       app-arch/bzip2
+       app-misc/lirc
+       dev-qt/qtcore
+       dev-qt/qtgui
+       dev-qt/qtsql
+       media-libs/flac
+       media-libs/libogg
+       media-libs/libvorbis
+       media-sound/lame
+       sys-devel/gcc[cxx]
+       "
+RDEPEND="${DEPEND}
+       <media-sound/dermixd-2"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-*.patch
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX=/usr install || die
+       rm "${D}"/usr/share/applications/slart-stripped.desktop || die
+}

Reply via email to