View | Details | Raw Unified | Return to bug 229761
Collapse All | Expand All

(-)multimedia/totem/Makefile (-42 / +28 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	totem
4
PORTNAME=	totem
5
PORTVERSION=	3.18.1
5
PORTVERSION=	3.26.1
6
PORTREVISION=	6
7
CATEGORIES=	multimedia gnome
6
CATEGORIES=	multimedia gnome
8
MASTER_SITES=	GNOME
7
MASTER_SITES=	GNOME
9
DIST_SUBDIR=	gnome3
8
DIST_SUBDIR=	gnome3
Lines 11-84 Link Here
11
MAINTAINER=	gnome@FreeBSD.org
10
MAINTAINER=	gnome@FreeBSD.org
12
COMMENT=	Gstreamer-based video player for the GNOME 3 Desktop
11
COMMENT=	Gstreamer-based video player for the GNOME 3 Desktop
13
12
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
14
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
16
BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
15
		${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme \
17
		pylint:devel/pylint \
16
		pylint:devel/pylint1 \
17
		appstream-glib>=0:devel/appstream-glib \
18
		appstream-glib>=0:devel/appstream-glib \
18
		itstool:textproc/itstool \
19
		itstool:textproc/itstool \
19
		grilo-plugins2>=0:net/grilo-plugins2
20
		grilo-plugins>=0:net/grilo-plugins
20
LIB_DEPENDS=	libgdata.so:devel/libgdata \
21
LIB_DEPENDS=	libgdata.so:devel/libgdata \
21
		libdbus-glib-1.so:devel/dbus-glib \
22
		libcogl.so:graphics/cogl \
23
		libclutter-1.0.so:graphics/clutter \
22
		libclutter-gst-3.0.so:multimedia/clutter-gst3 \
24
		libclutter-gst-3.0.so:multimedia/clutter-gst3 \
23
		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
25
		libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
24
		libpeas-1.0.so:devel/libpeas \
26
		libpeas-1.0.so:devel/libpeas \
27
		libjson-glib-1.0.so:devel/json-glib \
28
		libgrilo-0.3.so:net/grilo \
29
		libzeitgeist-2.0.so:sysutils/zeitgeist \
25
		libtotem-plparser.so:multimedia/totem-pl-parser
30
		libtotem-plparser.so:multimedia/totem-pl-parser
26
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
31
RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
27
		${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme \
28
		${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} \
32
		${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} \
29
		gnome-settings-daemon>=2.91.0:sysutils/gnome-settings-daemon \
33
		gnome-settings-daemon>=2.91.0:sysutils/gnome-settings-daemon \
30
		gnome-icon-theme-symbolic>=2.91.0:x11-themes/gnome-icon-theme-symbolic \
34
		gnome-icon-theme-symbolic>=2.91.0:x11-themes/gnome-icon-theme-symbolic \
31
		grilo-plugins2>=0:net/grilo-plugins2
35
		grilo-plugins>=0:net/grilo-plugins
32
36
33
PORTSCOUT=	limitw:1,even
37
PORTSCOUT=	limitw:1,even
34
38
35
USES=		desktop-file-utils gettext gmake gnome libtool \
39
USES=		desktop-file-utils gettext gnome localbase meson \
36
		pathfix pkgconfig python:2.7 tar:xz
40
		pkgconfig python:3.4+ tar:xz
37
USE_GNOME=	gtk30 intlhack introspection:build libxml2 nautilus3 \
41
USE_GNOME=	cairo gtk30 intlhack introspection libxml2 nautilus3 \
38
		pygobject3
42
		pygobject3
39
USE_XORG=	x11 xorgproto xtst ice sm
43
USE_XORG=	x11 xorgproto xtst ice sm
40
USE_GSTREAMER1=	core good bad soup ugly
44
USE_GSTREAMER1=	core good bad soup ugly
41
INSTALLS_ICONS=	yes
45
INSTALLS_ICONS=	yes
42
GNU_CONFIGURE=	yes
46
USE_GL=		egl
43
USE_LDCONFIG=	yes
47
USE_LDCONFIG=	yes
44
CPPFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral
45
CFLAGS+=	-I${LOCALBASE}/include -Wno-error=format-nonliteral
46
LDFLAGS+=	-L${LOCALBASE}/lib
47
CONFIGURE_ENV=	LIBS="-lXrandr"
48
CONFIGURE_ARGS=	--with-plugins="${TOTEM_PLUGINS}"
49
#CONFIGURE_ENV+=	APPDATA_VALIDATE="${LOCALBASE}/bin/appdata-validate --nonet"
50
MAKE_ENV=	XDG_CACHE_HOME=${WRKDIR}
51
INSTALL_TARGET=	install-strip
52
48
49
BINARY_ALIAS=	python3=${PYTHON_VERSION}
50
53
GLIB_SCHEMAS=	org.gnome.totem.enums.xml \
51
GLIB_SCHEMAS=	org.gnome.totem.enums.xml \
54
		org.gnome.totem.gschema.xml \
52
		org.gnome.totem.gschema.xml \
55
		org.gnome.totem.plugins.opensubtitles.gschema.xml
53
		org.gnome.totem.plugins.opensubtitles.gschema.xml \
54
		org.gnome.totem.plugins.pythonconsole.gschema.xml
56
55
57
OPTIONS_DEFINE=	LIRC
56
# https://bugzilla.gnome.org/show_bug.cgi?id=786248
57
# https://github.com/mesonbuild/meson/issues/1994
58
MAKE_JOBS_UNSAFE=yes
58
59
59
PLIST_SUB+=	PYVER=${PYTHON_VER:S/.//}
60
61
OPTIONS_DEFAULT=
62
63
# check configure script for allowed_plugins="..." for new plugins
64
TOTEM_PLUGINS=	apple-trailers autoload-subtitles brasero-disc-recorder chapters \
65
		dbusservice im-status grilo gromit iplayer media-player-keys \
66
		nautilus ontop opensubtitles properties recent \
67
		save-file screensaver screenshot sidebar-test skipto vimeo \
68
		youtube
69
70
# pythonconsole samplepython
71
# vala sample-vala
72
# iplayer zeitgeist-dp grilo
73
74
.include <bsd.port.options.mk>
60
.include <bsd.port.options.mk>
75
61
76
.if ${PORT_OPTIONS:MLIRC}
62
.if ${ARCH} == i386 || ${OSVERSION} <= 1100000
77
LIB_DEPENDS+=	liblirc_client.so:comms/lirc
63
MESON_ARGS=	-Denable-vala=no
78
PLIST_SUB+=	LIRC=""
64
PLIST_SUB+=	VALA="@comment "
79
TOTEM_PLUGINS:=	${TOTEM_PLUGINS} lirc
80
.else
65
.else
81
PLIST_SUB+=	LIRC="@comment "
66
BUILD_DEPENDS+=	valac:lang/vala
67
PLIST_SUB+=	VALA=""
82
.endif
68
.endif
83
69
84
.if defined(WITH_DVD_DEVICE)
70
.if defined(WITH_DVD_DEVICE)

Return to bug 229761