diff options
-rw-r--r-- | audio/mp3diags/DESCR | 10 | ||||
-rw-r--r-- | audio/mp3diags/Makefile | 27 | ||||
-rw-r--r-- | audio/mp3diags/PLIST | 2 | ||||
-rw-r--r-- | audio/mp3diags/distinfo | 6 | ||||
-rw-r--r-- | audio/mp3diags/patches/patch-aa | 17 |
5 files changed, 62 insertions, 0 deletions
diff --git a/audio/mp3diags/DESCR b/audio/mp3diags/DESCR new file mode 100644 index 00000000000..153184639ae --- /dev/null +++ b/audio/mp3diags/DESCR @@ -0,0 +1,10 @@ +Finds problems in MP3 files and helps the user to fix many of them. Looks +at both the audio part (VBR info, quality, normalization) and the tags +containing track information (ID3.) + +Has a tag editor, which can download album information (including cover art) +from MusicBrainz and Discogs, as well as paste data from the clipboard. +Track information can also be extracted from a file's name. + +Another component is the file renamer, which can rename files based on +the fields in their ID3V2 tag (artist, track number, album, genre, ...) diff --git a/audio/mp3diags/Makefile b/audio/mp3diags/Makefile new file mode 100644 index 00000000000..d12ee1a76c6 --- /dev/null +++ b/audio/mp3diags/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/07 09:34:39 drochner Exp $ +# + +DISTNAME= MP3Diags-0.99.02.020 +PKGNAME= mp3diags-0.99.02.020 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mp3diags/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://mp3diags.sourceforge.net/ +COMMENT= mp3 diagnosis tool and tag editor +LICENSE= gnu-gpl-v2 +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c++ + +do-configure: + (cd ${WRKSRC} && ${QTDIR}/bin/qmake) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/MP3Diags ${DESTDIR}${PREFIX}/bin + +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../devel/boost-headers/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/mp3diags/PLIST b/audio/mp3diags/PLIST new file mode 100644 index 00000000000..baa44c93328 --- /dev/null +++ b/audio/mp3diags/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/07/07 09:34:39 drochner Exp $ +bin/MP3Diags diff --git a/audio/mp3diags/distinfo b/audio/mp3diags/distinfo new file mode 100644 index 00000000000..685de665c20 --- /dev/null +++ b/audio/mp3diags/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/07/07 09:34:39 drochner Exp $ + +SHA1 (MP3Diags-0.99.02.020.tar.gz) = a98f0a3484b8ea634985a1244aa9894c870d7e7e +RMD160 (MP3Diags-0.99.02.020.tar.gz) = d0948cedd73c674f7fb763446275464bbf7d8d02 +Size (MP3Diags-0.99.02.020.tar.gz) = 851648 bytes +SHA1 (patch-aa) = 092a06403eb6d5753bb1e98bbab32e0e0fab626c diff --git a/audio/mp3diags/patches/patch-aa b/audio/mp3diags/patches/patch-aa new file mode 100644 index 00000000000..aa8f9c7275b --- /dev/null +++ b/audio/mp3diags/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/07/07 09:34:39 drochner Exp $ + +--- src/OsFile.cpp.orig 2009-06-22 15:53:58.000000000 +0200 ++++ src/OsFile.cpp +@@ -69,7 +69,12 @@ public: + //const char* m_szCurrentPath; + + #ifndef WIN32 ++#ifdef Linux + struct stat64 m_crtStat; ++#else ++ struct stat m_crtStat; ++#define lstat64 lstat ++#endif + #endif + + //glob_t m_findData; |