svn commit: r522867 - in head/audio/libid3tag: . files
Ulrich Spoerlein
uqs at FreeBSD.org
Mon Jan 13 08:35:52 UTC 2020
Author: uqs
Date: Mon Jan 13 08:35:51 2020
New Revision: 522867
URL: https://svnweb.freebsd.org/changeset/ports/522867
Log:
libid3tag: Add the latest WinAMP extensions for the (obsolete) ID3v1 genres
This also fixes the typo of Bebop and harmonizes spelling with FFmpeg, see
https://github.com/FFmpeg/FFmpeg/commit/60d599e2173508e1c4cc614ede6d239b2e15142d
A pull request to also harmonize the spelling with taglib is at
https://github.com/taglib/taglib/pull/942/
Approved by: maintainer
Added:
head/audio/libid3tag/files/patch-genre.dat.in (contents, props changed)
Modified:
head/audio/libid3tag/Makefile
Modified: head/audio/libid3tag/Makefile
==============================================================================
--- head/audio/libid3tag/Makefile Mon Jan 13 08:27:10 2020 (r522866)
+++ head/audio/libid3tag/Makefile Mon Jan 13 08:35:51 2020 (r522867)
@@ -3,7 +3,7 @@
PORTNAME= libid3tag
PORTVERSION= 0.15.1b
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
ftp://ftp.mars.org/pub/mpeg/
@@ -18,6 +18,14 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= libtool pkgconfig
USE_LDCONFIG= yes
+
+BUILD_DEPENDS= gsed:textproc/gsed
+
+post-patch:
+ @${REINPLACE_CMD} -e '/genre.dat.in/s/sed -/g&/g' ${WRKSRC}/Makefile.in
+
+pre-build:
+ cd ${WRKSRC} && ${MAKE} ./genre.dat
post-build:
cd ${WRKSRC} && CONFIG_FILES=id3tag.pc CONFIG_HEADERS= ${SH} ./config.status
Added: head/audio/libid3tag/files/patch-genre.dat.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/libid3tag/files/patch-genre.dat.in Mon Jan 13 08:35:51 2020 (r522867)
@@ -0,0 +1,80 @@
+--- genre.dat.in.orig 2004-01-23 10:41:32.000000000 +0100
++++ genre.dat.in 2020-01-12 22:50:01.267560000 +0100
+@@ -22,7 +22,7 @@
+ /*
+ * These are the ID3 genre names, taken as a combination of names from ID3v1
+ * (listed in Appendix A of the ID3 tag version 2.4.0 informal standard) and
+- * the extensions made by Winamp as of version 2.80.
++ * the extensions made by Winamp as of version 5.6.
+ */
+
+ /* ID3v1 names (0-79) */
+@@ -115,7 +115,7 @@
+ National Folk
+ Swing
+ Fast-Fusion
+-Bebob
++Bebop
+ Latin
+ Revival
+ Celtic
+@@ -159,7 +159,7 @@
+ Goa
+ Drum & Bass
+ Club-House
+-Hardcore
++Hardcore Techno
+ Terror
+ Indie
+ BritPop
+@@ -176,5 +176,49 @@
+ Salsa
+ Thrash Metal
+ Anime
+-JPop
++Jpop
+ Synthpop
++Abstract
++Art Rock
++Baroque
++Bhangra
++Big Beat
++Breakbeat
++Chillout
++Downtempo
++Dub
++EBM
++Eclectic
++Electro
++Electroclash
++Emo
++Experimental
++Garage
++Global
++IDM
++Illbient
++Industro-Goth
++Jam Band
++Krautrock
++Leftfield
++Lounge
++Math Rock
++New Romantic
++Nu-Breakz
++Post-Punk
++Post-Rock
++Psytrance
++Shoegaze
++Space Rock
++Trop Rock
++World Music
++Neoclassical
++Audiobook
++Audio Theatre
++Neue Deutsche Welle
++Podcast
++Indie-Rock
++G-Funk
++Dubstep
++Garage Rock
++Psybient
More information about the svn-ports-head
mailing list