| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.167 2024/04/12 19:32:56 riastradh Exp $ | | 1 | # $NetBSD: Makefile,v 1.168 2024/04/12 19:42:05 riastradh Exp $ |
2 | # | | 2 | # |
3 | # NOTE: if you are updating both mplayer and gmplayer, you must ensure | | 3 | # NOTE: if you are updating both mplayer and gmplayer, you must ensure |
4 | # that *both* distinfo files contain the correct, up-to-date files and | | 4 | # that *both* distinfo files contain the correct, up-to-date files and |
5 | # checksums. | | 5 | # checksums. |
6 | # | | 6 | # |
7 | # NOTE: patches are shared between mplayer and gmplayer! | | 7 | # NOTE: patches are shared between mplayer and gmplayer! |
8 | # | | 8 | # |
9 | | | 9 | |
10 | PKGNAME= gmplayer-${MPLAYER_VERSION} | | 10 | PKGNAME= gmplayer-${MPLAYER_VERSION} |
11 | PKGREVISION= 9 | | 11 | PKGREVISION= 9 |
12 | | | 12 | |
13 | SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \ | | 13 | SKIN_SITES= http://www1.mplayerhq.hu/MPlayer/skins/ \ |
14 | http://www2.mplayerhq.hu/MPlayer/skins/ \ | | 14 | http://www2.mplayerhq.hu/MPlayer/skins/ \ |
| @@ -94,27 +94,27 @@ SKINS+= Abyss-1.7${SKIN_EXTRACT_SUFX} | | | @@ -94,27 +94,27 @@ SKINS+= Abyss-1.7${SKIN_EXTRACT_SUFX} |
94 | xine-lcd-1.2${SKIN_EXTRACT_SUFX} \ | | 94 | xine-lcd-1.2${SKIN_EXTRACT_SUFX} \ |
95 | xmmplayer-1.5${SKIN_EXTRACT_SUFX} | | 95 | xmmplayer-1.5${SKIN_EXTRACT_SUFX} |
96 | | | 96 | |
97 | .for skin in ${SKINS} | | 97 | .for skin in ${SKINS} |
98 | SITES.${skin}= ${SKIN_SITES} | | 98 | SITES.${skin}= ${SKIN_SITES} |
99 | .endfor | | 99 | .endfor |
100 | | | 100 | |
101 | DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} | | 101 | DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} |
102 | DISTFILES+= ${SKINS} | | 102 | DISTFILES+= ${SKINS} |
103 | DISTINFO_FILE= ${.CURDIR}/distinfo | | 103 | DISTINFO_FILE= ${.CURDIR}/distinfo |
104 | DIST_SUBDIR= mplayer | | 104 | DIST_SUBDIR= mplayer |
105 | | | 105 | |
106 | USE_TOOLS+= pax pkg-config | | 106 | USE_TOOLS+= pax pkg-config |
107 | CONFIGURE_ARGS+= --enable-gui --disable-mencoder \ | | 107 | CONFIGURE_ARGS+= --enable-gui --enable-x11 --disable-mencoder \ |
108 | --confdir=${PREFIX}/share/mplayer | | 108 | --confdir=${PREFIX}/share/mplayer |
109 | CONFIGURE_ARGS+= --enable-xvmc | | 109 | CONFIGURE_ARGS+= --enable-xvmc |
110 | | | 110 | |
111 | INSTALLATION_DIRS= bin share/mplayer/skins | | 111 | INSTALLATION_DIRS= bin share/mplayer/skins |
112 | | | 112 | |
113 | do-install: | | 113 | do-install: |
114 | ${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin/gmplayer | | 114 | ${INSTALL_PROGRAM} ${WRKSRC}/mplayer ${DESTDIR}${PREFIX}/bin/gmplayer |
115 | .for skin in ${SKINS} | | 115 | .for skin in ${SKINS} |
116 | ( cd ${WRKDIR} && \ | | 116 | ( cd ${WRKDIR} && \ |
117 | ${PAX} -rw ${skin:C/-[0-9.]+${SKIN_EXTRACT_SUFX}//} \ | | 117 | ${PAX} -rw ${skin:C/-[0-9.]+${SKIN_EXTRACT_SUFX}//} \ |
118 | ${DESTDIR}${PREFIX}/share/mplayer/skins \ | | 118 | ${DESTDIR}${PREFIX}/share/mplayer/skins \ |
119 | ) | | 119 | ) |
120 | .endfor | | 120 | .endfor |