mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
libid3tag: Add the latest WinAMP extensions for the (obsolete) ID3v1 genres
This also fixes the typo of Bebop and harmonizes spelling with FFmpeg, see
60d599e217
A pull request to also harmonize the spelling with taglib is at
https://github.com/taglib/taglib/pull/942/
Approved by: maintainer
This commit is contained in:
parent
a89b0b737a
commit
fc4d6cec76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522867
2 changed files with 89 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= libid3tag
|
PORTNAME= libid3tag
|
||||||
PORTVERSION= 0.15.1b
|
PORTVERSION= 0.15.1b
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
|
MASTER_SITES= SF/mad/${PORTNAME}/${PORTVERSION} \
|
||||||
ftp://ftp.mars.org/pub/mpeg/
|
ftp://ftp.mars.org/pub/mpeg/
|
||||||
|
@ -19,6 +19,14 @@ INSTALL_TARGET= install-strip
|
||||||
USES= libtool pkgconfig
|
USES= libtool pkgconfig
|
||||||
USE_LDCONFIG= yes
|
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:
|
post-build:
|
||||||
cd ${WRKSRC} && CONFIG_FILES=id3tag.pc CONFIG_HEADERS= ${SH} ./config.status
|
cd ${WRKSRC} && CONFIG_FILES=id3tag.pc CONFIG_HEADERS= ${SH} ./config.status
|
||||||
|
|
||||||
|
|
80
audio/libid3tag/files/patch-genre.dat.in
Normal file
80
audio/libid3tag/files/patch-genre.dat.in
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue