openbsd-ports/audio/audacious/Makefile
dcoppa 25cee56417 Various fixes following audacious' update.
- For audacious:

devel/mcs is no longer a dependency

"--disable-sse2" configure flag no longer exists

libexecinfo is useless (backtrace() isn't used anywhere)

fix libpthread linkage ("-lpthread" -> "-pthread")

fix WANTLIB

- For audacious-plugins:

zap jack subpackage, since now Jack2>=1.9.7 is required

remove configure flags that no longer exist

do not pick hidden dependencies up if they're installed

fix libpthread linkage ("-lpthread" -> "-pthread")

fix configure failing to correctly detect required libraries due
to undefined references (wrong linking)

pass "--disable-ffaudio" to configure since it wants a ffmpeg newer
than the one we have

fix WANTLIB and CONFIGURE_ENV

- For xmp:

zap audacious subpackage: it's broken beyond any repair with audacious-3.2

OK ajacoutot@
2012-03-21 16:13:25 +00:00

62 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.33 2012/03/21 16:13:25 dcoppa Exp $
SHARED_ONLY = Yes
COMMENT = gtk+3 media player based on BMP and XMMS
DISTNAME = audacious-3.2
REVISION = 0
SHARED_LIBS = audclient 2.0 # 2.0
SHARED_LIBS += audcore 1.0 # 1.0
SHARED_LIBS += audgui 1.0 # 1.0
SHARED_LIBS += audtag 1.0 # 1.0
CATEGORIES = audio multimedia
HOMEPAGE = http://audacious-media-player.org/
# GPLv3
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
WANTLIB += GL ICE SM X11 Xcomposite Xcursor Xdamage
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0
WANTLIB += c cairo cairo-gobject dbus-1>=6 dbus-glib-1 expat
WANTLIB += fontconfig freetype gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gtk-3
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 guess
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread pthread-stubs xcb xcb-render xcb-shm
WANTLIB += z
MASTER_SITES = http://distfiles.audacious-media-player.org/
EXTRACT_SUFX = .tar.bz2
MODULES = devel/gettext
BUILD_DEPENDS = textproc/libxml
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+2,-guic
LIB_DEPENDS = devel/libguess \
x11/dbus-glib \
x11/dbus \
x11/gtk+3
MAKE_ENV = LIBaudclient_VERSION=${LIBaudclient_VERSION} \
LIBaudcore_VERSION=${LIBaudcore_VERSION} \
LIBaudgui_VERSION=${LIBaudgui_VERSION} \
LIBaudtag_VERSION=${LIBaudtag_VERSION}
USE_GMAKE = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.68
NO_REGRESS = Yes
.include <bsd.port.mk>