openbsd-ports/x11/gnome-mplayer/Makefile
dcoppa 6a71f0eaaf Fix problem with fullscreen not working by enabling panscan support.
panscan functionality requires mplayer svn r29565 or higher, so tighten
the pkgspec for mplayer accordingly.

Problem reported by landry@ and jasper@
OK jasper@
2010-09-22 12:04:07 +00:00

68 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2010/09/22 12:04:07 dcoppa Exp $
COMMENT = GTK+/GNOME frontend for MPlayer
DISTNAME = gnome-mplayer-0.9.9.2
REVISION= 3
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 glitz 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_X11 = Yes
USE_LIBTOOL = Yes
USE_GMAKE = 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 \
--without-gpm-new-method \
--without-gpm-old-method \
--disable-nautilus
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/${SCHEMAS_INSTDIR}
${INSTALL_DATA} ${WRKSRC}/gnome-mplayer.schemas \
${PREFIX}/${SCHEMAS_INSTDIR}
.include <bsd.port.mk>