Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 00:34:43 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383399 - in head/audio/mp3splt-gtk: . files
Message-ID:  <201504060034.t360Yhql062257@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Apr  6 00:34:42 2015
New Revision: 383399
URL: https://svnweb.freebsd.org/changeset/ports/383399

Log:
  - Fix configure and build, unbreak.
  
  The software dropped GTK2 support, now requires GTK3 and GSTREAMER1.
  
  Approved by:	just fix it blanket

Added:
  head/audio/mp3splt-gtk/files/
  head/audio/mp3splt-gtk/files/patch-src_player__window.c   (contents, props changed)
Modified:
  head/audio/mp3splt-gtk/Makefile

Modified: head/audio/mp3splt-gtk/Makefile
==============================================================================
--- head/audio/mp3splt-gtk/Makefile	Mon Apr  6 00:11:19 2015	(r383398)
+++ head/audio/mp3splt-gtk/Makefile	Mon Apr  6 00:34:42 2015	(r383399)
@@ -11,8 +11,6 @@ COMMENT=	Utility to split mp3 and ogg fi
 
 LICENSE=	GPLv2
 
-BROKEN=		Fails to configure
-
 LIB_DEPENDS=	libmp3splt.so:${PORTSDIR}/audio/libmp3splt \
 		libmad.so:${PORTSDIR}/audio/libmad \
 		libogg.so:${PORTSDIR}/audio/libogg \
@@ -21,18 +19,16 @@ LIB_DEPENDS=	libmp3splt.so:${PORTSDIR}/a
 		libltdl.so:${PORTSDIR}/devel/libltdl
 
 INSTALLS_OMF=	yes
-USE_GSTREAMER=	yes
-USE_GNOME=	gnomedocutils gtk20
+USE_GSTREAMER1=	yes
+USE_GNOME=	gnomedocutils gtk30
 GNU_CONFIGURE=	yes
 USES=		desktop-file-utils gmake pkgconfig
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-# disable audacious, because gtk 3 is required to enable it for this program...
 CONFIGURE_ARGS+=	--disable-audacious --with-mp3splt=${LOCALBASE} \
 		--with-mp3splt-includes=${LOCALBASE}/include \
-		--with-mp3splt-libraries=${LOCALBASE}/lib --disable-mp3splttest \
-		--disable-gtk3
+		--with-mp3splt-libraries=${LOCALBASE}/lib --disable-mp3splttest
 
 #PORTDOCS=	*
 

Added: head/audio/mp3splt-gtk/files/patch-src_player__window.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/mp3splt-gtk/files/patch-src_player__window.c	Mon Apr  6 00:34:42 2015	(r383399)
@@ -0,0 +1,10 @@
+--- src/player_window.c.orig	2014-05-10 14:48:57 UTC
++++ src/player_window.c
+@@ -36,6 +36,7 @@
+  * this file is used for the player control tab
+  **********************************************************/
+ 
++#include <time.h>
+ #include <sys/timeb.h>
+ 
+ #include "player_window.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504060034.t360Yhql062257>