blob: 6169cdbfc4f986a22e2fe06fc50ad025b9e3f9f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# Created by: Hendrik Scholz <hendrik@scholz.net>
# $FreeBSD$
PORTNAME= totem
PORTVERSION= 3.26.2
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gstreamer-based video player for the GNOME 3 Desktop
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
pylint:devel/pylint \
appstream-glib>=0:devel/appstream-glib \
itstool:textproc/itstool \
grilo-plugins>=0:net/grilo-plugins
LIB_DEPENDS= libgdata.so:devel/libgdata \
libcogl.so:graphics/cogl \
libclutter-1.0.so:graphics/clutter \
libclutter-gst-3.0.so:multimedia/clutter-gst3 \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libpeas-1.0.so:devel/libpeas \
libjson-glib-1.0.so:devel/json-glib \
libgrilo-0.3.so:net/grilo \
libzeitgeist-2.0.so:sysutils/zeitgeist \
libtotem-plparser.so:multimedia/totem-pl-parser
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} \
gnome-settings-daemon>=2.91.0:sysutils/gnome-settings-daemon \
gnome-icon-theme-symbolic>=2.91.0:x11-themes/gnome-icon-theme-symbolic \
grilo-plugins>=0:net/grilo-plugins
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gl gnome localbase meson \
pkgconfig python:3.4+ tar:xz
USE_GNOME= cairo gtk30 intlhack introspection libxml2 nautilus3 \
pygobject3
USE_XORG= x11 xorgproto xtst ice sm
USE_GSTREAMER1= core good bad soup ugly
INSTALLS_ICONS= yes
USE_GL= egl
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
GLIB_SCHEMAS= org.gnome.totem.enums.xml \
org.gnome.totem.gschema.xml \
org.gnome.totem.plugins.opensubtitles.gschema.xml \
org.gnome.totem.plugins.pythonconsole.gschema.xml
# https://bugzilla.gnome.org/show_bug.cgi?id=786248
# https://github.com/mesonbuild/meson/issues/1994
MAKE_JOBS_UNSAFE=yes
.include <bsd.port.options.mk>
.if ${ARCH} == i386
MESON_ARGS= -Denable-vala=no
PLIST_SUB+= VALA="@comment "
.else
BUILD_DEPENDS+= valac:lang/vala
PLIST_SUB+= VALA=""
.endif
.if defined(WITH_DVD_DEVICE)
DEFAULT_DVD_DEVICE=${WITH_DVD_DEVICE}
.else
DEFAULT_DVD_DEVICE=/dev/cd0
.endif
pre-everything::
@${ECHO_MSG} "===> The default DVD device is ${DEFAULT_DVD_DEVICE}"
@${ECHO_MSG} "===> Define WITH_DVD_DEVICE if you want to change the default"
@${ECHO_MSG} "===> For example, 'make WITH_DVD_DEVICE=\"/dev/somedevice\"'"
.if exists(/usr/lib/libstdc++.so)
post-patch:
${REINPLACE_CMD} -e '/-Wno-unused-but-set-variable/d' \
${WRKSRC}/src/plugins/meson.build
.endif
.include <bsd.port.mk>
|