blob: 7fe37c9e1b611b7a9dace92fab383ed4a31ab359 (
plain)
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
|
# $FreeBSD$
PORTNAME= gnome-builder
PORTVERSION= 3.28.4
PORTREVISION= 3
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= IDE for writing software for GNOME
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libjson-glib-1.0.so:devel/json-glib \
libpeas-1.0.so:devel/libpeas \
libjsonrpc-glib-1.0.so:devel/jsonrpc-glib \
libtemplate_glib-1.0.so:devel/template-glib \
libdazzle-1.0.so:x11-toolkits/libdazzle \
libenchant-2.so:textproc/enchant2 \
libgspell-1.so:textproc/gspell \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libdevhelp-3.so:devel/devhelp \
libgit2-glib-1.0.so:devel/libgit2-glib \
libpcre.so:devel/pcre \
libvala-0.40.so:lang/vala
PORTSCOUT= limitw:1,even
PORTDOCS= *
CONFLICTS_BUILD= gnome-builder-3.16.*
USES= compiler:c++11-lang cpe desktop-file-utils gettext gnome meson pkgconfig python:3.6+,build tar:xz
USE_GNOME= cairo gtksourceview3 introspection libxml2 vte3
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CPE_VENDOR= gnome
BINARY_ALIAS= python3=${PYTHON_VERSION}
MESON_ARGS= -Dwith_flatpak=false \
-Dwith_sysprof=false \
-Dwith_qemu=false \
-Dwith_jhbuild=false
PLIST_SUB+= PORTVER=${PORTVERSION}
GLIB_SCHEMAS= org.gnome.builder.build.gschema.xml \
org.gnome.builder.code-insight.gschema.xml \
org.gnome.builder.editor.gschema.xml \
org.gnome.builder.editor.language.gschema.xml \
org.gnome.builder.extension-type.gschema.xml \
org.gnome.builder.gnome-code-assistance.gschema.xml \
org.gnome.builder.gschema.xml \
org.gnome.builder.plugin.gschema.xml \
org.gnome.builder.plugins.color_picker_plugin.gschema.xml \
org.gnome.builder.plugins.eslint.gschema.xml \
org.gnome.builder.project-tree.gschema.xml \
org.gnome.builder.project.gschema.xml \
org.gnome.builder.terminal.gschema.xml \
org.gnome.builder.workbench.gschema.xml
OPTIONS_SUB= YES
OPTIONS_DEFINE= CLANG DOCS
OPTIONS_DEFAULT= CLANG
# track the latest llvm/clang version, the config script picks the newest available
LLVM_VER= 60
CLANG_DESC= Build the clang plugin
CLANG_MESON_TRUE= with_clang
CLANG_BUILD_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
CLANG_RUN_DEPENDS= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER}
# jedi plugin with dependancies doesn't work
MESON_ARGS+= -Dwith_jedi=false
#RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
# ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
# ${PYTHON_PKGNAMEPREFIX}jedi>0:devel/py-jedi@${PY_FLAVOR}
# 11.1 and older has issues with vala generated code.
post-patch:
${REINPLACE_CMD} -e '/-Werror=return-type/d' \
${WRKSRC}/meson.build
.include <bsd.port.mk>
|