2008-02-05 18:00:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.67 2008/02/05 17:00:37 drochner Exp $
|
2004-06-21 11:40:16 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# NOTE: if you are updating both mplayer and gmplayer, you must ensure
|
|
|
|
# that *both* distinfo files contain the correct, up-to-date files and
|
|
|
|
# checksums.
|
|
|
|
#
|
|
|
|
# NOTE: patches are shared between mplayer and gmplayer!
|
|
|
|
#
|
2004-01-26 13:09:02 +01:00
|
|
|
|
|
|
|
PKGNAME= gmplayer-${MPLAYER_PKG_VERSION}
|
2008-02-05 18:00:35 +01:00
|
|
|
PKGREVISION= 3
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2007-01-31 01:04:11 +01:00
|
|
|
BROKEN_IN= pkgsrc-2006Q4
|
|
|
|
|
2006-08-04 23:05:33 +02:00
|
|
|
SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \
|
|
|
|
http://www2.mplayerhq.hu/MPlayer/skins/ \
|
|
|
|
ftp://ftp1.mplayerhq.hu/MPlayer/skins/ \
|
|
|
|
ftp://ftp2.mplayerhq.hu/MPlayer/skins/ \
|
|
|
|
http://ftp5.mplayerhq.hu/MPlayer/skins/ \
|
|
|
|
ftp://ftp5.mplayerhq.hu/MPlayer/skins/ \
|
2004-04-20 00:23:02 +02:00
|
|
|
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/mplayer/ \
|
2006-08-23 20:11:48 +02:00
|
|
|
${MASTER_SITE_LOCAL:=mplayer/}
|
2004-01-26 13:09:02 +01:00
|
|
|
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
|
|
|
|
COMMENT= Software only MPEG-1/2/4 video decoder with a GTK+ interface
|
|
|
|
|
2004-09-30 11:01:57 +02:00
|
|
|
SKINS += AlienMind-1.2${EXTRACT_SUFX} \
|
2007-12-29 14:26:29 +01:00
|
|
|
Blue-1.7${EXTRACT_SUFX} \
|
2004-04-28 17:54:46 +02:00
|
|
|
BlueHeart-1.5${EXTRACT_SUFX} \
|
2004-07-03 13:00:00 +02:00
|
|
|
CornerMP-1.2${EXTRACT_SUFX} \
|
|
|
|
CornerMP-aqua-1.4${EXTRACT_SUFX} \
|
2004-04-28 17:54:46 +02:00
|
|
|
Cyrus-1.2${EXTRACT_SUFX} \
|
|
|
|
MidnightLove-1.6${EXTRACT_SUFX} \
|
2004-09-30 11:01:57 +02:00
|
|
|
WMP6-2.2${EXTRACT_SUFX} \
|
2004-04-28 17:54:46 +02:00
|
|
|
avifile-1.6${EXTRACT_SUFX} \
|
2004-01-26 13:09:02 +01:00
|
|
|
gnome-1.1${EXTRACT_SUFX} \
|
|
|
|
hayraphon-1.0${EXTRACT_SUFX} \
|
2004-06-18 20:43:23 +02:00
|
|
|
hwswskin-1.1${EXTRACT_SUFX} \
|
|
|
|
mentalic-1.2${EXTRACT_SUFX} \
|
|
|
|
neutron-1.5${EXTRACT_SUFX} \
|
|
|
|
phony-1.1${EXTRACT_SUFX} \
|
|
|
|
plastic-1.2${EXTRACT_SUFX} \
|
|
|
|
proton-1.2${EXTRACT_SUFX} \
|
|
|
|
slim-1.2${EXTRACT_SUFX} \
|
|
|
|
xanim-1.6${EXTRACT_SUFX} \
|
|
|
|
xine-lcd-1.2${EXTRACT_SUFX}
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2004-09-30 11:01:57 +02:00
|
|
|
.if !defined(SITES_AlienMind-1.2.tar.bz2)
|
2004-01-26 13:09:02 +01:00
|
|
|
. for skin in ${SKINS}
|
2006-07-27 20:48:02 +02:00
|
|
|
SITES.${skin}= ${SKIN_SITES}
|
2004-01-26 13:09:02 +01:00
|
|
|
. endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
DISTFILES+= ${SKINS}
|
2004-06-21 09:01:38 +02:00
|
|
|
DISTINFO_FILE= ${.CURDIR}/distinfo
|
2006-01-23 08:25:16 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}-20060123
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2006-06-21 15:10:54 +02:00
|
|
|
USE_TOOLS+= gtar pkg-config
|
2004-01-26 13:09:02 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gui --disable-mencoder \
|
2006-11-30 16:00:45 +01:00
|
|
|
--confdir=${PREFIX}/share/mplayer
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2004-01-26 13:09:02 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${PREFIX}/bin/gmplayer
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/mplayer/Skin
|
2006-08-04 23:06:59 +02:00
|
|
|
.for skin in ${SKINS}
|
|
|
|
@${ECHO_MSG} "Installing skin ${skin}..."
|
|
|
|
${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${skin} | \
|
2004-03-29 19:43:43 +02:00
|
|
|
${GTAR} xCmf ${PREFIX}/share/mplayer/Skin -
|
2004-01-26 13:09:02 +01:00
|
|
|
.endfor
|
2006-08-04 23:06:59 +02:00
|
|
|
${CHMOD} -R a+r ${PREFIX}/share/mplayer/Skin
|
|
|
|
${CHMOD} a+rx ${PREFIX}/share/mplayer/Skin/*
|
|
|
|
${RM} -f ${PREFIX}/share/mplayer/Skin/default
|
2004-10-20 22:02:13 +02:00
|
|
|
${LN} -s Blue ${PREFIX}/share/mplayer/Skin/default
|
2006-07-21 00:09:02 +02:00
|
|
|
${RM} -rf ${PREFIX}/share/mplayer/Skin/Blue/.svn
|
|
|
|
${RM} -rf ${PREFIX}/share/mplayer/Skin/Blue/icons/.svn
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2007-09-06 20:11:57 +02:00
|
|
|
.include "../../multimedia/libdvdnav/buildlink3.mk"
|
2006-06-13 19:25:00 +02:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2004-01-26 13:09:02 +01:00
|
|
|
|
2007-09-06 20:11:57 +02:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
|
|
.include "../../x11/libXv/buildlink3.mk"
|
2007-09-07 12:06:22 +02:00
|
|
|
.if ${X11_TYPE} == "modular"
|
2007-09-06 20:11:57 +02:00
|
|
|
.include "../../x11/libXvMC/buildlink3.mk"
|
2007-09-07 12:06:22 +02:00
|
|
|
.endif
|
2007-09-06 20:11:57 +02:00
|
|
|
.include "../../x11/libXxf86dga/buildlink3.mk"
|
|
|
|
.include "../../x11/libXxf86vm/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
|
2004-01-26 13:09:02 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|