freebsd-ports/audio/ario/Makefile
Koop Mast 7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00

57 lines
1.3 KiB
Makefile

# Created by: Grzegorz Blach <gblach@FreeBSD.org>
# $FreeBSD$
PORTNAME= ario
PORTVERSION= 1.5.1
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF/ario-player/ario-player/${PORTVERSION}
MAINTAINER= gblach@FreeBSD.org
COMMENT= Ario is a GTK2 client for MPD
LICENSE= GPLv2
LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \
gcrypt:${PORTSDIR}/security/libgcrypt \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
curl:${PORTSDIR}/ftp/curl \
notify:${PORTSDIR}/devel/libnotify \
soup:${PORTSDIR}/devel/libsoup \
tag_c:${PORTSDIR}/audio/taglib \
unique-1.0:${PORTSDIR}/x11-toolkits/unique \
mpdclient:${PORTSDIR}/audio/libmpdclient
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
USE_GNOME= gtk20 gnomehack
INSTALLS_ICONS= yes
OPTIONS_DEFINE= AVAHI NLS
AVAHI_DESC= Zeroconf support (Avahi)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAVAHI}
LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app
CONFIGURE_ARGS+= --enable-avahi
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+= --enable-nls
.else
CONFIGURE_ARGS+= --disable-nls
.endif
post-patch:
@${REINPLACE_CMD} -e 's|glib/gslist.h|glib.h|g ; \
s|glib/gkeyfile.h>|glib.h>|g' \
${WRKSRC}/src/ario-util.h \
${WRKSRC}/src/plugins/ario-plugin-info.c \
${WRKSRC}/src/ario-profiles.h
.include <bsd.port.mk>