ports/187060: audio/tagutil: Update to version 3.0
KATO Tsuguru
tkato432 at yahoo.com
Tue Feb 25 18:10:07 UTC 2014
>Number: 187060
>Category: ports
>Synopsis: audio/tagutil: Update to version 3.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 25 18:10:07 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 3.0
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/tagutil/Makefile audio/tagutil/Makefile
--- /usr/ports/audio/tagutil/Makefile 2014-02-11 02:38:44.000000000 +0900
+++ audio/tagutil/Makefile 2014-02-26 00:00:00.000000000 +0900
@@ -1,26 +1,44 @@
# $FreeBSD: head/audio/tagutil/Makefile 343630 2014-02-10 13:27:09Z bapt $
PORTNAME= tagutil
-PORTVERSION= 2.1
-PORTREVISION= 1
+PORTVERSION= 3.0
CATEGORIES= audio
-MASTER_SITES= http://files.kaworu.ch/
+MASTER_SITES= GH
MAINTAINER= ports at FreeBSD.org
COMMENT= Tool to manage tags in music files
-DEPRECATED= No more public distfiles
-EXPIRATION_DATE= 2014-03-10
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
+LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml
-USES= pkgconfig
-NO_STAGE= yes
-MAKE_ENV= DESTDIR="${PREFIX}"
-
-MAN1= tagutil.1
-PLIST_FILES= bin/tagutil
-
-MANCOMPRESSED= yes
+USE_GITHUB= yes
+GH_ACCOUNT= kAworu
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 2c7a469
+
+USES= cmake pkgconfig
+
+PLIST_FILES= bin/tagutil man/man1/tagutil.1.gz
+
+OPTIONS_DEFINE= FLAC ID3TAG JSON VORBIS
+OPTIONS_DEFAULT= FLAC ID3TAG JSON VORBIS
+
+FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac
+FLAC_CMAKE_OFF= -DWITHOUT_FLAC:BOOL=ON
+ID3TAG_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
+ID3TAG_CMAKE_OFF= -DWITHOUT_TAGLIB:BOOL=ON
+JSON_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson
+JSON_CMAKE_OFF= -DWITHOUT_JSON:BOOL=ON
+VORBIS_LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis
+VORBIS_CMAKE_OFF= -DWITHOUT_OGGVORBIS:BOOL=ON
+VORBIS_LDFLAGS= -lvorbis -logg
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/DEBUG/s|^|#| ; \
+ /-std=c99/s|^|#| ; \
+ s|share/man|man|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff -urN /usr/ports/audio/tagutil/distinfo audio/tagutil/distinfo
--- /usr/ports/audio/tagutil/distinfo 2014-01-23 03:59:08.000000000 +0900
+++ audio/tagutil/distinfo 2014-02-26 00:00:00.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (tagutil-2.1.tar.gz) = 47fd22e2454887b0c9aa832a59f569a08bf4ddbb3915a40b7218034917ddb61b
-SIZE (tagutil-2.1.tar.gz) = 18627
+SHA256 (tagutil-3.0.tar.gz) = 3c63463d9d07f2ee298619c0d2bf5adbe3c4f55dbaff646a5d1ca55ea5220a29
+SIZE (tagutil-3.0.tar.gz) = 50502
diff -urN /usr/ports/audio/tagutil/pkg-descr audio/tagutil/pkg-descr
--- /usr/ports/audio/tagutil/pkg-descr 2014-01-23 03:59:08.000000000 +0900
+++ audio/tagutil/pkg-descr 2014-02-26 00:00:00.000000000 +0900
@@ -1,4 +1,9 @@
-Tagutil is a pure C BSDL tool to manage tag information on music
-files. It can work with every format supported by taglib.
+Tagutil is a CLI tool to edit music file's tag. It aim to provide both
+an easy-to-script interface and ease of use for human.
-WWW: http://hg.kaworu.ch/tagutil/
+Concepts:
+ - No config file
+ - Provide command for basic tag manipulations and YAML output / parsing
+ to allow scripting.
+
+WWW: https://github.com/kAworu/tagutil
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list