mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
- Fix plist with older nvidia-driver versions that don't support opengl 2.0 .
- Bump PORTREVISION. Reported by: Garrett Garrison
This commit is contained in:
parent
2387ec96ea
commit
978816c435
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354247
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= xine
|
PORTNAME= xine
|
||||||
PORTVERSION= 1.2.4
|
PORTVERSION= 1.2.4
|
||||||
PORTREVISION= 9
|
PORTREVISION= 10
|
||||||
CATEGORIES= multimedia ipv6
|
CATEGORIES= multimedia ipv6
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
|
||||||
PKGNAMEPREFIX= lib
|
PKGNAMEPREFIX= lib
|
||||||
@ -65,7 +65,8 @@ OPTIONS_DEFINE= CACA ESOUND JACK GNOMEVFS2 PULSEAUDIO XVMC SMB AALIB \
|
|||||||
DOCSDIR= ${PREFIX}/share/doc/xine-lib
|
DOCSDIR= ${PREFIX}/share/doc/xine-lib
|
||||||
# Please sync with XINE_PLUGINSDIR in multimedia/xine
|
# Please sync with XINE_PLUGINSDIR in multimedia/xine
|
||||||
# and multimedia/vdr-plugin-xineliboutput
|
# and multimedia/vdr-plugin-xineliboutput
|
||||||
PLIST_SUB= PLUGINSDIR="lib/xine/plugins/2.3"
|
PLUGINSDIR= lib/xine/plugins/2.3
|
||||||
|
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
@ -226,4 +227,12 @@ post-patch:
|
|||||||
's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \
|
's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
|
||||||
|
# XXX older nvidia-driver versions don't support opengl 2.0 so this
|
||||||
|
# plugin might not get built:
|
||||||
|
post-install:
|
||||||
|
.if !exists(${STAGEDIR}${PREFIX}/${PLUGINSDIR}/xineplug_vo_out_opengl2.so)
|
||||||
|
${REINPLACE_CMD} -e '/xineplug_vo_out_opengl2.so/d' \
|
||||||
|
${TMPPLIST}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user