diff options
author | madpilot <madpilot@FreeBSD.org> | 2015-04-06 08:34:42 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2015-04-06 08:34:42 +0800 |
commit | 19c6fafa479312289a3a56fe69870338c1b92758 (patch) | |
tree | 89ab7ce5b1d273d94edfc4d51a28fd58b732a810 /audio | |
parent | a2aecf73b8425d5359a669721bc54e06ff789829 (diff) | |
download | freebsd-ports-gnome-19c6fafa479312289a3a56fe69870338c1b92758.tar.gz freebsd-ports-gnome-19c6fafa479312289a3a56fe69870338c1b92758.tar.zst freebsd-ports-gnome-19c6fafa479312289a3a56fe69870338c1b92758.zip |
- Fix configure and build, unbreak.
The software dropped GTK2 support, now requires GTK3 and GSTREAMER1.
Approved by: just fix it blanket
Diffstat (limited to 'audio')
-rw-r--r-- | audio/mp3splt-gtk/Makefile | 10 | ||||
-rw-r--r-- | audio/mp3splt-gtk/files/patch-src_player__window.c | 10 |
2 files changed, 13 insertions, 7 deletions
diff --git a/audio/mp3splt-gtk/Makefile b/audio/mp3splt-gtk/Makefile index e898eb39551a..76c4a3272d99 100644 --- a/audio/mp3splt-gtk/Makefile +++ b/audio/mp3splt-gtk/Makefile @@ -11,8 +11,6 @@ COMMENT= Utility to split mp3 and ogg files (via GTK Interface) 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}/audio/libmp3splt \ 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= * diff --git a/audio/mp3splt-gtk/files/patch-src_player__window.c b/audio/mp3splt-gtk/files/patch-src_player__window.c new file mode 100644 index 000000000000..b59ec5148a03 --- /dev/null +++ b/audio/mp3splt-gtk/files/patch-src_player__window.c @@ -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" |