diff options
author | jmcneill <jmcneill> | 2011-01-19 00:42:12 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2011-01-19 00:42:12 +0000 |
commit | 401351b94dfe9061291e2a9e133983a70ea48099 (patch) | |
tree | ccda800c71245a4f9e27f03481bfaecab1891a3c /x11 | |
parent | adc3795a85e483bc301cfdb15c62ead31a919c71 (diff) | |
download | pkgsrc-401351b94dfe9061291e2a9e133983a70ea48099.tar.gz |
Import libXvMCW version 0.9.3.
libXvMC is a wrapper for XvMC libraries that allows the X server or user to
specify the hardware dependent XvMC library at run-time.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libXvMCW/DESCR | 2 | ||||
-rw-r--r-- | x11/libXvMCW/Makefile | 31 | ||||
-rw-r--r-- | x11/libXvMCW/PLIST | 4 | ||||
-rw-r--r-- | x11/libXvMCW/buildlink3.mk | 14 | ||||
-rw-r--r-- | x11/libXvMCW/distinfo | 7 | ||||
-rw-r--r-- | x11/libXvMCW/patches/patch-aa | 27 | ||||
-rw-r--r-- | x11/libXvMCW/patches/patch-ab | 42 |
7 files changed, 127 insertions, 0 deletions
diff --git a/x11/libXvMCW/DESCR b/x11/libXvMCW/DESCR new file mode 100644 index 00000000000..848a0d43a86 --- /dev/null +++ b/x11/libXvMCW/DESCR @@ -0,0 +1,2 @@ +libXvMC is a wrapper for XvMC libraries that allows the X server or user to +specify the hardware dependent XvMC library at run-time. diff --git a/x11/libXvMCW/Makefile b/x11/libXvMCW/Makefile new file mode 100644 index 00000000000..fe08a272834 --- /dev/null +++ b/x11/libXvMCW/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ +# + +DISTNAME= libXvMCW-0.9.3 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=unichrome/}XvMC%20Wrapper/release-0.9.3/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://unichrome.sourceforge.net/ +COMMENT= Wrapper for run-time loading of XvMC libraries +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake + +EGDIR= ${PREFIX}/share/examples/libXvMCW +CONF_FILES= ${EGDIR}/XvMCConfig ${PKG_SYSCONFDIR}/XvMCConfig + +.include "../../mk/bsd.prefs.mk" + +INSTALLATION_DIRS= ${EGDIR} +CONFIGURE_ARGS+= --with-config-path=${PKG_SYSCONFDIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/XvMCConfig ${DESTDIR}${EGDIR} + +.include "../../x11/libXvMC/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/libXvMCW/PLIST b/x11/libXvMCW/PLIST new file mode 100644 index 00000000000..2c1cdd3588d --- /dev/null +++ b/x11/libXvMCW/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ +include/X11/extensions/vldXvMC.h +lib/libXvMCW.la +share/examples/libXvMCW/XvMCConfig diff --git a/x11/libXvMCW/buildlink3.mk b/x11/libXvMCW/buildlink3.mk new file mode 100644 index 00000000000..e4e00d01df6 --- /dev/null +++ b/x11/libXvMCW/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ + +BUILDLINK_TREE+= libXvMCW + +.if !defined(LIBXVMCW_BUILDLINK3_MK) +LIBXVMCW_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libXvMCW+= libXvMCW>=0.9.3 +BUILDLINK_PKGSRCDIR.libXvMCW?= ../../x11/libXvMCW + +.include "../../x11/libXvMC/buildlink3.mk" +.endif # LIBXVMCW_BUILDLINK3_MK + +BUILDLINK_TREE+= -libXvMCW diff --git a/x11/libXvMCW/distinfo b/x11/libXvMCW/distinfo new file mode 100644 index 00000000000..b3025bc485a --- /dev/null +++ b/x11/libXvMCW/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ + +SHA1 (libXvMCW-0.9.3.tar.gz) = d7ec5243bc4fc6afe2f391c3023c3ad820f89d2f +RMD160 (libXvMCW-0.9.3.tar.gz) = 7da779dbddbb054114b798690c0ae87abac938bf +Size (libXvMCW-0.9.3.tar.gz) = 193316 bytes +SHA1 (patch-aa) = 6e8d9b21ffa37dbdc38b60a0882b8b234d604212 +SHA1 (patch-ab) = 038a070bbac3191ed1bf5f88a58c18b11a1671d4 diff --git a/x11/libXvMCW/patches/patch-aa b/x11/libXvMCW/patches/patch-aa new file mode 100644 index 00000000000..e0905fd83e0 --- /dev/null +++ b/x11/libXvMCW/patches/patch-aa @@ -0,0 +1,27 @@ +$NetBSD: patch-aa,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ + +Install to PREFIX instead of X11BASE, and don't install the config file to +PREFIX/etc + +--- Makefile.in.orig 2004-11-18 15:26:09.000000000 -0500 ++++ Makefile.in 2011-01-18 19:13:57.000000000 -0500 +@@ -178,8 +178,8 @@ + target_alias = @target_alias@ + INCLUDES = @WINCLUDES@ + EXTRA_DIST = reconf libXvMCW.spec +-xincludedir = @XEXTINCLUDE@ +-xlibdir = @XLIB@ ++xincludedir = @prefix@/include/X11/extensions ++xlibdir = @prefix@/lib + xconfigdir = @XCONFIG@ + xinclude_HEADERS = vldXvMC.h + xconfig_HEADERS = XvMCConfig +@@ -574,7 +574,7 @@ + + info-am: + +-install-data-am: install-xconfigHEADERS install-xincludeHEADERS \ ++install-data-am: install-xincludeHEADERS \ + install-xlibLTLIBRARIES + + install-exec-am: diff --git a/x11/libXvMCW/patches/patch-ab b/x11/libXvMCW/patches/patch-ab new file mode 100644 index 00000000000..5360dddff48 --- /dev/null +++ b/x11/libXvMCW/patches/patch-ab @@ -0,0 +1,42 @@ +$NetBSD: patch-ab,v 1.1.1.1 2011/01/19 00:42:12 jmcneill Exp $ + +Don't use == operator in configure script + +--- configure.orig 2011-01-18 19:39:33.000000000 -0500 ++++ configure 2011-01-18 19:39:53.000000000 -0500 +@@ -8338,7 +8338,7 @@ + xv_version="no" + fi + +-if test x$xv_version == "xno"; then ++if test x$xv_version = "xno"; then + as_ac_File=`echo "ac_cv_file_$x_libraries/libXv.so.1.0" | $as_tr_sh` + echo "$as_me:$LINENO: checking for $x_libraries/libXv.so.1.0" >&5 + echo $ECHO_N "checking for $x_libraries/libXv.so.1.0... $ECHO_C" >&6 +@@ -8364,7 +8364,7 @@ + fi + + fi +-if test x$xv_version == "xno"; then ++if test x$xv_version = "xno"; then + xv_version="" + echo "*** Warning. Could not find a dynamic libXv.so library." + echo "*** This may cause run-time failures when the hardware-specific" +@@ -8399,7 +8399,7 @@ + xvmc_version="no" + fi + +-if test x$xvmc_version == "xno"; then ++if test x$xvmc_version = "xno"; then + as_ac_File=`echo "ac_cv_file_$x_libraries/libXvMC.so.1.0" | $as_tr_sh` + echo "$as_me:$LINENO: checking for $x_libraries/libXvMC.so.1.0" >&5 + echo $ECHO_N "checking for $x_libraries/libXvMC.so.1.0... $ECHO_C" >&6 +@@ -8425,7 +8425,7 @@ + fi + + fi +-if test x$xvmc_version == "xno"; then ++if test x$xvmc_version = "xno"; then + { { echo "$as_me:$LINENO: error: Could not find a libXvMC.so dynamic library. Aborting." >&5 + echo "$as_me: error: Could not find a libXvMC.so dynamic library. Aborting." >&2;} + { (exit 1); exit 1; }; } |