summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-04 21:54:34 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-04 21:55:08 +0100
commitf07288809408987f9759e7bca9c589aa444b0ada (patch)
treedfd55a8b3c40b46266f2caa4ab458c9f03b71c64 /media-sound/bpmdetect
parentmedia-sound/bpmdetect: Add 0.7.0_pre20170810 snapshot (diff)
downloadgentoo-f07288809408987f9759e7bca9c589aa444b0ada.tar.gz
gentoo-f07288809408987f9759e7bca9c589aa444b0ada.tar.bz2
gentoo-f07288809408987f9759e7bca9c589aa444b0ada.zip
media-sound/bpmdetect: Drop broken 0.6.1
Closes: https://bugs.gentoo.org/636312 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-sound/bpmdetect')
-rw-r--r--media-sound/bpmdetect/Manifest1
-rw-r--r--media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild49
-rw-r--r--media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch67
-rw-r--r--media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch37
-rw-r--r--media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch36
5 files changed, 0 insertions, 190 deletions
diff --git a/media-sound/bpmdetect/Manifest b/media-sound/bpmdetect/Manifest
index 15a0b5269794..d88aeaca7040 100644
--- a/media-sound/bpmdetect/Manifest
+++ b/media-sound/bpmdetect/Manifest
@@ -1,2 +1 @@
-DIST bpmdetect-0.6.1-src.tar.bz2 1433211 BLAKE2B e77d4d18dbcd935c259e9a5ed44a7719656dd5147004c121ec4dcc05e7b067ae423f2e1b3f3ff27405837278468b7a3063cd4362324d4608870d762594ceed55 SHA512 9018b81d4ccca94d000a304ae640b071a0ac748c9c7922f4d3c6894a647594dd712964870898e01ee1d93fb8890491ed62b1d4e5f60f07dae74bda7525f0672a
DIST bpmdetect-0.7.0_pre20170810.tar.gz 257777 BLAKE2B 8a6cfa43b70883d3bf03328c9e52a642140c5a25cd72ea5a9515394551e2ae108135b284b788e12a53e79cb0e2fd916d35a27d743558abb996ad5eb5db7beb45 SHA512 a2bbb67c2e5c46b08396e85fd4b91a5fa8622222929a4a67abdcb4587f04f1d8f40414800cb476f7aaa66d95571dd2d65332e48ed639b621a4351f70ab545779
diff --git a/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild b/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild
deleted file mode 100644
index 03402a37eec2..000000000000
--- a/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils scons-utils toolchain-funcs
-
-DESCRIPTION="Automatic BPM detection utility"
-HOMEPAGE="https://sourceforge.net/projects/bpmdetect"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="media-libs/taglib
- media-libs/id3lib
- >=media-libs/fmod-4.25.07-r1:1
- dev-qt/qtgui:4"
-DEPEND="${RDEPEND}
- sys-apps/sed
- dev-util/scons
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}
-PATCHES=(
- "${FILESDIR}/${P}-gcc44_and_fmodex_path.patch"
- "${FILESDIR}/${P}-fix-buildsystem.patch"
- "${FILESDIR}/${P}-fix-printf-format.patch"
-)
-
-src_configure() {
- myscons=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- QTDIR="/usr/$(get_libdir)"
- prefix="${D}/usr"
- )
-}
-
-src_compile() {
- escons "${myscons[@]}"
-}
-
-src_install() {
- escons "${myscons[@]}" install
- dodoc authors readme todo
-}
diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch
deleted file mode 100644
index fa6c0e59db68..000000000000
--- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-* Fix QA issues in desktop file
-* Make buildsystem respect CXX, CXXFLAGS and LDFLAGS
-https://bugs.gentoo.org/show_bug.cgi?id=334465
-
---- bpmdetect/src/bpmdetect.desktop
-+++ bpmdetect/src/bpmdetect.desktop
-@@ -2,7 +2,7 @@
- Encoding=UTF-8
- Name=BPMDetect
- Exec=bpmdetect
--Icon=bpmdetect-icon.png
-+Icon=bpmdetect-icon
- Type=Application
- Comment=Automatic BPM detection utility
--Categories=Application;AudioVideo;Audio:
-+Categories=AudioVideo;Audio;
---- bpmdetect/src/SConscript
-+++ bpmdetect/src/SConscript
-@@ -1,5 +1,6 @@
- #! /usr/bin/env python
- import os, sys, glob
-+import SCons.Util
-
- if not sys.platform.startswith('win'):
- BOLD ="\033[1m"
-@@ -156,17 +157,18 @@
- env.__delitem__('CPPPATH')
- if env.has_key('CPPDEFINES'):
- env.__delitem__('CPPDEFINES')
-- if env.has_key('CXXFLAGS'):
-- env.__delitem__('CXXFLAGS')
- if env.has_key('LIBPATH'):
- env.__delitem__('LIBPATH')
- if env.has_key('LIBS'):
- env.__delitem__('LIBS')
-- if env.has_key('LINKFLAGS'):
-- env.__delitem__('LINKFLAGS')
- if env.has_key('QT3'):
- env.__delitem__('QT3')
-
-+ if os.environ.has_key('CXXFLAGS'):
-+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
-+ if os.environ.has_key('LDFLAGS'):
-+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
-+
- print BOLD + """
- --------------------------------------------------""" + NORMAL
- print "Use MinGW compiler : ",
-@@ -189,7 +191,6 @@
- env.Append(CXXFLAGS = '-g')
- else:
- print 'no '
-- env.Append(CXXFLAGS = '-O2' )
- env.Append(CPPDEFINES = ['NDEBUG', 'NO_DEBUG'])
- env['DEBUG'] = 0
-
-@@ -309,6 +310,10 @@
- ( 'LINKFLAGS', 'linker flags'),
- ( 'QT3', 'use qt3')
- )
-+if os.environ.has_key('CC'):
-+ env['CC'] = os.environ['CC']
-+if os.environ.has_key('CXX'):
-+ env['CXX'] = os.environ['CXX']
- opts.Update(env)
-
- # to avoid an error message 'how to make target configure... ?'
diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch
deleted file mode 100644
index 89bf64445e76..000000000000
--- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-Fix broken printf statements:
-* src/main.cpp:49:62: warning: too many arguments for format [-Wformat-extra-args]
-* printf("Usage:\n bpmdetect [switches] [files]\n\n", version);
-*
-* src/track.cpp:111:57: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘double’ [-Wformat=]
-* snprintf(buffer, BPM_LEN, "%05d", (int) dBPM * 100. );
-
---- bpmdetect/src/main.cpp
-+++ bpmdetect/src/main.cpp
-@@ -34,6 +34,7 @@
- #endif
-
- #include <getopt.h>
-+#include <stdio.h>
-
- #include "track.h"
- #include "trackfmod.h" // for FMOD system
-@@ -46,7 +47,7 @@
-
- void display_help() {
- printf("BPMDetect version %s\n\n", version);
-- printf("Usage:\n bpmdetect [switches] [files]\n\n", version);
-+ fputs("Usage:\n bpmdetect [switches] [files]\n\n", stdout);
- printf("Switches:\n");
- #ifndef NO_GUI
- printf("-c --console - run in console mode\n");
---- bpmdetect/src/track.cpp
-+++ bpmdetect/src/track.cpp
-@@ -108,7 +108,7 @@
- } else if( format == "000" ) {
- snprintf(buffer, BPM_LEN, "%03d", (int) dBPM );
- } else if( format == "00000" ) {
-- snprintf(buffer, BPM_LEN, "%05d", (int) dBPM * 100. );
-+ snprintf(buffer, BPM_LEN, "%05d", static_cast<int>(dBPM * 100.) );
- } else { // all other formats are converted to "0.00"
- snprintf(buffer, BPM_LEN, "%.2f", dBPM );
- }
diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch
deleted file mode 100644
index c29961645615..000000000000
--- a/media-sound/bpmdetect/files/bpmdetect-0.6.1-gcc44_and_fmodex_path.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ur bpmdetect.orig/src/main.cpp bpmdetect/src/main.cpp
---- bpmdetect.orig/src/main.cpp 2008-05-01 12:50:18.000000000 +0300
-+++ bpmdetect/src/main.cpp 2009-06-03 22:24:56.000000000 +0300
-@@ -20,6 +20,8 @@
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-
-+#include <cstdio>
-+
- #ifndef NO_GUI
- #ifdef USE_QT3
- #include "dlgbpmdetect3.h"
-diff -ur bpmdetect.orig/src/SConscript bpmdetect/src/SConscript
---- bpmdetect.orig/src/SConscript 2008-04-24 19:49:52.000000000 +0300
-+++ bpmdetect/src/SConscript 2009-06-03 22:33:57.000000000 +0300
-@@ -234,7 +234,7 @@
-
- env.Append(LIBS = ['id3', 'fmodex', 'z'])
- env.Append(CPPPATH = ['.', '..', '../includes'])
-- env.Append(LIBPATH = ['.', '../libs'])
-+ env.Append(LIBPATH = ['.', '../libs', '/opt/fmodex/api/lib'])
- env['ISCONFIGURED']=1
- # And finally save the options in the cache
- opts.Save(cachefile, env)
-diff -ur bpmdetect.orig/src/track.cpp bpmdetect/src/track.cpp
---- bpmdetect.orig/src/track.cpp 2008-04-25 22:33:18.000000000 +0300
-+++ bpmdetect/src/track.cpp 2009-06-03 22:26:24.000000000 +0300
-@@ -20,6 +20,8 @@
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
- ***************************************************************************/
-
-+#include <cstdio>
-+
- #include "track.h"
- #include "trackfmod.h"
- #include "BPMDetect.h"