Bug 187256 - update audio/tagutil to version 3.0
Summary: update audio/tagutil to version 3.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philippe Audeoud
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 12:50 UTC by alex
Modified: 2014-03-04 14:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.71 KB, patch)
2014-03-04 12:50 UTC, alex
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex 2014-03-04 12:50:01 UTC
This patch update audio/tagutil to the latest version.

Fix: Patch attached with submission follows:
Comment 1 Philippe Audeoud freebsd_committer freebsd_triage 2014-03-04 13:58:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jadawin

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-04 14:08:47 UTC
Author: jadawin
Date: Tue Mar  4 14:08:33 2014
New Revision: 347020
URL: http://svnweb.freebsd.org/changeset/ports/347020
QAT: https://qat.redports.org/buildarchive/r347020/

Log:
  - Update to 3.0
  - Support STAGE
  - Undeprecate port
  - Submitter is now maintainer
  
  PR:		ports/187256
  Submitted by:	Alexandre Perrin <alex@kaworu.ch>

Modified:
  head/audio/tagutil/Makefile
  head/audio/tagutil/distinfo
  head/audio/tagutil/pkg-descr

Modified: head/audio/tagutil/Makefile
==============================================================================
--- head/audio/tagutil/Makefile	Tue Mar  4 14:03:11 2014	(r347019)
+++ head/audio/tagutil/Makefile	Tue Mar  4 14:08:33 2014	(r347020)
@@ -1,26 +1,42 @@
 # $FreeBSD$
 
 PORTNAME=	tagutil
-PORTVERSION=	2.1
-PORTREVISION=	1
+PORTVERSION=	3.0
 CATEGORIES=	audio
-MASTER_SITES=	http://files.kaworu.ch/
+MASTER_SITES=	GH
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Tool to manage tags in music files
+MAINTAINER=	alex@kaworu.ch
+COMMENT=	Command line interface tool to manage tags in music files
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-10
+LICENSE=	BSD2CLAUSE
 
-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=	${GH_COMMIT}
+GH_COMMIT=	8e40bab
+
+USES=		pkgconfig cmake iconv
+PLIST_FILES=	bin/tagutil \
+		man/man1/tagutil.1.gz
+
+CMAKE_ARGS=	-DMAN_PATH=${PREFIX}/man
+
+OPTIONS_DEFINE=	JSON
+OPTIONS_MULTI=	MEDIA
+OPTIONS_MULTI_MEDIA=	FLAC OGG TAGLIB
+OPTIONS_DEFAULT=	FLAC OGG TAGLIB
+TAGLIB_DESC=	Multiple file format but limited tags support
+JSON_DESC=	JSON output format support
+
+JSON_LIB_DEPENDS+=	libjansson.so:${PORTSDIR}/devel/jansson
+JSON_CMAKE_OFF+=	-DWITHOUT_JSON=yes
+FLAC_LIB_DEPENDS+=	libFLAC.so:${PORTSDIR}/audio/flac
+FLAC_CMAKE_OFF+=	-DWITHOUT_FLAC=yes
+OGG_LIB_DEPENDS+=	libvorbisfile.so:${PORTSDIR}/audio/libvorbis
+OGG_CMAKE_OFF+=	-DWITHOUT_OGGVORBIS=yes
+TAGLIB_LIB_DEPENDS+=	libtag_c.so:${PORTSDIR}/audio/taglib
+TAGLIB_CMAKE_OFF+=	-DWITHOUT_TAGLIB=yes
 
 .include <bsd.port.mk>

Modified: head/audio/tagutil/distinfo
==============================================================================
--- head/audio/tagutil/distinfo	Tue Mar  4 14:03:11 2014	(r347019)
+++ head/audio/tagutil/distinfo	Tue Mar  4 14:08:33 2014	(r347020)
@@ -1,2 +1,2 @@
-SHA256 (tagutil-2.1.tar.gz) = 47fd22e2454887b0c9aa832a59f569a08bf4ddbb3915a40b7218034917ddb61b
-SIZE (tagutil-2.1.tar.gz) = 18627
+SHA256 (tagutil-3.0.tar.gz) = 298ca121b8aa72bb95a70f433c69d8f83879f83ceae2b9f9145da1f94925f622
+SIZE (tagutil-3.0.tar.gz) = 52399

Modified: head/audio/tagutil/pkg-descr
==============================================================================
--- head/audio/tagutil/pkg-descr	Tue Mar  4 14:03:11 2014	(r347019)
+++ head/audio/tagutil/pkg-descr	Tue Mar  4 14:08:33 2014	(r347020)
@@ -1,4 +1,5 @@
-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 interactively and fully support Vorbis
+Comments (unlimited set of tags).
 
-WWW: http://hg.kaworu.ch/tagutil/
+WWW: https://github.com/kAworu/tagutil
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Philippe Audeoud freebsd_committer freebsd_triage 2014-03-04 14:09:04 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!