diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-11 10:28:55 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-11 10:28:55 +0800 |
commit | de0e98590a4326a92a678b607ce761bc43d95377 (patch) | |
tree | eee3bbea2714cca6757fedda90c6f44929ca135a /multimedia | |
parent | b7d496bdbf047ead8b605e75f6892a8dfb313dbf (diff) | |
download | freebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.tar.gz freebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.tar.zst freebsd-ports-gnome-de0e98590a4326a92a678b607ce761bc43d95377.zip |
Add specific handling of and appropriate dependences for
libexec/gst-player-view binary
Submitted by: marcus
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-player/Makefile | 13 | ||||
-rw-r--r-- | multimedia/gstreamer-player/files/patch-configure | 15 | ||||
-rw-r--r-- | multimedia/gstreamer-player/pkg-plist | 1 |
3 files changed, 26 insertions, 3 deletions
diff --git a/multimedia/gstreamer-player/Makefile b/multimedia/gstreamer-player/Makefile index 3bfddf0d7065..075b7658561b 100644 --- a/multimedia/gstreamer-player/Makefile +++ b/multimedia/gstreamer-player/Makefile @@ -7,6 +7,7 @@ PORTNAME= gstreamer PORTVERSION= 0.5.1 +PORTREVISION= 1 CATEGORIES= multimedia audio gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -32,6 +33,7 @@ USE_GNOME= gnomehack \ USE_LIBTOOL= yes USE_REINPLACE= yes CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} +WANT_GNOME= yes PLIST_SUB= \ VERSION="${PORTVERSION}" \ SHLIB_VERSION="${SHLIB_VERSION}" @@ -48,4 +50,13 @@ pre-install: # required for PREFIX safeness, the dir might not exist under PREFIX @${MKDIR} ${PREFIX}/etc/gconf/ -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${HAVE_GNOME:Mnautilus2}!="" +USE_GNOME+= nautilus2 +PLIST_SUB+= GST_PLAYER_VIEW="" +.else +PLIST_SUB+= GST_PLAYER_VIEW="@comment " +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer-player/files/patch-configure b/multimedia/gstreamer-player/files/patch-configure index f65461d9916c..9fdefbfaffd0 100644 --- a/multimedia/gstreamer-player/files/patch-configure +++ b/multimedia/gstreamer-player/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig Fri Feb 28 00:06:22 2003 -+++ configure Fri Feb 28 00:06:17 2003 +--- configure.orig Mon Apr 21 06:01:46 2003 ++++ configure Sat May 10 23:21:51 2003 @@ -7814,6 +7814,7 @@ # This can be used to rebuild libtool when needed @@ -8,3 +8,14 @@ # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -9305,7 +9306,10 @@ + fi + exec_prefix_save=$exec_prefix + if test "x$exec_prefix" = "xNONE"; then ++ if test "x$prefix" = "xNONE"; then + exec_prefix=/usr/local ++ else ++ exec_prefix=${prefix} + fi + + full_var="$FROM_VAR" diff --git a/multimedia/gstreamer-player/pkg-plist b/multimedia/gstreamer-player/pkg-plist index 7debec535a6b..eb60078308a3 100644 --- a/multimedia/gstreamer-player/pkg-plist +++ b/multimedia/gstreamer-player/pkg-plist @@ -14,6 +14,7 @@ lib/libgstplayer.so lib/libgstplayer.so.%%SHLIB_VERSION%% libdata/bonobo/servers/Gst-Player-Control.server libexec/gst-player-control +%%GST_PLAYER_VIEW%%libexec/gst-player-view share/gnome/application-registry/gst-player.applications share/gnome/applications/gst-player.desktop share/gnome/gst-player/ui/demaximize.png |