summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-16 01:08:19 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-06-16 01:08:19 +0000
commitee2a93b1650a84bc5af9bbf58c47b937065f81da (patch)
tree06676b4e83d5df4602f6835abea178967f7d0da1 /multimedia/gstreamer-plugins
parentMark NOT_FOR_ARCHS=sparc64; compiles without warnings but does not work. (diff)
o Simplify {x,}videosink build fix. Furthermore, this correctly
enables XVideo support in FreeBSD 5.x branch. The reason why XVideo support was not enabled in FreeBSD 5.x branch is unknown. o Bump PORTREVISION Submitted by: Alexander Nedotsukov <bland@mail.ru>
Notes
Notes: svn path=/head/; revision=83085
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r--multimedia/gstreamer-plugins/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index fbbeb75ca403..cfd2b07cf0b5 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= multimedia audio
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -39,8 +40,8 @@ CONFIGURE_ARGS= --disable-tests \
--disable-v4l
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+ CPPFLAGS="${CPPFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib"
CONFIGURE_TARGET=
PLIST_SUB= \
VERSION="${PORTVERSION:C/..$//}" \
@@ -91,16 +92,6 @@ post-patch:
@${REINPLACE_CMD} -E -e \
's|^.*afOpenVirtualFile[[:space:]]*\(\);|;|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-# XXX - fix {x,}videosink build
- @${REINPLACE_CMD} -E -e \
- 's|^(DEFAULT_INCLUDES.*)$$|\1 \$$\(X_CFLAGS\)|; \
- s|^(XVIDEO_LIBS.*)$$|\1 -lX11 -lXext -lXv -lXxf86vm|' \
- ${WRKSRC}/sys/xvideo/Makefile.in \
- ${WRKSRC}/sys/videosink/Makefile.in
- @${REINPLACE_CMD} -E -e \
- 's|@USE_XVIDEO_TRUE@||; \
- s|@USE_XVIDEO_FALSE@|#|' \
- ${WRKSRC}/sys/Makefile.in
post-configure:
# CC safeness