[Lunar-commits] <moonbase> mp3diags: fixes MP3 audio files

Paul Bredbury brebs at lunar-linux.org
Fri Sep 18 14:08:12 CEST 2009


commit 1fa0787dcf3c9c537c574daf8d3f7df81611fa05
Author: Paul Bredbury <brebs at lunar-linux.org>
Date:   Fri Sep 18 19:08:12 2009 +0700

    mp3diags: fixes MP3 audio files
    
    Initial commit.
---
 zbeta/mp3diags/BUILD   |   40 ++++++++++++++++++++++++++++++++++++++++
 zbeta/mp3diags/DEPENDS |    3 +++
 zbeta/mp3diags/DETAILS |   23 +++++++++++++++++++++++
 3 files changed, 66 insertions(+), 0 deletions(-)

diff --git a/zbeta/mp3diags/BUILD b/zbeta/mp3diags/BUILD
new file mode 100644
index 0000000..ebbf5e0
--- /dev/null
+++ b/zbeta/mp3diags/BUILD
@@ -0,0 +1,40 @@
+(
+
+  # To be able to find qmake, installed in /opt/lunar/qt/4/bin/
+  source /etc/profile.d/qt4.rc  &&
+
+  # Fix boost setup - does same as ./AdjustMt.sh
+  sedit "s:lboost_serialization-mt:lboost_serialization:" src/src.pro  &&
+
+  qmake  &&
+  make  &&
+  prepare_install  &&
+
+  # Commands should not be in mixed-case
+  install -D bin/MP3Diags /usr/bin/$MODULE  &&
+
+  # Icon
+  for size in 16 22 24 32 36 48 ; do
+    install -D desktop/MP3Diags${size}.png /usr/share/icons/hicolor/${size}x${size}/apps/$MODULE.png
+  done  &&
+
+  # Desktop menu entry
+  cat > $MODULE.desktop << EOF  &&
+[Desktop Entry]
+Type=Application
+Name=MP3 Diags
+Comment=$SHORT
+Exec=$MODULE
+Icon=$MODULE
+Categories=AudioVideo;Audio;
+EOF
+
+  install -D -m644 $MODULE.desktop /usr/share/applications/$MODULE.desktop  &&
+
+  if [[ -e /usr/bin/gtk-update-icon-cache ]] ; then
+    gtk-update-icon-cache -f /usr/share/icons/hicolor/
+  fi  &&
+
+  gather_docs changelog.txt
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/mp3diags/DEPENDS b/zbeta/mp3diags/DEPENDS
new file mode 100644
index 0000000..a9af21e
--- /dev/null
+++ b/zbeta/mp3diags/DEPENDS
@@ -0,0 +1,3 @@
+depends boost
+depends zlib
+depends qt4
diff --git a/zbeta/mp3diags/DETAILS b/zbeta/mp3diags/DETAILS
new file mode 100644
index 0000000..bb51066
--- /dev/null
+++ b/zbeta/mp3diags/DETAILS
@@ -0,0 +1,23 @@
+          MODULE=mp3diags
+         VERSION=0.99.05.037
+          SOURCE=MP3Diags-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/MP3Diags-$VERSION
+   SOURCE_URL[0]=$SFORGE_URL/$MODULE
+   SOURCE_URL[1]=http://web.clicknet.ro/mciobanu/mp3diags/
+      SOURCE_VFY=sha1:7417e63b1475c694bcdb12a6f0bae58f3b6502dc
+        WEB_SITE=http://mp3diags.sourceforge.net/
+         ENTERED=20090917
+         UPDATED=20090917
+           SHORT="QT4 GUI to fix MP3 audio files"
+
+cat << EOF
+MP3 Diags is a GUI-based application that allows end-users to identify
+issues with their MP3 files, fix some of the issues and make other
+changes, like adding track information. It also lets you "look inside"
+an MP3 file.
+
+Unlike some programs that are designed to deal with a single topic
+(like fixing VBR headers or adding cover art), MP3 Diags is a one-stop
+solution that identifies more than 50 different issues in MP3 files,
+and provides the means to fix many of them.
+EOF


More information about the Lunar-commits mailing list