Bug 184401 - update port and fix build: audio/mp3splt-gtk
Summary: update port and fix build: audio/mp3splt-gtk
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 01:10 UTC by Timothy Beyer
Modified: 2013-12-02 12:50 UTC (History)
1 user (show)

See Also:


Attachments
mp3splt-gtk.diff (903 bytes, patch)
2013-12-01 01:10 UTC, Timothy Beyer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Beyer 2013-12-01 01:10:00 UTC
- update port to version 0.8.2 (should fix build since libmp3splt is already version 0.8.2)

Fix: The included patch
How-To-Repeat: 
    Apply patch and build port
Comment 1 William Grzybowski freebsd_committer 2013-12-02 12:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 2 William Grzybowski freebsd_committer 2013-12-02 12:49:33 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer 2013-12-02 12:49:36 UTC
Author: wg
Date: Mon Dec  2 12:49:29 2013
New Revision: 335482
URL: http://svnweb.freebsd.org/changeset/ports/335482

Log:
  audio/mp3splt-gtk: update to 0.8.2
  
  - Update to 0.8.2 [1]
  - Use options helpers
  - Convert lib depends to new format
  - Allow staging
  
  PR:		ports/184401
  Submitted by:	maintainer

Modified:
  head/audio/mp3splt-gtk/Makefile
  head/audio/mp3splt-gtk/distinfo
  head/audio/mp3splt-gtk/pkg-plist

Modified: head/audio/mp3splt-gtk/Makefile
==============================================================================
--- head/audio/mp3splt-gtk/Makefile	Mon Dec  2 12:27:53 2013	(r335481)
+++ head/audio/mp3splt-gtk/Makefile	Mon Dec  2 12:49:29 2013	(r335482)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mp3splt-gtk
-PORTVERSION=	0.8.1
+PORTVERSION=	0.8.2
 CATEGORIES=	audio
 MASTER_SITES=	SF/mp3splt/${PORTNAME}/${PORTVERSION}
 
@@ -10,21 +10,19 @@ MAINTAINER=	beyert@cs.ucr.edu
 COMMENT=	Utility to split mp3 and ogg files (via GTK Interface)
 
 LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	mp3splt:${PORTSDIR}/audio/libmp3splt \
-		mad:${PORTSDIR}/audio/libmad \
-		ogg:${PORTSDIR}/audio/libogg \
-		vorbis:${PORTSDIR}/audio/libvorbis \
-		id3tag:${PORTSDIR}/audio/libid3tag
+LIB_DEPENDS=	libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
+		libmad.so:${PORTSDIR}/audio/libmad \
+		libogg.so:${PORTSDIR}/audio/libogg \
+		libvorbis.so:${PORTSDIR}/audio/libvorbis \
+		libid3tag.so:${PORTSDIR}/audio/libid3tag
 
 INSTALLS_OMF=	yes
 USE_AUTOTOOLS=	libltdl
-NO_STAGE=	yes
 USE_GSTREAMER=	yes
 USE_GNOME=	gnomedocutils gtk20
 GNU_CONFIGURE=	yes
-USES=		gmake pkgconfig
+USES=		desktop-file-utils gmake pkgconfig
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -34,9 +32,14 @@ CONFIGURE_ARGS+=	--disable-audacious --w
 		--with-mp3splt-libraries=${LOCALBASE}/lib --disable-mp3splttest \
 		--disable-gtk3
 
-MAN1=		mp3splt-gtk.1
 PORTDOCS=	*
 
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=	gettext
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -46,12 +49,4 @@ BUILD_DEPENDS+=	${LOCALBASE}/bin/doxygen
 CONFIGURE_ARGS+=	--disable-doxygen-doc
 .endif
 
-.if ! ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.endif
-
 .include <bsd.port.mk>

Modified: head/audio/mp3splt-gtk/distinfo
==============================================================================
--- head/audio/mp3splt-gtk/distinfo	Mon Dec  2 12:27:53 2013	(r335481)
+++ head/audio/mp3splt-gtk/distinfo	Mon Dec  2 12:49:29 2013	(r335482)
@@ -1,2 +1,2 @@
-SHA256 (mp3splt-gtk-0.8.1.tar.gz) = d0bfd6524bd29e061c9d00574c164ed70a112eec11f36ae8a240606c712f1241
-SIZE (mp3splt-gtk-0.8.1.tar.gz) = 1050681
+SHA256 (mp3splt-gtk-0.8.2.tar.gz) = 5634d0a6d15f73affc361c49cafb96a5e53fa2e65a6d7723e74a3a79d3f27c88
+SIZE (mp3splt-gtk-0.8.2.tar.gz) = 1049687

Modified: head/audio/mp3splt-gtk/pkg-plist
==============================================================================
--- head/audio/mp3splt-gtk/pkg-plist	Mon Dec  2 12:27:53 2013	(r335481)
+++ head/audio/mp3splt-gtk/pkg-plist	Mon Dec  2 12:49:29 2013	(r335482)
@@ -1,4 +1,5 @@
 bin/mp3splt-gtk
+man/man1/mp3splt-gtk.1.gz
 share/applications/mp3splt-gtk.desktop
 share/gnome/help/mp3splt-gtk/C/figures/FreeDBSearch.png
 share/gnome/help/mp3splt-gtk/C/figures/Preferences.png
_______________________________________________
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"