e672687ab6
Approved by: portmgr (blanket)
94 lines
3.1 KiB
Makefile
94 lines
3.1 KiB
Makefile
PORTNAME= gnome-builder
|
|
PORTVERSION= 3.40.2
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome
|
|
|
|
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 \
|
|
libsoup-2.4.so:devel/libsoup \
|
|
libpcre.so:devel/pcre \
|
|
libvala-0.48.so:lang/vala \
|
|
libgit2.so:devel/libgit2 \
|
|
libgladeui-2.so:devel/glade
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
PORTDOCS= *
|
|
|
|
CONFLICTS_BUILD= gnome-builder-3.16.*
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gettext gnome \
|
|
localbase:lfdlags meson pkgconfig python:3.6+,build tar:xz \
|
|
shebangfix
|
|
USE_GNOME= cairo gtksourceview4 introspection libxml2 vte3
|
|
SHEBANG_FILES= ${WRKSRC}/src/plugins/maven/maven_plugin.py \
|
|
${WRKSRC}/src/plugins/gradle/gradle_plugin.py
|
|
USE_LDCONFIG= yes
|
|
INSTALLS_ICONS= yes
|
|
BINARY_ALIAS= python3=${PYTHON_VERSION}
|
|
|
|
MESON_ARGS= -Dplugin_color_picker=false \
|
|
-Dplugin_flatpak=false \
|
|
-Dplugin_sysprof=false \
|
|
-Dplugin_qemu=false \
|
|
-Dplugin_jhbuild=false \
|
|
-Dplugin_update_manager=false
|
|
|
|
PLIST_SUB= BUILDER_VERSION=${PORTVERSION:R}
|
|
|
|
GLIB_SCHEMAS= org.gnome.builder.build.gschema.xml \
|
|
org.gnome.builder.clang.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.copyright.gschema.xml \
|
|
org.gnome.builder.plugins.eslint.gschema.xml \
|
|
org.gnome.builder.plugins.stylelint.gschema.xml \
|
|
org.gnome.builder.project-tree.gschema.xml \
|
|
org.gnome.builder.project.gschema.xml \
|
|
org.gnome.builder.rust-analyzer.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= ${LLVM_DEFAULT}
|
|
CLANG_DESC= Build the clang plugin
|
|
CLANG_MESON_TRUE= plugin_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+= -Dplugin_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>
|