summaryrefslogtreecommitdiff
path: root/multimedia/totem-browser-plugin
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-12-18 00:46:44 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-12-18 00:46:44 +0000
commit60b839528e63eec008cef11e9c1f88d81602c87d (patch)
tree8b38f70a058376feea0320e42e526fc9e4d61db5 /multimedia/totem-browser-plugin
parent721bc5b708788737e8be2f1955f773d492c52375 (diff)
downloadpkgsrc-60b839528e63eec008cef11e9c1f88d81602c87d.tar.gz
Import totem-browser-plugin 2.24.3.
Totem is simple movie player for the GNOME desktop based on GStreamer and Xine. It features a playlist, a full-screen mode, seek and volume controls, as well as a pretty complete keyboard navigation. This package contains a mozilla plugin for playing back media from a web page.
Diffstat (limited to 'multimedia/totem-browser-plugin')
-rw-r--r--multimedia/totem-browser-plugin/DESCR6
-rw-r--r--multimedia/totem-browser-plugin/Makefile35
-rw-r--r--multimedia/totem-browser-plugin/PLIST7
3 files changed, 48 insertions, 0 deletions
diff --git a/multimedia/totem-browser-plugin/DESCR b/multimedia/totem-browser-plugin/DESCR
new file mode 100644
index 00000000000..81759047030
--- /dev/null
+++ b/multimedia/totem-browser-plugin/DESCR
@@ -0,0 +1,6 @@
+Totem is simple movie player for the GNOME desktop based on GStreamer and
+Xine. It features a playlist, a full-screen mode, seek and volume controls,
+as well as a pretty complete keyboard navigation.
+
+This package contains a mozilla plugin for playing back media from a
+web page.
diff --git a/multimedia/totem-browser-plugin/Makefile b/multimedia/totem-browser-plugin/Makefile
new file mode 100644
index 00000000000..523290a5928
--- /dev/null
+++ b/multimedia/totem-browser-plugin/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/12/18 00:46:44 jmcneill Exp $
+#
+
+.include "../../multimedia/totem/Makefile.common"
+
+PKGNAME= ${DISTNAME:S/totem/totem-browser-plugin/}
+# override Makefile.common
+PLIST_SRC= ${.CURDIR}/PLIST
+GCONF_SCHEMAS= # none
+
+COMMENT+= (gecko plugin)
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --enable-browser-plugins
+
+BROWSER_PLUGINS= basic cone gmp mully narrowspace
+
+do-install:
+.for plugin in ${BROWSER_PLUGINS}
+ cd ${WRKSRC}/browser-plugin && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+ libtotem-${plugin}-plugin.la ${DESTDIR}${PREFIX}/lib/firefox3/plugins
+.endfor
+ cd ${WRKSRC}/browser-plugin && ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ totem-plugin-viewer ${DESTDIR}${PREFIX}/libexec
+
+BUILDLINK_API_DEPENDS.shared-mime-info+= shared-mime-info>=0.22
+.include "../../databases/shared-mime-info/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk"
+.include "../../multimedia/gst-plugins0.10-good/buildlink3.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+# not actually needed to build, but firefox3 owns the plugin directory
+.include "../../www/firefox3/buildlink3.mk"
+.include "../../x11/startup-notification/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/totem-browser-plugin/PLIST b/multimedia/totem-browser-plugin/PLIST
new file mode 100644
index 00000000000..ee613b5c04a
--- /dev/null
+++ b/multimedia/totem-browser-plugin/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/18 00:46:44 jmcneill Exp $
+lib/firefox3/plugins/libtotem-basic-plugin.la
+lib/firefox3/plugins/libtotem-cone-plugin.la
+lib/firefox3/plugins/libtotem-gmp-plugin.la
+lib/firefox3/plugins/libtotem-mully-plugin.la
+lib/firefox3/plugins/libtotem-narrowspace-plugin.la
+libexec/totem-plugin-viewer