2012-10-07 00:51:32 +02:00
|
|
|
# Created by: Matt Lancereau <ports@FreeBSD.org>
|
2005-01-29 17:32:15 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-05-25 22:38:05 +02:00
|
|
|
PORTNAME= xfce4-media
|
2006-11-29 21:55:02 +01:00
|
|
|
PORTVERSION= 0.9.2
|
2013-05-08 18:05:21 +02:00
|
|
|
PORTREVISION= 28
|
2005-01-29 17:32:15 +01:00
|
|
|
CATEGORIES= multimedia xfce
|
2005-11-26 00:37:59 +01:00
|
|
|
MASTER_SITES= http://spuriousinterrupt.org/files/xfmedia/
|
2005-01-29 17:32:15 +01:00
|
|
|
DISTNAME= xfmedia-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= xfce4
|
|
|
|
|
2011-10-18 23:48:30 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2005-01-29 17:32:15 +01:00
|
|
|
COMMENT= Lightweight media player for Xfce4 based on the xine engine
|
|
|
|
|
2012-12-14 18:45:10 +01:00
|
|
|
LIB_DEPENDS= xine:${PORTSDIR}/multimedia/libxine
|
2006-06-12 09:10:37 +02:00
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-02-12 07:43:50 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2005-01-29 17:32:15 +01:00
|
|
|
USE_BZIP2= yes
|
2006-01-29 22:54:11 +01:00
|
|
|
USE_GMAKE= yes
|
2013-04-26 12:44:28 +02:00
|
|
|
USES= pathfix pkgconfig gettext
|
2013-03-28 04:28:30 +01:00
|
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
2007-02-12 07:43:50 +01:00
|
|
|
USE_XFCE= configenv libexo libgui libutil panel
|
2008-03-14 20:22:36 +01:00
|
|
|
USE_XORG= x11 sm
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2012-10-07 00:51:32 +02:00
|
|
|
OPTIONS_DEFINE= TAGLIB DBUS STARTUP
|
|
|
|
OPTIONS_DEFAULT= DBUS STARTUP
|
|
|
|
|
|
|
|
TAGLIB_DESC= metadata editing support
|
|
|
|
STARTUP_DESC= startup notification support
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2013-09-20 22:57:48 +02:00
|
|
|
NO_STAGE= yes
|
2006-06-12 09:10:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-10-07 00:51:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MTABLIB}
|
2012-12-14 18:45:10 +01:00
|
|
|
LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--with-taglib
|
2006-06-12 09:10:37 +02:00
|
|
|
.else
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--without-taglib
|
2006-06-12 09:10:37 +02:00
|
|
|
.endif
|
|
|
|
|
2012-10-07 00:51:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MDBUS}
|
2012-12-14 18:45:10 +01:00
|
|
|
LIB_DEPENDS+= dbus-glib-1:${PORTSDIR}/devel/dbus-glib
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
|
|
.endif
|
|
|
|
|
2012-10-07 00:51:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MSTARTUP}
|
2012-12-14 18:45:10 +01:00
|
|
|
LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-startup-notification
|
2006-11-29 21:55:02 +01:00
|
|
|
.else
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-startup-notification
|
2006-11-29 21:55:02 +01:00
|
|
|
.endif
|
|
|
|
|
2007-02-12 07:43:50 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
|
2005-01-29 17:32:15 +01:00
|
|
|
post-patch:
|
2007-01-22 17:45:10 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|xfmedia_remote_LDADD = |&@LIBXFCEGUI4_LIBS@|" \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
2011-11-09 19:29:53 +01:00
|
|
|
@${REINPLACE_CMD} -e "s|exo-0.3|exo-1|" ${WRKSRC}/configure
|
|
|
|
.for file in mediamarks.c playlist.c settings-dialog.c xfmedia-playlist-queue.c
|
|
|
|
@${REINPLACE_CMD} -e "s|EXO_PANGO_ELLIPSIZE_END|PANGO_ELLIPSIZE_END|" \
|
|
|
|
${WRKSRC}/src/${file}
|
|
|
|
.endfor
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2006-06-12 09:10:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|