Enable browser plugins; it costs nothing dependency-wise and they are

actually usefull to play some contents.
This commit is contained in:
ajacoutot 2014-01-11 12:45:37 +00:00
parent 36a207751f
commit 76c658ad9d
3 changed files with 38 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.114 2013/11/12 17:10:43 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.115 2014/01/11 12:45:37 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= official media player for GNOME
GNOME_PROJECT= totem
GNOME_VERSION= 3.10.1
REVISION= 1
REVISION= 2
SHARED_LIBS += totem 0.0 # unknown
@ -18,15 +18,16 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB += ICE SM X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi
WANTLIB += Xinerama Xrandr Xrender archive atk-1.0 atk-bridge-2.0
WANTLIB += atspi bz2 c cairo cairo-gobject clutter-1.0 clutter-gst-2.0
WANTLIB += clutter-gtk-1.0 cogl cogl-pango dbus-1 expat ffi fontconfig
WANTLIB += freetype gcrypt gdk-3 gdk_pixbuf-2.0 gio-2.0 girepository-1.0
WANTLIB += glib-2.0 gmime-2.6 gmodule-2.0 gobject-2.0 gpg-error
WANTLIB += graphite2 grilo-0.2 gstaudio-1.0 gstbase-1.0 gstpbutils-1.0
WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 gthread-2.0 gtk-3
WANTLIB += harfbuzz json-glib-1.0 lzma m nautilus-extension orc-0.4 pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre peas-1.0 peas-gtk-1.0
WANTLIB += pixman-1 png pthread pthread-stubs soup-2.4 sqlite3
WANTLIB += totem-plparser xcb xcb-render xcb-shm xml2 z zeitgeist-2.0
WANTLIB += clutter-gtk-1.0 cogl cogl-pango dbus-1 dbus-glib-1
WANTLIB += expat ffi fontconfig freetype gcrypt gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 girepository-1.0 glib-2.0 gmime-2.6 gmodule-2.0
WANTLIB += gobject-2.0 gpg-error graphite2 grilo-0.2 gstaudio-1.0
WANTLIB += gstbase-1.0 gstpbutils-1.0 gstreamer-1.0 gsttag-1.0
WANTLIB += gstvideo-1.0 gthread-2.0 gtk-3 harfbuzz json-glib-1.0
WANTLIB += lzma m nautilus-extension orc-0.4 pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre peas-1.0 peas-gtk-1.0 pixman-1 png
WANTLIB += pthread pthread-stubs soup-2.4 sqlite3 stdc++ totem-plparser
WANTLIB += totem-plparser-mini xcb xcb-render xcb-shm xml2 z zeitgeist-2.0
MODULES= devel/dconf \
devel/gettext \
@ -66,16 +67,11 @@ MODGNOME_TOOLS= gi vala yelp
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS= --disable-static \
--disable-browser-plugins \
--disable-gmp-plugin \
--disable-narrowspace-plugin \
--disable-mully-plugin \
--disable-cone-plugin \
--disable-vegas-plugin
CONFIGURE_ARGS= --disable-static
post-install:
rm ${PREFIX}/lib/totem/plugins/*/*.la
rm ${PREFIX}/lib/nautilus/extensions-3.0/*.la
rm ${PREFIX}/lib/mozilla/plugins/*.la
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-browser-plugin_totemPlugin_cpp,v 1.1 2014/01/11 12:45:37 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=721987
--- browser-plugin/totemPlugin.cpp.orig Sat Jan 11 13:21:51 2014
+++ browser-plugin/totemPlugin.cpp Sat Jan 11 13:22:11 2014
@@ -303,7 +303,7 @@ totemPlugin::Command (const char *aCommand)
}
void
-totemPlugin::SetTime (guint64 aTime)
+totemPlugin::SetTime (uint64_t aTime)
{
D ("SetTime '%lu'", aTime);

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.17 2013/09/27 09:59:47 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.18 2014/01/11 12:45:37 ajacoutot Exp $
@conflict nautilus-totem-*
@pkgpath x11/gnome/totem,nautilus
@pkgpath x11/gnome/totem,xine
@ -14,6 +14,13 @@ include/totem/1.0/totem.h
lib/girepository-1.0/Totem-1.0.typelib
lib/libtotem.la
@lib lib/libtotem.so.${LIBtotem_VERSION}
lib/mozilla/
lib/mozilla/plugins/
lib/mozilla/plugins/libtotem-cone-plugin.so
lib/mozilla/plugins/libtotem-gmp-plugin.so
lib/mozilla/plugins/libtotem-mully-plugin.so
lib/mozilla/plugins/libtotem-narrowspace-plugin.so
lib/mozilla/plugins/libtotem-vegas-plugin.so
lib/nautilus/extensions-3.0/libtotem-properties-page.so
lib/pkgconfig/totem.pc
lib/totem/
@ -101,6 +108,7 @@ lib/totem/plugins/zeitgeist-dp/
lib/totem/plugins/zeitgeist-dp/libtotem-zeitgeist-dp-plugin.so
lib/totem/plugins/zeitgeist-dp/zeitgeist-dp.plugin
libexec/totem/
@bin libexec/totem-plugin-viewer
libexec/totem/totem-bugreport.py
@man man/man1/totem-video-thumbnailer.1
@man man/man1/totem.1