aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xfmpc/Makefile
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-01-11 00:31:39 +0800
committerolivierd <olivierd@FreeBSD.org>2015-01-11 00:31:39 +0800
commitcd702a02c2060efde09df510908c2d5edd339e9a (patch)
tree0150a82b17dfa7413c5acfee3223a259ecf14da6 /audio/xfmpc/Makefile
parentf353d04d9e3d610087a4ac755830d4fbb49c99c0 (diff)
downloadfreebsd-ports-gnome-cd702a02c2060efde09df510908c2d5edd339e9a.tar.gz
freebsd-ports-gnome-cd702a02c2060efde09df510908c2d5edd339e9a.tar.zst
freebsd-ports-gnome-cd702a02c2060efde09df510908c2d5edd339e9a.zip
- Fix crash (use new GLib threads) [1]
- Unbreak build with Vala 0.26 (there are lot of warnings, because Xfmpc still uses Gtk2 code, deprecated since Vala 0.17.5) - Bump PORTREVISION PR: 195629 [1] Submitted by: Akhmichin Andrey
Diffstat (limited to 'audio/xfmpc/Makefile')
-rw-r--r--audio/xfmpc/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/xfmpc/Makefile b/audio/xfmpc/Makefile
index 8de4deb7acb8..d990af3da1b6 100644
--- a/audio/xfmpc/Makefile
+++ b/audio/xfmpc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xfmpc
PORTVERSION= 0.2.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
@@ -12,6 +12,7 @@ DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Graphical MPD client focusing on low footprint
+BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala
LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd
INSTALLS_ICONS= yes
@@ -20,4 +21,11 @@ GNU_CONFIGURE= yes
USE_GNOME= gtk20 intltool intlhack
USE_XFCE= configenv libmenu libutil
+post-extract:
+ ${CP} ${FILESDIR}/config.vapi ${WRKSRC}/src
+
+post-patch:
+ ${FIND} ${WRKSRC} -type f -name 'Makefile.in' | \
+ ${XARGS} ${REINPLACE_CMD} 's|@VALAC@|${LOCALBASE}/bin/valac|'
+
.include <bsd.port.mk>