diff options
author | dholland <dholland@pkgsrc.org> | 2008-07-21 00:11:34 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-07-21 00:11:34 +0000 |
commit | abdf4d0e9f84176e5d197ea056a358826c83e4b6 (patch) | |
tree | 7abe2837e0af44028f411510421850f4d7365474 /multimedia | |
parent | 079359e4252e1e47d1a2a03449ac9f3897433064 (diff) | |
download | pkgsrc-abdf4d0e9f84176e5d197ea056a358826c83e4b6.tar.gz |
Add libXvMC so the XvMC plugin is built and installed.
Noted by Gilles Dauphin in PR 37895.
PKGREVISION++.
Note: I've handled libXvMC the same way libXv is handled, which may not
be optimal but is least likely to break anything.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xine-lib/Makefile | 5 | ||||
-rw-r--r-- | multimedia/xine-lib/Makefile.common | 12 | ||||
-rw-r--r-- | multimedia/xine-lib/PLIST.common | 6 |
3 files changed, 20 insertions, 3 deletions
diff --git a/multimedia/xine-lib/Makefile b/multimedia/xine-lib/Makefile index 199746ee852..4cdea51ed4b 100644 --- a/multimedia/xine-lib/Makefile +++ b/multimedia/xine-lib/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.61 2008/07/14 12:56:09 joerg Exp $ +# $NetBSD: Makefile,v 1.62 2008/07/21 00:11:34 dholland Exp $ PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" +PKGREVISION= 1 + COMMENT= Multimedia player library BUILDLINK_API_DEPENDS.vcdimager+= vcdimager>=0.7.20nb1 @@ -46,5 +48,6 @@ CONFIGURE_ARGS+= --disable-opengl .include "../../x11/libXt/buildlink3.mk" .include "../../x11/libXinerama/buildlink3.mk" .include "../../x11/libXv/buildlink3.mk" +.include "../../x11/libXvMC/buildlink3.mk" .include "../../x11/xextproto/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/xine-lib/Makefile.common b/multimedia/xine-lib/Makefile.common index 9c196587ecb..cad0f8bc430 100644 --- a/multimedia/xine-lib/Makefile.common +++ b/multimedia/xine-lib/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.53 2008/07/17 17:00:35 drochner Exp $ +# $NetBSD: Makefile.common,v 1.54 2008/07/21 00:11:34 dholland Exp $ # # used by audio/xine-arts/Makefile @@ -47,6 +47,16 @@ CONFIGURE_ARGS+= --with-xv-path='${X11BASE}/lib' PLIST.xv= yes .endif +PLIST_VARS+= xvmc +.if ${X11_TYPE} == "modular" +. include "../../x11/libXvMC/buildlink3.mk" +.endif +.if ${X11_TYPE} == "modular" || exists(${X11BASE}/lib/libXvMC.so) +CONFIGURE_ARGS+= --with-xvmc-path='${X11BASE}/lib' +CONFIGURE_ARGS+= --with-xxmc-path='${X11BASE}/lib' +PLIST.xvmc= yes +.endif + pre-configure: cd ${WRKSRC} && autoconf diff --git a/multimedia/xine-lib/PLIST.common b/multimedia/xine-lib/PLIST.common index 2252989b012..6fce7a9a20c 100644 --- a/multimedia/xine-lib/PLIST.common +++ b/multimedia/xine-lib/PLIST.common @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.common,v 1.26 2008/04/24 12:32:22 wiz Exp $ +@comment $NetBSD: PLIST.common,v 1.27 2008/07/21 00:11:34 dholland Exp $ bin/xine-config bin/xine-list-1.1 include/xine.h @@ -198,6 +198,10 @@ lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xshm.a lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xshm.so ${PLIST.xv}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xv.a ${PLIST.xv}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xv.so +${PLIST.xvmc}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xvmc.a +${PLIST.xvmc}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xvmc.so +${PLIST.xvmc}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xxmc.a +${PLIST.xvmc}lib/xine/plugins/${XINE_MOD_DIR_VER}/xineplug_vo_out_xxmc.so man/man1/xine-config.1 man/man1/xine-list-1.1.1 man/man5/xine.5 |