aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2003-02-28 12:50:37 +0800
committerlioux <lioux@FreeBSD.org>2003-02-28 12:50:37 +0800
commit7dd53d6f4855952b01c01ea822f36f2f58bf52bf (patch)
tree643fcc26a19af93e42c1966585825f6034ca691e /multimedia
parent782cd3f093f3d97341393f1048f8b96a50229cbb (diff)
downloadfreebsd-ports-gnome-7dd53d6f4855952b01c01ea822f36f2f58bf52bf.tar.gz
freebsd-ports-gnome-7dd53d6f4855952b01c01ea822f36f2f58bf52bf.tar.zst
freebsd-ports-gnome-7dd53d6f4855952b01c01ea822f36f2f58bf52bf.zip
o Small fixes to support upcoming update to gstreamer-player port
- Depend unconditionally on hermes port since it is currently the only colorspace plugin available - Fix {x,}videosink build o Bump PORTREVISION
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gstreamer-plugins/Makefile15
-rw-r--r--multimedia/gstreamer-plugins/pkg-plist2
-rw-r--r--multimedia/gstreamer-plugins80/Makefile15
-rw-r--r--multimedia/gstreamer-plugins80/pkg-plist2
4 files changed, 34 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile
index c3347b520240..c5b2d76c1c4e 100644
--- a/multimedia/gstreamer-plugins/Makefile
+++ b/multimedia/gstreamer-plugins/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -94,6 +95,16 @@ 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
@@ -106,6 +117,10 @@ post-install:
.include <bsd.port.pre.mk>
+# hermes is required for gstreamer-player to work
+# since it is currently the only colorspace plugin available
+WITH_HERMES= yes
+
##
## auto detect possible plugins
##
diff --git a/multimedia/gstreamer-plugins/pkg-plist b/multimedia/gstreamer-plugins/pkg-plist
index 89fefdf414d6..39161a107e49 100644
--- a/multimedia/gstreamer-plugins/pkg-plist
+++ b/multimedia/gstreamer-plugins/pkg-plist
@@ -100,6 +100,7 @@ lib/gstreamer-%%VERSION%%/libgstvbidec.so
lib/gstreamer-%%VERSION%%/libgstvideo.so
lib/gstreamer-%%VERSION%%/libgstvideocrop.so
lib/gstreamer-%%VERSION%%/libgstvideoscale.so
+lib/gstreamer-%%VERSION%%/libgstvideosink.so
lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so
lib/gstreamer-%%VERSION%%/libgstvolenv.so
lib/gstreamer-%%VERSION%%/libgstvolume.so
@@ -107,6 +108,7 @@ lib/gstreamer-%%VERSION%%/libgstvolume.so
lib/gstreamer-%%VERSION%%/libgstvumeter.so
lib/gstreamer-%%VERSION%%/libgstwavenc.so
lib/gstreamer-%%VERSION%%/libgstwavparse.so
+lib/gstreamer-%%VERSION%%/libgstxvideosink.so
lib/gstreamer-%%VERSION%%/libgsty4menc.so
lib/gstreamer-%%VERSION%%/libmixmatrix.so
lib/libgstgconf-%%VERSION%%.a
diff --git a/multimedia/gstreamer-plugins80/Makefile b/multimedia/gstreamer-plugins80/Makefile
index c3347b520240..c5b2d76c1c4e 100644
--- a/multimedia/gstreamer-plugins80/Makefile
+++ b/multimedia/gstreamer-plugins80/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gstreamer
PORTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= multimedia audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -94,6 +95,16 @@ 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
@@ -106,6 +117,10 @@ post-install:
.include <bsd.port.pre.mk>
+# hermes is required for gstreamer-player to work
+# since it is currently the only colorspace plugin available
+WITH_HERMES= yes
+
##
## auto detect possible plugins
##
diff --git a/multimedia/gstreamer-plugins80/pkg-plist b/multimedia/gstreamer-plugins80/pkg-plist
index 89fefdf414d6..39161a107e49 100644
--- a/multimedia/gstreamer-plugins80/pkg-plist
+++ b/multimedia/gstreamer-plugins80/pkg-plist
@@ -100,6 +100,7 @@ lib/gstreamer-%%VERSION%%/libgstvbidec.so
lib/gstreamer-%%VERSION%%/libgstvideo.so
lib/gstreamer-%%VERSION%%/libgstvideocrop.so
lib/gstreamer-%%VERSION%%/libgstvideoscale.so
+lib/gstreamer-%%VERSION%%/libgstvideosink.so
lib/gstreamer-%%VERSION%%/libgstvideotestsrc.so
lib/gstreamer-%%VERSION%%/libgstvolenv.so
lib/gstreamer-%%VERSION%%/libgstvolume.so
@@ -107,6 +108,7 @@ lib/gstreamer-%%VERSION%%/libgstvolume.so
lib/gstreamer-%%VERSION%%/libgstvumeter.so
lib/gstreamer-%%VERSION%%/libgstwavenc.so
lib/gstreamer-%%VERSION%%/libgstwavparse.so
+lib/gstreamer-%%VERSION%%/libgstxvideosink.so
lib/gstreamer-%%VERSION%%/libgsty4menc.so
lib/gstreamer-%%VERSION%%/libmixmatrix.so
lib/libgstgconf-%%VERSION%%.a