pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/id3ren



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sun Aug 30 10:41:01 UTC 2020

Added Files:
        pkgsrc/audio/id3ren: DESCR Makefile PLIST distinfo
        pkgsrc/audio/id3ren/patches: patch-src_Makefile patch-src_id3ren.c

Log Message:
audio/id3ren: import id3ren-0.0.20130521

id3ren is used to rename batches of mp3 files by reading the ID3 tag
at the end of the file which contains the song name, artist, album, year,
and a comment.

The secondary function of id3ren is a tagger, which can create, modify,
or remove ID3 tags. The id3 fields can be set on the command line,
entered interactively, or "guessed" from the path and the filename.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/id3ren/DESCR pkgsrc/audio/id3ren/Makefile \
    pkgsrc/audio/id3ren/PLIST pkgsrc/audio/id3ren/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/id3ren/patches/patch-src_Makefile \
    pkgsrc/audio/id3ren/patches/patch-src_id3ren.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/id3ren/DESCR
diff -u /dev/null pkgsrc/audio/id3ren/DESCR:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/DESCR   Sun Aug 30 10:41:01 2020
@@ -0,0 +1,7 @@
+id3ren is used to rename batches of mp3 files by reading the ID3 tag
+at the end of the file which contains the song name, artist, album, year,
+and a comment.
+
+The secondary function of id3ren is a tagger, which can create, modify,
+or remove ID3 tags. The id3 fields can be set on the command line,
+entered interactively, or "guessed" from the path and the filename.
Index: pkgsrc/audio/id3ren/Makefile
diff -u /dev/null pkgsrc/audio/id3ren/Makefile:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/Makefile        Sun Aug 30 10:41:01 2020
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/08/30 10:41:01 jmcneill Exp $
+
+GITHUB_PROJECT=        id3ren
+GITHUB_TAG=    b061aba2bfa25bcde732776262cc2a19d66b416a
+DISTNAME=      b061aba2bfa25bcde732776262cc2a19d66b416a
+PKGNAME=       ${GITHUB_PROJECT}-0.0.20130521
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=sebcode/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+EXTRACT_SUFX=  .zip
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sebcode/id3ren/
+COMMENT=       Rename batches of mp3 files using ID3 tags
+LICENSE=       gnu-gpl-v2
+
+WRKSRC=        ${WRKDIR}/id3ren-${GITHUB_TAG}
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/src/id3ren \
+           ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/man/id3ren.1 \
+           ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/id3ren.1
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/id3ren/PLIST
diff -u /dev/null pkgsrc/audio/id3ren/PLIST:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/PLIST   Sun Aug 30 10:41:01 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/30 10:41:01 jmcneill Exp $
+bin/id3ren
+man/man1/id3ren.1
Index: pkgsrc/audio/id3ren/distinfo
diff -u /dev/null pkgsrc/audio/id3ren/distinfo:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/distinfo        Sun Aug 30 10:41:01 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/08/30 10:41:01 jmcneill Exp $
+
+SHA1 (id3ren/b061aba2bfa25bcde732776262cc2a19d66b416a-b061aba2bfa25bcde732776262cc2a19d66b416a.zip) = 174699ade0936480c12170485f98a0f83b34a717
+RMD160 (id3ren/b061aba2bfa25bcde732776262cc2a19d66b416a-b061aba2bfa25bcde732776262cc2a19d66b416a.zip) = 9b1949739e1f983f25e2188b5411739d851e2052
+SHA512 (id3ren/b061aba2bfa25bcde732776262cc2a19d66b416a-b061aba2bfa25bcde732776262cc2a19d66b416a.zip) = 
eca70a4b1eadc03482d73f8a71d59d7eb61404ae8d426b0aaa3654f0223d80559bb16502251574fe76aa1b1ac1fa709d079b8a3606395ac236dcf9b6c6b20b21
+Size (id3ren/b061aba2bfa25bcde732776262cc2a19d66b416a-b061aba2bfa25bcde732776262cc2a19d66b416a.zip) = 44763 bytes
+SHA1 (patch-src_Makefile) = 1861f10574f1fb7d53972ae0689861f3884d69a4
+SHA1 (patch-src_id3ren.c) = 6ccc73cef01980e274363df9305cfd0952e972e4

Index: pkgsrc/audio/id3ren/patches/patch-src_Makefile
diff -u /dev/null pkgsrc/audio/id3ren/patches/patch-src_Makefile:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/patches/patch-src_Makefile      Sun Aug 30 10:41:01 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makefile,v 1.1 2020/08/30 10:41:01 jmcneill Exp $
+
+Use PKG_SYSCONFDIR instead of hard-coding /etc.
+
+--- src/Makefile.orig  2013-05-21 13:56:15.000000000 +0000
++++ src/Makefile
+@@ -1,5 +1,5 @@
+ CFLAGSDEBUG = -g -O2 -Wall -DDEBUG
+-CFLAGS = -s -O2 -Wall
++CFLAGS = -s -O2 -Wall -DPKG_SYSCONFDIR=\"$(PKG_SYSCONFDIR)\"
+ CC = gcc
+ RM = rm -f
+ INSTALL = install -D -s -m 755
Index: pkgsrc/audio/id3ren/patches/patch-src_id3ren.c
diff -u /dev/null pkgsrc/audio/id3ren/patches/patch-src_id3ren.c:1.1
--- /dev/null   Sun Aug 30 10:41:01 2020
+++ pkgsrc/audio/id3ren/patches/patch-src_id3ren.c      Sun Aug 30 10:41:01 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_id3ren.c,v 1.1 2020/08/30 10:41:01 jmcneill Exp $
+
+Use PKG_SYSCONFDIR instead of hard-coding /etc.
+
+--- src/id3ren.c.orig  2013-05-21 13:56:15.000000000 +0000
++++ src/id3ren.c
+@@ -794,7 +794,7 @@ check_args (int argc, char *argv[])
+   #ifdef __WIN32__
+         read_config(program_path, CONFIG_GLOBAL);
+   #else
+-        read_config("/etc", CONFIG_GLOBAL);
++        read_config(PKG_SYSCONFDIR, CONFIG_GLOBAL);
+   #endif
+   }
+ 



Home | Main Index | Thread Index | Old Index