aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-10-24 02:03:38 +0800
committermezz <mezz@FreeBSD.org>2006-10-24 02:03:38 +0800
commite0e2949348f1cfa24f11d4b275730a91648f3ffd (patch)
tree9edd654ecf8be5eb4c69311a42f21bd124320203
parent2d3330c6bae2bb84e12d39fc8bd8d4de15c644ce (diff)
downloadfreebsd-ports-gnome-e0e2949348f1cfa24f11d4b275730a91648f3ffd.tar.gz
freebsd-ports-gnome-e0e2949348f1cfa24f11d4b275730a91648f3ffd.tar.zst
freebsd-ports-gnome-e0e2949348f1cfa24f11d4b275730a91648f3ffd.zip
- Fix the missing dependencies for DVD, it needs ugly and mpeg2dec of
gstreamer plugins to get DVD function. - Fix the eject by add a patch to use cdcontrol. Same patch as in nautilus-cd-burner/files/patch-src_nautilus-burn-drive.c. - Bump the PORTREVISION on both totem and totem-gstreamer. PR: ports/76633 Submitted by: Kevin Oberman <oberman@es.net> Approved by: portmgr (marcus)
-rw-r--r--multimedia/totem-gstreamer/Makefile2
-rw-r--r--multimedia/totem/Makefile3
-rw-r--r--multimedia/totem/files/patch-src_totem.c14
3 files changed, 17 insertions, 2 deletions
diff --git a/multimedia/totem-gstreamer/Makefile b/multimedia/totem-gstreamer/Makefile
index 793222af0a65..ba7f4e06519f 100644
--- a/multimedia/totem-gstreamer/Makefile
+++ b/multimedia/totem-gstreamer/Makefile
@@ -6,7 +6,7 @@
# $MCom: ports/multimedia/totem-gstreamer/Makefile,v 1.13 2006/03/01 04:32:55 marcus Exp $
#
-PORTREVISION= 1
+PORTREVISION= 2
PKGNAMESUFFIX= -gstreamer
MAINTAINER= gnome@FreeBSD.org
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index b4d52e8e06f0..1442d3606110 100644
--- a/multimedia/totem/Makefile
+++ b/multimedia/totem/Makefile
@@ -7,6 +7,7 @@
PORTNAME= totem
PORTVERSION= 2.16.2
+PORTREVISION= 1
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -67,7 +68,7 @@ CONFIGURE_ARGS+=--without-mozilla \
.if defined(WITH_GSTREAMER)
CONFIGURE_ARGS+=--enable-gstreamer=yes
-USE_GSTREAMER+= gnomevfs core gconf hal good
+USE_GSTREAMER+= gnomevfs core gconf hal good mpeg2dec ugly
WITHOUT_DVDNAV= yes
PLIST_SUB+= GSTREAMER=""
.else
diff --git a/multimedia/totem/files/patch-src_totem.c b/multimedia/totem/files/patch-src_totem.c
new file mode 100644
index 000000000000..da8b5dc31a1e
--- /dev/null
+++ b/multimedia/totem/files/patch-src_totem.c
@@ -0,0 +1,14 @@
+--- src/totem.c.orig Sat Oct 21 22:10:07 2006
++++ src/totem.c Sat Oct 21 22:11:56 2006
+@@ -339,7 +339,11 @@
+
+ g_object_get (G_OBJECT (totem->bvw),
+ "mediadev", &device, NULL);
++#if defined (__FreeBSD__)
++ cmd = g_strdup_printf ("cdcontrol -f %s eject", device);
++#else
+ cmd = g_strdup_printf ("eject %s", device);
++#endif
+ g_free (device);
+
+ if (g_spawn_command_line_sync (cmd, NULL, NULL, NULL, &err) == FALSE)