summaryrefslogtreecommitdiff
path: root/multimedia/gmplayer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gmplayer/Makefile')
-rw-r--r--multimedia/gmplayer/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/gmplayer/Makefile b/multimedia/gmplayer/Makefile
index 2ba74ec860f..1547ee7b9eb 100644
--- a/multimedia/gmplayer/Makefile
+++ b/multimedia/gmplayer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2009/08/26 19:58:05 sno Exp $
+# $NetBSD: Makefile,v 1.79 2009/10/18 22:22:11 ahoka Exp $
#
# NOTE: if you are updating both mplayer and gmplayer, you must ensure
@@ -8,8 +8,8 @@
# NOTE: patches are shared between mplayer and gmplayer!
#
-PKGNAME= gmplayer-${MPLAYER_PKG_VERSION}
-PKGREVISION= 13
+PKGNAME= gmplayer-${MPLAYER_VERSION}
+#PKGREVISION= 0
SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \
http://www2.mplayerhq.hu/MPlayer/skins/ \
@@ -17,14 +17,16 @@ SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp2.mplayerhq.hu/MPlayer/skins/ \
http://ftp5.mplayerhq.hu/MPlayer/skins/ \
ftp://ftp5.mplayerhq.hu/MPlayer/skins/ \
- ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/mplayer/ \
- ${MASTER_SITE_LOCAL:=mplayer/}
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/mplayer-share/Makefile.common"
-COMMENT= Software only MPEG-1/2/4 video decoder with a GTK+ interface
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
+.endif
+
+COMMENT= Fast, cross-platform movie player with GTK2+ interface
SKINS += AlienMind-1.2${EXTRACT_SUFX} \
Blue-1.7${EXTRACT_SUFX} \
@@ -56,7 +58,7 @@ SITES.${skin}= ${SKIN_SITES}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= ${SKINS}
DISTINFO_FILE= ${.CURDIR}/distinfo
-DIST_SUBDIR= ${PKGNAME_NOREV}-20060123
+DIST_SUBDIR= mplayer
USE_TOOLS+= gtar pkg-config
CONFIGURE_ARGS+= --enable-gui --disable-mencoder \