diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-24 04:03:53 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-24 04:03:53 +0800 |
commit | b3edcc523d317cc2f193df98b5cad1ef233768b2 (patch) | |
tree | 09247c708dc3f5b48585d6b669cd01ee6bcf0c53 /multimedia | |
parent | c1850caa4d2f2f59a7acacc47b5e8d6d5e971272 (diff) | |
download | marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar.gz marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar.bz2 marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar.lz marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar.xz marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.tar.zst marcuscom-ports-b3edcc523d317cc2f193df98b5cad1ef233768b2.zip |
Sync w/ FreeBSD ports, fix the DVD stuff.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7836 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/totem/Makefile | 3 | ||||
-rw-r--r-- | multimedia/totem/files/patch-src_totem.c | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile index 7e123cc9f..8d59c747d 100644 --- a/multimedia/totem/Makefile +++ b/multimedia/totem/Makefile @@ -7,6 +7,7 @@ PORTNAME= totem PORTVERSION= 2.17.1 +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 000000000..da8b5dc31 --- /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) |