summaryrefslogtreecommitdiffstats
path: root/multimedia/totem
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
commit9e3581b15da1ca2f16eb75c34650d1dd9350922e (patch)
tree39733a7f2f2d9d829bace29bcd2122bf3389a7b7 /multimedia/totem
parent83d97469cd2ab30c8ca40e9c622abaa3bfb26189 (diff)
downloadmarcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.gz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.bz2
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.lz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.xz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.zst
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.zip
Stageify, and misc small cleanups.
Move net/libgweather3 -> net/libgweather. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18965 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/totem')
-rw-r--r--multimedia/totem/Makefile20
-rw-r--r--multimedia/totem/pkg-plist36
2 files changed, 26 insertions, 30 deletions
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index ca75de06a..c6d9bbbce 100644
--- a/multimedia/totem/Makefile
+++ b/multimedia/totem/Makefile
@@ -1,6 +1,6 @@
# Created by: Hendrik Scholz <hendrik@scholz.net>
# $FreeBSD$
-# $MCom: ports/trunk/multimedia/totem3/Makefile 18610 2013-06-30 16:33:05Z marcus $
+# $MCom$
PORTNAME= totem
PORTVERSION= 3.6.3
@@ -26,7 +26,6 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-co
gnome-icon-theme-symbolic>=2.91.0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic \
grilo-plugins>=0.2:${PORTSDIR}/net/grilo-plugins
-NO_STAGE= yes
USE_PYTHON= yes
USE_XORG= x11 xproto xtst ice sm
USE_XZ= yes
@@ -35,24 +34,22 @@ USE_GNOME= gnomeprefix intlhack gtk30 libxml2 nautilus3 ltverhack \
pygobject3 gnomedocutils gnomehier introspection:build
USE_GSTREAMER1= core good bad soup ugly
INSTALLS_ICONS= yes
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALLS_OMF= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= LIBS="-lXrandr" \
- BROWSER_PLUGIN_DIR="${WEBPLUGINS_DIR}"
+CONFIGURE_ENV= LIBS="-lXrandr"
CONFIGURE_ARGS= --with-plugins="${TOTEM_PLUGINS}"
SHEBANG_FILES= data/totem-bugreport.py
-MAN1= totem.1 totem-video-thumbnailer.1
GLIB_SCHEMAS= org.gnome.totem.enums.xml \
org.gnome.totem.gschema.xml \
org.gnome.totem.plugins.opensubtitles.gschema.xml
OPTIONS_DEFINE= LIRC BROWSER_PLUGINS
-BROWSER_PLUGINS_DESC= Plugins for gecko browser
+BROWSER_PLUGINS_DESC= Web browser plugins
TRACKER_DESC= Tracker local search plugin
OPTIONS_DEFAULT=BROWSER_PLUGINS
@@ -91,11 +88,12 @@ CONFIGURE_ARGS+=--enable-browser-plugins \
--enable-narrowspace-plugin
PLIST_SUB+= BROWSER_PLUGINS=""
-USE_WEBPLUGINS= webkit-gtk3
-WEBPLUGINS_FILES= libtotem-cone-plugin.so libtotem-gmp-plugin.so \
+USES+= webplugin:native
+WEBPLUGIN_FILES= libtotem-cone-plugin.so libtotem-gmp-plugin.so \
libtotem-mully-plugin.so \
libtotem-narrowspace-plugin.so
-.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
+CONFIGURE_ENV+= BROWSER_PLUGIN_DIR="${WEBPLUGIN_DIR}"
+
.else
CONFIGURE_ARGS+=--disable-browser-plugins \
--disable-basic-plugin \
@@ -123,7 +121,5 @@ post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtotem.so.0
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/nautilus/extensions-3.0/libtotem-properties-page.so
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/browser_plugins/totem/libtotem-*-plugin.so
-# remove after stage conversion
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/multimedia/totem/pkg-plist b/multimedia/totem/pkg-plist
index c171ad1fe..6ce67b883 100644
--- a/multimedia/totem/pkg-plist
+++ b/multimedia/totem/pkg-plist
@@ -7,21 +7,21 @@ include/totem/1.0/totem-interface.h
include/totem/1.0/totem-plugin.h
include/totem/1.0/totem-video-list.h
include/totem/1.0/totem.h
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.a
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.la
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-cone-plugin.so
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.a
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.la
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-gmp-plugin.so
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.a
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.la
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-mully-plugin.so
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.a
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.la
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-narrowspace-plugin.so
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-vegas-plugin.a
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-vegas-plugin.la
-%%BROWSER_PLUGINS%%%%WEBPLUGINS_DIR%%/libtotem-vegas-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-cone-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-cone-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-cone-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-gmp-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-gmp-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-gmp-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-mully-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-mully-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-mully-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-narrowspace-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-narrowspace-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-narrowspace-plugin.so
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-vegas-plugin.a
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-vegas-plugin.la
+%%BROWSER_PLUGINS%%%%WEBPLUGIN_DIR%%/libtotem-vegas-plugin.so
lib/girepository-1.0/Totem-1.0.typelib
lib/libtotem.a
lib/libtotem.la
@@ -104,8 +104,8 @@ lib/totem/plugins/skipto/skipto.ui
libdata/pkgconfig/totem.pc
%%BROWSER_PLUGINS%%libexec/totem-plugin-viewer
libexec/totem/totem-bugreport.py
-@comment man/man1/totem.1.gz
-@comment man/man1/totem-video-thumbnailer.1.gz
+man/man1/totem.1.gz
+man/man1/totem-video-thumbnailer.1.gz
share/GConf/gsettings/opensubtitles.convert
share/GConf/gsettings/totem.convert
share/applications/totem.desktop
@@ -660,6 +660,6 @@ share/thumbnailers/totem.thumbnailer
@dirrm lib/totem/plugins/brasero-disc-recorder
@dirrm lib/totem/plugins
@dirrm lib/totem
-%%BROWSER_PLUGINS%%@dirrmtry %%WEBPLUGINS_DIR%%
+%%BROWSER_PLUGINS%%@dirrmtry %%WEBPLUGIN_DIR%%
@dirrm include/totem/1.0
@dirrm include/totem