2005-01-29 17:32:15 +01:00
|
|
|
# New ports collection makefile for: Xfce4-media
|
|
|
|
# Date created: 23 October 2004
|
2005-09-06 19:42:39 +02:00
|
|
|
# Whom: 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
|
2006-12-07 18:17:44 +01:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
|
2006-05-25 22:38:05 +02:00
|
|
|
MAINTAINER= r.c.ladan@gmail.com
|
2005-01-29 17:32:15 +01:00
|
|
|
COMMENT= Lightweight media player for Xfce4 based on the xine engine
|
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
LIB_DEPENDS= xine.16:${PORTSDIR}/multimedia/libxine \
|
|
|
|
exo-0.3:${PORTSDIR}/x11/libexo
|
2006-06-12 09:10:37 +02:00
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
2005-01-29 17:32:15 +01:00
|
|
|
USE_BZIP2= yes
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_GCC= 3.4+
|
2005-01-29 17:32:15 +01:00
|
|
|
USE_GETOPT_LONG=yes
|
2006-05-25 22:38:05 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-01-29 22:54:11 +01:00
|
|
|
USE_GMAKE= yes
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_GNOME= glib20 gnomehack gnometarget gtk20 intltool intlhack pkgconfig
|
|
|
|
USE_XFCE= configenv libexo libgui libutilpanel
|
2006-12-12 04:19:18 +01:00
|
|
|
USE_XLIB= yes
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
OPTIONS= TAGLIB "Enable metadata editing" off \
|
|
|
|
DBUS "Enable D-BUS support" on \
|
|
|
|
STARTUP "Enable startup notification support" on
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2006-06-12 09:10:37 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2007-01-22 17:45:10 +01:00
|
|
|
.include "${PORTSDIR}/x11-wm/xfce4/bsd.xfce.mk"
|
2006-06-12 09:10:37 +02:00
|
|
|
|
|
|
|
.if defined(WITH_TAGLIB)
|
|
|
|
LIB_DEPENDS+= tag.5:${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
|
|
|
|
|
2007-01-22 17:45:10 +01:00
|
|
|
.if !defined(WITHOUT_DBUS)
|
2006-11-29 21:55:02 +01:00
|
|
|
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
2007-01-22 17:45:10 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_STARTUP)
|
|
|
|
LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
|
|
|
|
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
|
|
|
|
|
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
|
2005-01-29 17:32:15 +01:00
|
|
|
|
2006-06-12 09:10:37 +02:00
|
|
|
.include <bsd.port.post.mk>
|