openbsd-ports/x11/gnome-mplayer/Makefile
2010-10-24 20:58:58 +00:00

66 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.24 2010/10/24 21:15:32 ajacoutot Exp $
COMMENT = GTK+/GNOME frontend for MPlayer
DISTNAME = gnome-mplayer-0.9.9.2
REVISION= 5
CATEGORIES = x11 multimedia
MAINTAINER = David Coppa <dcoppa@openbsd.org>
HOMEPAGE = http://kdekorte.googlepages.com/gnomemplayer
MASTER_SITES = http://gnome-mplayer.googlecode.com/files/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += ORBit-2 X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender Xss atk-1.0 c cairo \
dbus-1 dbus-glib-1 expat fontconfig freetype gdk-x11-2.0 \
gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 m neon pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pixman-1 png pthread pthread-stubs musicbrainz3 \
xcb xcb-render xcb-render-util z notify gpod curl
MODULES = devel/gettext \
devel/gconf2
LIB_DEPENDS = ::devel/libnotify \
::audio/libgpod \
::audio/libmusicbrainz \
::net/curl
RUN_DEPENDS = ::devel/desktop-file-utils \
:gnome-icon-theme-*:x11/gnome/icon-theme \
:mplayer->=20090828:x11/mplayer
USE_LIBTOOL = Yes
USE_GMAKE = Yes
USE_GROFF = Yes
MODGCONF2_SCHEMAS_DIR = gnome-mplayer
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include \
-I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib -pthread"
CONFIGURE_ARGS = --with-gio \
--with-gconf \
--with-libnotify \
--with-libgpod \
--with-libmusicbrainz3 \
--enable-panscan \
--without-alsa \
--without-flat-volume \
--disable-nautilus
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/${SCHEMAS_INSTDIR}
${INSTALL_DATA} ${WRKSRC}/gnome-mplayer.schemas \
${PREFIX}/${SCHEMAS_INSTDIR}
.include <bsd.port.mk>