ports/162561: [PATCH] emulators/wine: Enables V4L
Zhihao Yuan
lichray at gmail.com
Mon Nov 14 13:50:10 UTC 2011
>Number: 162561
>Category: ports
>Synopsis: [PATCH] emulators/wine: Enables V4L
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 14 13:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Zhihao Yuan
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
Northern Illinois University
>Environment:
System: FreeBSD elitebook.hp 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov 12 03:41:26 CST 2011 lichray at elitebook.hp:/usr/obj/home/lichray/devel/freebsd-8/sys/HOUKAGO amd64
>Description:
libv4l1.so.0 is loaded by qcap, so there is no pkg-plist change. The library detection is file, but I don't know which program uses that feature in wine, so I can't test it.
>How-To-Repeat:
>Fix:
--- wine_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/emulators/wine.orig/Makefile /usr/ports/emulators/wine/Makefile
--- /usr/ports/emulators/wine.orig/Makefile 2011-11-12 20:28:34.000000000 -0600
+++ /usr/ports/emulators/wine/Makefile 2011-11-14 07:25:29.669689238 -0600
@@ -8,6 +8,7 @@
PORTNAME= wine
DISTVERSION= 1.3.32
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= SF/${PORTNAME}/Source \
@@ -35,7 +36,7 @@
--without-alsa --without-capi --with-glu \
--without-gphoto --without-gsm --without-gstreamer \
--with-opengl --without-mpg123 --with-oss --without-sane \
- --without-v4l --without-xcomposite --without-xinerama \
+ --without-xcomposite --without-xinerama \
--with-xinput2 --with-xrandr
CONFIGURE_ENV= FLEX="${LOCALBASE}/bin/flex"
WINELIBDIR?= ${PREFIX}/lib
@@ -66,6 +67,7 @@
LDAP "Use LDAP" Off \
LIBXSLT "Use libxslt (only used by msxml3.dll)" Off \
OPENAL "Use OpenAL (3D audio library)" Off \
+ V4L "Use Video4Linux" Off \
WINEMAKER "Fully support winemaker (requires Perl)" Off
PORTDATA= fonts/ generic.ppd l_intl.nls wine.inf
@@ -120,6 +122,13 @@
PLIST_SUB+= OPENAL="@comment "
.endif
+.ifdef WITH_V4L
+CONFIGURE_ARGS+= --with-v4l
+LIB_DEPENDS+= v4l1.0:${PORTSDIR}/multimedia/libv4l
+.else
+CONFIGURE_ARGS+= --without-v4l
+.endif
+
.ifdef WITH_WINEMAKER
RUN_DEPENDS+= p5-XML-LibXML>0:${PORTSDIR}/textproc/p5-XML-LibXML
.endif
--- wine_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list