Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 96 lines (79 sloc) 3.167 kb
61f4604 recursive bump from libffi shlib major bump
obache authored
1 # $NetBSD: Makefile,v 1.102 2012/09/15 10:05:46 obache Exp $
df96851 add a big obvious comment pointing out that gmplayer has its own
grant authored
2
3 #
4 # NOTE: if you are updating both mplayer and gmplayer, you must ensure
5 # that *both* distinfo files contain the correct, up-to-date files and
6 # checksums.
7 #
8 # NOTE: patches are shared between mplayer and gmplayer!
9 #
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
10
00487ee Upgrade to the SVN snapshot as of 2009-10-17.
ahoka authored
11 PKGNAME= gmplayer-${MPLAYER_VERSION}
61f4604 recursive bump from libffi shlib major bump
obache authored
12 PKGREVISION= 3
4bf7c94 Mark as BROKEN_IN pkgsrc-2006Q4, based on
wiz authored
13
a20eb9b Update SKIN_SITES, from Rhialto in PR 33947.
wiz authored
14 SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \
15 http://www2.mplayerhq.hu/MPlayer/skins/ \
16 ftp://ftp1.mplayerhq.hu/MPlayer/skins/ \
17 ftp://ftp2.mplayerhq.hu/MPlayer/skins/ \
18 http://ftp5.mplayerhq.hu/MPlayer/skins/ \
cb80b99 Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566...
wiz authored
19 ftp://ftp5.mplayerhq.hu/MPlayer/skins/
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
20
f37eb38 Mechanical changes to add DESTDIR support to packages that install
jlam authored
21 PKG_DESTDIR_SUPPORT= user-destdir
22
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
23 .include "../../multimedia/mplayer-share/Makefile.common"
cb80b99 Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566...
wiz authored
24 SKIN_EXTRACT_SUFX= .tar.bz2
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
25
00487ee Upgrade to the SVN snapshot as of 2009-10-17.
ahoka authored
26 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
27 BUILD_DEPENDS+= yasm-[0-9]*:../../devel/yasm
28 .endif
29
30 COMMENT= Fast, cross-platform movie player with GTK2+ interface
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
31
cb80b99 Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566...
wiz authored
32 SKINS+= AlienMind-1.2${SKIN_EXTRACT_SUFX} \
33 Blue-1.7${SKIN_EXTRACT_SUFX} \
34 BlueHeart-1.5${SKIN_EXTRACT_SUFX} \
35 CornerMP-1.2${SKIN_EXTRACT_SUFX} \
36 CornerMP-aqua-1.4${SKIN_EXTRACT_SUFX} \
37 Cyrus-1.2${SKIN_EXTRACT_SUFX} \
38 MidnightLove-1.6${SKIN_EXTRACT_SUFX} \
39 WMP6-2.2${SKIN_EXTRACT_SUFX} \
40 avifile-1.6${SKIN_EXTRACT_SUFX} \
41 gnome-1.1${SKIN_EXTRACT_SUFX} \
42 hayraphon-1.0${SKIN_EXTRACT_SUFX} \
43 hwswskin-1.1${SKIN_EXTRACT_SUFX} \
44 mentalic-1.2${SKIN_EXTRACT_SUFX} \
45 neutron-1.5${SKIN_EXTRACT_SUFX} \
46 phony-1.1${SKIN_EXTRACT_SUFX} \
47 plastic-1.2${SKIN_EXTRACT_SUFX} \
48 proton-1.2${SKIN_EXTRACT_SUFX} \
49 slim-1.2${SKIN_EXTRACT_SUFX} \
50 xanim-1.6${SKIN_EXTRACT_SUFX} \
51 xine-lcd-1.2${SKIN_EXTRACT_SUFX}
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
52
cb80b99 Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566...
wiz authored
53 .for skin in ${SKINS}
942c00e Rename "SITES_* to "SITES.*" for file-specific lists of sites from which
jlam authored
54 SITES.${skin}= ${SKIN_SITES}
cb80b99 Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566...
wiz authored
55 .endfor
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
56
57 DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
58 DISTFILES+= ${SKINS}
61c1d05 This package must have a own "distinfo" file because the list of the
tron authored
59 DISTINFO_FILE= ${.CURDIR}/distinfo
00487ee Upgrade to the SVN snapshot as of 2009-10-17.
ahoka authored
60 DIST_SUBDIR= mplayer
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
61
a8b9d02 Needs pkg-config.
joerg authored
62 USE_TOOLS+= gtar pkg-config
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
63 CONFIGURE_ARGS+= --enable-gui --disable-mencoder \
1f85455 Move extra X11 includes to Makefile.common and bump revision of mplayer.
joerg authored
64 --confdir=${PREFIX}/share/mplayer
40298f0 sync with mplayer package.
obache authored
65 CONFIGURE_ARGS+= --enable-xvmc
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
66
a3c53d8 Ryosuke Moro reports in PR 46605 that gmplayer now looks for its skins
wiz authored
67 INSTALLATION_DIRS= bin share/mplayer/skins
b3cf605 Create directories before installing files into them.
jlam authored
68
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
69 do-install:
f37eb38 Mechanical changes to add DESTDIR support to packages that install
jlam authored
70 ${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin/gmplayer
f94b12e Fix some pkglint warnings.
wiz authored
71 .for skin in ${SKINS}
72 @${ECHO_MSG} "Installing skin ${skin}..."
73 ${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${skin} | \
a3c53d8 Ryosuke Moro reports in PR 46605 that gmplayer now looks for its skins
wiz authored
74 ${GTAR} xCmf ${DESTDIR}${PREFIX}/share/mplayer/skins -
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
75 .endfor
a3c53d8 Ryosuke Moro reports in PR 46605 that gmplayer now looks for its skins
wiz authored
76 ${CHMOD} -R a+rX ${DESTDIR}${PREFIX}/share/mplayer/skins
77 ${RM} -f ${DESTDIR}${PREFIX}/share/mplayer/skins/default
78 ${LN} -s Blue ${DESTDIR}${PREFIX}/share/mplayer/skins/default
79 ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/skins/Blue/.svn
80 ${RM} -rf ${DESTDIR}${PREFIX}/share/mplayer/skins/Blue/icons/.svn
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
81
40298f0 sync with mplayer package.
obache authored
82 .include "../../x11/libXScrnSaver/buildlink3.mk"
d233f00 Update mplayer to 1.0rc9nb8 and gmplayer to 1.0rc9nb3
abs authored
83 .include "../../multimedia/libdvdnav/buildlink3.mk"
0f3d96e update to 1.0pre8
drochner authored
84 .include "../../x11/gtk2/buildlink3.mk"
d233f00 Update mplayer to 1.0rc9nb8 and gmplayer to 1.0rc9nb3
abs authored
85 .include "../../x11/libXinerama/buildlink3.mk"
86 .include "../../x11/libXv/buildlink3.mk"
87 .include "../../x11/libXvMC/buildlink3.mk"
88 .include "../../x11/libXxf86dga/buildlink3.mk"
89 .include "../../x11/libXxf86vm/buildlink3.mk"
90
91 .include "../../multimedia/mplayer-share/Makefile.depends"
92
cff2512 Add missing mk/termcap buildlink to multimedia/mplayer and multimedia/gm...
sbd authored
93 .include "../../mk/termcap.buildlink3.mk"
a4f6637 Move gmplayer to the multimedia category (coming from graphics).
jmmv authored
94 .include "../../mk/bsd.pkg.mk"
95 .include "../../multimedia/mplayer-share/Makefile.cflags"
Something went wrong with that request. Please try again.