summaryrefslogtreecommitdiffstats
path: root/audio-soft
diff options
context:
space:
mode:
authorFlorian Franzmann2016-08-30 11:22:14 +0200
committerFlorian Franzmann2016-09-06 18:11:40 +0200
commit12c43877c35f4fb17524463cfa178b64ebd6d320 (patch)
tree27336c8178212959899d50511602d374b22fcd81 /audio-soft
parent16a9ec585d5414138f8c3be9eb4969fc9f2804dc (diff)
audio-soft/mp3val: new spell, an mp3 validator
Diffstat (limited to 'audio-soft')
-rw-r--r--audio-soft/mp3val/0001-use-LDFLAGS-when-linking.patch25
-rwxr-xr-xaudio-soft/mp3val/BUILD1
-rwxr-xr-xaudio-soft/mp3val/DETAILS16
-rw-r--r--audio-soft/mp3val/HISTORY4
-rwxr-xr-xaudio-soft/mp3val/INSTALL1
-rwxr-xr-xaudio-soft/mp3val/PRE_BUILD4
6 files changed, 51 insertions, 0 deletions
diff --git a/audio-soft/mp3val/0001-use-LDFLAGS-when-linking.patch b/audio-soft/mp3val/0001-use-LDFLAGS-when-linking.patch
new file mode 100644
index 0000000000..4150ba1636
--- /dev/null
+++ b/audio-soft/mp3val/0001-use-LDFLAGS-when-linking.patch
@@ -0,0 +1,25 @@
+From abb33a3e46d4038cb386d7e123440a377772eeac Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <siflfran@hawo.net>
+Date: Tue, 30 Aug 2016 11:19:07 +0200
+Subject: [PATCH] use LDFLAGS when linking
+
+---
+ Makefile.linux | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/Makefile.linux b/Makefile.linux
+index 020336b..c383bf1 100755
+--- a/Makefile.linux
++++ b/Makefile.linux
+@@ -1,7 +1,5 @@
+-CXXFLAGS=-Wall -O2
+-
+ mp3val: main.o mpegparse.o out.o report.o crossapi.o crc.o
+- $(CXX) $(CXXFLAGS) $^ -o $@
++ $(CXX) $(LDFLAGS) -o $@ $^ $(LOADLIBES) $(LDLIBS)
+
+ clean:
+ rm -f mp3val
+--
+2.9.3
+
diff --git a/audio-soft/mp3val/BUILD b/audio-soft/mp3val/BUILD
new file mode 100755
index 0000000000..0ad88693a7
--- /dev/null
+++ b/audio-soft/mp3val/BUILD
@@ -0,0 +1 @@
+make -f Makefile.linux mp3val
diff --git a/audio-soft/mp3val/DETAILS b/audio-soft/mp3val/DETAILS
new file mode 100755
index 0000000000..e5246ee333
--- /dev/null
+++ b/audio-soft/mp3val/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=mp3val
+ VERSION=0.1.8-src
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/project/${SPELL}/${SPELL}/${SPELL}%200.1.8/${SOURCE}
+ SOURCE_HASH=sha512:62371453be53840fb0f0d87c9fcf9cbd6f5c8ae107e529f0cb6b8190ef9e7ebf564bb080c9d0a6adc3b5450673e70b5f4343dee82c1e6400750935cccebc2604
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://mp3val.sourceforge.net/"
+ LICENSE[0]=GPL
+ ENTERED=20160830
+ SHORT="a tool for checking MPEG audio files' integrity"
+cat << EOF
+MP3val is a small, high-speed, free software tool for checking MPEG
+audio files' integrity. It can be useful for finding corrupted files (e.g.
+incompletely downloaded, truncated, containing garbage). MP3val is also able
+to fix most of the problems.
+EOF
diff --git a/audio-soft/mp3val/HISTORY b/audio-soft/mp3val/HISTORY
new file mode 100644
index 0000000000..d967f7e567
--- /dev/null
+++ b/audio-soft/mp3val/HISTORY
@@ -0,0 +1,4 @@
+2016-08-30 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * BUILD, DETAILS, PRE_BUILD, 0001-use-LDFLAGS-when-linking.patch: spell created
+
+
diff --git a/audio-soft/mp3val/INSTALL b/audio-soft/mp3val/INSTALL
new file mode 100755
index 0000000000..39166fc81e
--- /dev/null
+++ b/audio-soft/mp3val/INSTALL
@@ -0,0 +1 @@
+install -m755 -o root -g root ${SOURCE_DIRECTORY}/mp3val ${INSTALL_ROOT}/usr/bin/
diff --git a/audio-soft/mp3val/PRE_BUILD b/audio-soft/mp3val/PRE_BUILD
new file mode 100755
index 0000000000..e1b92a7e9e
--- /dev/null
+++ b/audio-soft/mp3val/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+patch -p1 < "${SPELL_DIRECTORY}/0001-use-LDFLAGS-when-linking.patch"