summaryrefslogtreecommitdiff
path: root/multimedia/gmplayer/Makefile
diff options
context:
space:
mode:
authorahoka <ahoka>2009-10-18 22:22:10 +0000
committerahoka <ahoka>2009-10-18 22:22:10 +0000
commit959a811b3d582468ea86c957f13e04c6e42cdcd6 (patch)
tree3d4a34870674cb9521f62df3e80f84cbffcc6c59 /multimedia/gmplayer/Makefile
parent9b62339056ddc052fb84c3ee4932c5cc2cbab4d4 (diff)
downloadpkgsrc-959a811b3d582468ea86c957f13e04c6e42cdcd6.tar.gz
Upgrade to the SVN snapshot as of 2009-10-17.
The builtin libavcodec now uses yasm to assemble hand written h264 code. The older x264 we currently have in pkgsrc is not supported by mplayer, so I had to do some hand tweaking to make it work. It may contain bugs because of this, so report any fallouts with h264.
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 \