aboutsummaryrefslogtreecommitdiff
path: root/editors/elementary-code
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-29 08:22:17 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-06-29 08:22:17 +0000
commit897f127529795b57b5f1923f764634a8a3a97edd (patch)
treeaa349e1ed102081fc55573b8c2d44a4ab926766b /editors/elementary-code
parente7a53bc45ae79c1a8835f1335598e13e7a740196 (diff)
downloadports-897f127529795b57b5f1923f764634a8a3a97edd.tar.gz
ports-897f127529795b57b5f1923f764634a8a3a97edd.zip
Notes
Diffstat (limited to 'editors/elementary-code')
-rw-r--r--editors/elementary-code/Makefile49
-rw-r--r--editors/elementary-code/distinfo3
-rw-r--r--editors/elementary-code/files/patch-data_io.elementary.code.desktop.in.in10
-rw-r--r--editors/elementary-code/files/patch-plugins_editorconfig_meson.build12
-rw-r--r--editors/elementary-code/pkg-descr8
-rw-r--r--editors/elementary-code/pkg-plist246
6 files changed, 328 insertions, 0 deletions
diff --git a/editors/elementary-code/Makefile b/editors/elementary-code/Makefile
new file mode 100644
index 000000000000..3116ede14829
--- /dev/null
+++ b/editors/elementary-code/Makefile
@@ -0,0 +1,49 @@
+# $FreeBSD$
+
+PORTNAME= elementary-code
+DISTVERSION= 3.4.1
+CATEGORIES= editors
+
+MAINTAINER= miguel@gocobachi.dev
+COMMENT= Code editor designed for elementary OS
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= valac:lang/vala
+LIB_DEPENDS= libatk-1.0.so:accessibility/atk \
+ libeditorconfig.so:editors/editorconfig-core-c \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libgee-0.8.so:devel/libgee \
+ libgit2-glib-1.0.so:devel/libgit2-glib \
+ libgranite.so:x11-toolkits/granite \
+ libgtksourceview-3.0.so:x11-toolkits/gtksourceview3 \
+ libgtkspell3-3.so:textproc/gtkspell3 \
+ libpeas-1.0.so:devel/libpeas \
+ libpeas-gtk-1.0.so:devel/libpeas \
+ libsoup-2.4.so:devel/libsoup \
+ libvala-0.40.so:lang/vala \
+ libvte-2.91.so:x11-toolkits/vte3 \
+ libvterm.so:devel/libvterm \
+ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
+ libzeitgeist-2.0.so:sysutils/zeitgeist
+
+USES= desktop-file-utils gettext gnome meson ninja pkgconfig \
+ python:build xorg
+USE_GITHUB= yes
+GH_ACCOUNT= elementary
+GH_PROJECT= code
+USE_GNOME= cairo glib20 gtk30 gtksourceview3 pango
+GLIB_SCHEMAS= io.elementary.code.gschema.xml \
+ io.elementary.code.plugins.spell.gschema.xml \
+ io.elementary.code.plugins.terminal.gschema.xml
+INSTALLS_ICONS= yes
+USE_LDCONFIG= yes
+USE_XORG= x11
+
+BINARY_ALIAS= python3=${PYTHON_CMD}
+
+do-test:
+ cd ${WRKSRC}/${MESON_BUILD_DIR} && ninja test
+
+.include <bsd.port.mk>
diff --git a/editors/elementary-code/distinfo b/editors/elementary-code/distinfo
new file mode 100644
index 000000000000..9c7e82a9793f
--- /dev/null
+++ b/editors/elementary-code/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1593319458
+SHA256 (elementary-code-3.4.1_GH0.tar.gz) = d84b38193b72cd93995aae604358c83c5b6976d8472ce985027b947cfed990bf
+SIZE (elementary-code-3.4.1_GH0.tar.gz) = 1468212
diff --git a/editors/elementary-code/files/patch-data_io.elementary.code.desktop.in.in b/editors/elementary-code/files/patch-data_io.elementary.code.desktop.in.in
new file mode 100644
index 000000000000..7e651ee50dc8
--- /dev/null
+++ b/editors/elementary-code/files/patch-data_io.elementary.code.desktop.in.in
@@ -0,0 +1,10 @@
+--- data/io.elementary.code.desktop.in.in.orig 2020-06-28 08:36:49 UTC
++++ data/io.elementary.code.desktop.in.in
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+ Type=Application
+-Name=Code
++Name=Elementary Code
+ Comment=Edit code files
+ GenericName=Code Editor
+ Exec=@EXEC_NAME@ %U
diff --git a/editors/elementary-code/files/patch-plugins_editorconfig_meson.build b/editors/elementary-code/files/patch-plugins_editorconfig_meson.build
new file mode 100644
index 000000000000..1310f0da1d04
--- /dev/null
+++ b/editors/elementary-code/files/patch-plugins_editorconfig_meson.build
@@ -0,0 +1,12 @@
+--- plugins/editorconfig/meson.build.orig 2020-06-28 09:00:29 UTC
++++ plugins/editorconfig/meson.build
+@@ -7,7 +7,8 @@ module_files = [
+
+ module_deps = [
+ codecore_dep,
+- meson.get_compiler('c').find_library('editorconfig')
++ meson.get_compiler('c')
++ .find_library('editorconfig', dirs: ['/usr/local/lib'])
+ ]
+
+ shared_module(
diff --git a/editors/elementary-code/pkg-descr b/editors/elementary-code/pkg-descr
new file mode 100644
index 000000000000..b6d14ed1be4f
--- /dev/null
+++ b/editors/elementary-code/pkg-descr
@@ -0,0 +1,8 @@
+Code editor designed for elementary OS
+
+Tailor-made with autosaving, project folders, Git integration,
+multiple panes, smart whitespace, EditorConfig support, Mini Map,
+Vala symbols, and extensions like Terminal, Web Preview, and
+Vim Emulation. Code will be the last editor you'll ever need.
+
+WWW: https://github.com/elementary/code/
diff --git a/editors/elementary-code/pkg-plist b/editors/elementary-code/pkg-plist
new file mode 100644
index 000000000000..326696d107a6
--- /dev/null
+++ b/editors/elementary-code/pkg-plist
@@ -0,0 +1,246 @@
+bin/io.elementary.code
+include/codecore.h
+lib/io.elementary.code/plugins/brackets-completion/brackets-completion.plugin
+lib/io.elementary.code/plugins/brackets-completion/libbrackets-completion.so
+lib/io.elementary.code/plugins/browser-preview/browser-preview.plugin
+lib/io.elementary.code/plugins/browser-preview/libbrowser-preview.so
+lib/io.elementary.code/plugins/detect-indent/detect-indent.plugin
+lib/io.elementary.code/plugins/detect-indent/libdetect-indent.so
+lib/io.elementary.code/plugins/editorconfig/editorconfig.plugin
+lib/io.elementary.code/plugins/editorconfig/libeditorconfig.so
+lib/io.elementary.code/plugins/highlight-word-selection/highlight-word-selection.plugin
+lib/io.elementary.code/plugins/highlight-word-selection/libhighlight-word-selection.so
+lib/io.elementary.code/plugins/outline/liboutline.so
+lib/io.elementary.code/plugins/outline/outline.plugin
+lib/io.elementary.code/plugins/pastebin/libpastebin.so
+lib/io.elementary.code/plugins/pastebin/pastebin.plugin
+lib/io.elementary.code/plugins/preserve-indent/libpreserve-indent.so
+lib/io.elementary.code/plugins/preserve-indent/preserve-indent.plugin
+lib/io.elementary.code/plugins/spell/libspell.so
+lib/io.elementary.code/plugins/spell/spell.plugin
+lib/io.elementary.code/plugins/strip-trailing-save/libstrip-trailing-save.so
+lib/io.elementary.code/plugins/strip-trailing-save/strip-trailing-save.plugin
+lib/io.elementary.code/plugins/terminal/libterminal.so
+lib/io.elementary.code/plugins/terminal/terminal.plugin
+lib/io.elementary.code/plugins/vim-emulation/libvim-emulation.so
+lib/io.elementary.code/plugins/vim-emulation/vim-emulation.plugin
+lib/io.elementary.code/plugins/word-completion/libword-completion.so
+lib/io.elementary.code/plugins/word-completion/word-completion.plugin
+lib/libcodecore.so
+lib/libcodecore.so.0
+lib/libcodecore.so.0.0
+libdata/pkgconfig/codecore.pc
+share/applications/io.elementary.code.desktop
+share/icons/hicolor/128x128/apps/io.elementary.code.svg
+share/icons/hicolor/128x128@2/apps/io.elementary.code.svg
+share/icons/hicolor/16x16/apps/io.elementary.code.svg
+share/icons/hicolor/16x16@2/apps/io.elementary.code.svg
+share/icons/hicolor/24x24/apps/io.elementary.code.svg
+share/icons/hicolor/24x24@2/apps/io.elementary.code.svg
+share/icons/hicolor/32x32/apps/io.elementary.code.svg
+share/icons/hicolor/32x32@2/apps/io.elementary.code.svg
+share/icons/hicolor/48x48/apps/io.elementary.code.svg
+share/icons/hicolor/48x48@2/apps/io.elementary.code.svg
+share/icons/hicolor/64x64/apps/io.elementary.code.svg
+share/icons/hicolor/64x64@2/apps/io.elementary.code.svg
+share/io.elementary.code/fonts/BuilderBlocks.ttf
+share/locale/aa/LC_MESSAGES/io.elementary.code.mo
+share/locale/ab/LC_MESSAGES/io.elementary.code.mo
+share/locale/ae/LC_MESSAGES/io.elementary.code.mo
+share/locale/af/LC_MESSAGES/io.elementary.code.mo
+share/locale/ak/LC_MESSAGES/io.elementary.code.mo
+share/locale/am/LC_MESSAGES/io.elementary.code.mo
+share/locale/an/LC_MESSAGES/io.elementary.code.mo
+share/locale/ar/LC_MESSAGES/io.elementary.code.mo
+share/locale/as/LC_MESSAGES/io.elementary.code.mo
+share/locale/ast/LC_MESSAGES/io.elementary.code.mo
+share/locale/av/LC_MESSAGES/io.elementary.code.mo
+share/locale/ay/LC_MESSAGES/io.elementary.code.mo
+share/locale/az/LC_MESSAGES/io.elementary.code.mo
+share/locale/ba/LC_MESSAGES/io.elementary.code.mo
+share/locale/be/LC_MESSAGES/io.elementary.code.mo
+share/locale/bg/LC_MESSAGES/io.elementary.code.mo
+share/locale/bh/LC_MESSAGES/io.elementary.code.mo
+share/locale/bi/LC_MESSAGES/io.elementary.code.mo
+share/locale/bm/LC_MESSAGES/io.elementary.code.mo
+share/locale/bn/LC_MESSAGES/io.elementary.code.mo
+share/locale/bo/LC_MESSAGES/io.elementary.code.mo
+share/locale/br/LC_MESSAGES/io.elementary.code.mo
+share/locale/bs/LC_MESSAGES/io.elementary.code.mo
+share/locale/ca/LC_MESSAGES/io.elementary.code.mo
+share/locale/ce/LC_MESSAGES/io.elementary.code.mo
+share/locale/ch/LC_MESSAGES/io.elementary.code.mo
+share/locale/ckb/LC_MESSAGES/io.elementary.code.mo
+share/locale/co/LC_MESSAGES/io.elementary.code.mo
+share/locale/cr/LC_MESSAGES/io.elementary.code.mo
+share/locale/cs/LC_MESSAGES/io.elementary.code.mo
+share/locale/cu/LC_MESSAGES/io.elementary.code.mo
+share/locale/cv/LC_MESSAGES/io.elementary.code.mo
+share/locale/cy/LC_MESSAGES/io.elementary.code.mo
+share/locale/da/LC_MESSAGES/io.elementary.code.mo
+share/locale/de/LC_MESSAGES/io.elementary.code.mo
+share/locale/dv/LC_MESSAGES/io.elementary.code.mo
+share/locale/dz/LC_MESSAGES/io.elementary.code.mo
+share/locale/ee/LC_MESSAGES/io.elementary.code.mo
+share/locale/el/LC_MESSAGES/io.elementary.code.mo
+share/locale/en_AU/LC_MESSAGES/io.elementary.code.mo
+share/locale/en_CA/LC_MESSAGES/io.elementary.code.mo
+share/locale/en_GB/LC_MESSAGES/io.elementary.code.mo
+share/locale/eo/LC_MESSAGES/io.elementary.code.mo
+share/locale/es/LC_MESSAGES/io.elementary.code.mo
+share/locale/et/LC_MESSAGES/io.elementary.code.mo
+share/locale/eu/LC_MESSAGES/io.elementary.code.mo
+share/locale/fa/LC_MESSAGES/io.elementary.code.mo
+share/locale/ff/LC_MESSAGES/io.elementary.code.mo
+share/locale/fi/LC_MESSAGES/io.elementary.code.mo
+share/locale/fj/LC_MESSAGES/io.elementary.code.mo
+share/locale/fo/LC_MESSAGES/io.elementary.code.mo
+share/locale/fr/LC_MESSAGES/io.elementary.code.mo
+share/locale/fr_CA/LC_MESSAGES/io.elementary.code.mo
+share/locale/fy/LC_MESSAGES/io.elementary.code.mo
+share/locale/ga/LC_MESSAGES/io.elementary.code.mo
+share/locale/gd/LC_MESSAGES/io.elementary.code.mo
+share/locale/gl/LC_MESSAGES/io.elementary.code.mo
+share/locale/gn/LC_MESSAGES/io.elementary.code.mo
+share/locale/gu/LC_MESSAGES/io.elementary.code.mo
+share/locale/gv/LC_MESSAGES/io.elementary.code.mo
+share/locale/ha/LC_MESSAGES/io.elementary.code.mo
+share/locale/he/LC_MESSAGES/io.elementary.code.mo
+share/locale/hi/LC_MESSAGES/io.elementary.code.mo
+share/locale/ho/LC_MESSAGES/io.elementary.code.mo
+share/locale/hr/LC_MESSAGES/io.elementary.code.mo
+share/locale/ht/LC_MESSAGES/io.elementary.code.mo
+share/locale/hu/LC_MESSAGES/io.elementary.code.mo
+share/locale/hy/LC_MESSAGES/io.elementary.code.mo
+share/locale/hz/LC_MESSAGES/io.elementary.code.mo
+share/locale/ia/LC_MESSAGES/io.elementary.code.mo
+share/locale/id/LC_MESSAGES/io.elementary.code.mo
+share/locale/ie/LC_MESSAGES/io.elementary.code.mo
+share/locale/ig/LC_MESSAGES/io.elementary.code.mo
+share/locale/ii/LC_MESSAGES/io.elementary.code.mo
+share/locale/ik/LC_MESSAGES/io.elementary.code.mo
+share/locale/io/LC_MESSAGES/io.elementary.code.mo
+share/locale/is/LC_MESSAGES/io.elementary.code.mo
+share/locale/it/LC_MESSAGES/io.elementary.code.mo
+share/locale/iu/LC_MESSAGES/io.elementary.code.mo
+share/locale/ja/LC_MESSAGES/io.elementary.code.mo
+share/locale/jv/LC_MESSAGES/io.elementary.code.mo
+share/locale/ka/LC_MESSAGES/io.elementary.code.mo
+share/locale/kg/LC_MESSAGES/io.elementary.code.mo
+share/locale/ki/LC_MESSAGES/io.elementary.code.mo
+share/locale/kj/LC_MESSAGES/io.elementary.code.mo
+share/locale/kk/LC_MESSAGES/io.elementary.code.mo
+share/locale/kl/LC_MESSAGES/io.elementary.code.mo
+share/locale/km/LC_MESSAGES/io.elementary.code.mo
+share/locale/kn/LC_MESSAGES/io.elementary.code.mo
+share/locale/ko/LC_MESSAGES/io.elementary.code.mo
+share/locale/kr/LC_MESSAGES/io.elementary.code.mo
+share/locale/ks/LC_MESSAGES/io.elementary.code.mo
+share/locale/ku/LC_MESSAGES/io.elementary.code.mo
+share/locale/kv/LC_MESSAGES/io.elementary.code.mo
+share/locale/kw/LC_MESSAGES/io.elementary.code.mo
+share/locale/ky/LC_MESSAGES/io.elementary.code.mo
+share/locale/la/LC_MESSAGES/io.elementary.code.mo
+share/locale/lb/LC_MESSAGES/io.elementary.code.mo
+share/locale/lg/LC_MESSAGES/io.elementary.code.mo
+share/locale/li/LC_MESSAGES/io.elementary.code.mo
+share/locale/ln/LC_MESSAGES/io.elementary.code.mo
+share/locale/lo/LC_MESSAGES/io.elementary.code.mo
+share/locale/lt/LC_MESSAGES/io.elementary.code.mo
+share/locale/lu/LC_MESSAGES/io.elementary.code.mo
+share/locale/lv/LC_MESSAGES/io.elementary.code.mo
+share/locale/mg/LC_MESSAGES/io.elementary.code.mo
+share/locale/mh/LC_MESSAGES/io.elementary.code.mo
+share/locale/mi/LC_MESSAGES/io.elementary.code.mo
+share/locale/mk/LC_MESSAGES/io.elementary.code.mo
+share/locale/ml/LC_MESSAGES/io.elementary.code.mo
+share/locale/mn/LC_MESSAGES/io.elementary.code.mo
+share/locale/mo/LC_MESSAGES/io.elementary.code.mo
+share/locale/mr/LC_MESSAGES/io.elementary.code.mo
+share/locale/ms/LC_MESSAGES/io.elementary.code.mo
+share/locale/mt/LC_MESSAGES/io.elementary.code.mo
+share/locale/my/LC_MESSAGES/io.elementary.code.mo
+share/locale/na/LC_MESSAGES/io.elementary.code.mo
+share/locale/nb/LC_MESSAGES/io.elementary.code.mo
+share/locale/nd/LC_MESSAGES/io.elementary.code.mo
+share/locale/ne/LC_MESSAGES/io.elementary.code.mo
+share/locale/ng/LC_MESSAGES/io.elementary.code.mo
+share/locale/nl/LC_MESSAGES/io.elementary.code.mo
+share/locale/nn/LC_MESSAGES/io.elementary.code.mo
+share/locale/no/LC_MESSAGES/io.elementary.code.mo
+share/locale/nr/LC_MESSAGES/io.elementary.code.mo
+share/locale/nv/LC_MESSAGES/io.elementary.code.mo
+share/locale/ny/LC_MESSAGES/io.elementary.code.mo
+share/locale/oc/LC_MESSAGES/io.elementary.code.mo
+share/locale/oj/LC_MESSAGES/io.elementary.code.mo
+share/locale/om/LC_MESSAGES/io.elementary.code.mo
+share/locale/or/LC_MESSAGES/io.elementary.code.mo
+share/locale/os/LC_MESSAGES/io.elementary.code.mo
+share/locale/pa/LC_MESSAGES/io.elementary.code.mo
+share/locale/pi/LC_MESSAGES/io.elementary.code.mo
+share/locale/pl/LC_MESSAGES/io.elementary.code.mo
+share/locale/ps/LC_MESSAGES/io.elementary.code.mo
+share/locale/pt/LC_MESSAGES/io.elementary.code.mo
+share/locale/pt_BR/LC_MESSAGES/io.elementary.code.mo
+share/locale/qu/LC_MESSAGES/io.elementary.code.mo
+share/locale/rm/LC_MESSAGES/io.elementary.code.mo
+share/locale/rn/LC_MESSAGES/io.elementary.code.mo
+share/locale/ro/LC_MESSAGES/io.elementary.code.mo
+share/locale/ru/LC_MESSAGES/io.elementary.code.mo
+share/locale/rue/LC_MESSAGES/io.elementary.code.mo
+share/locale/rw/LC_MESSAGES/io.elementary.code.mo
+share/locale/sa/LC_MESSAGES/io.elementary.code.mo
+share/locale/sc/LC_MESSAGES/io.elementary.code.mo
+share/locale/sd/LC_MESSAGES/io.elementary.code.mo
+share/locale/se/LC_MESSAGES/io.elementary.code.mo
+share/locale/sg/LC_MESSAGES/io.elementary.code.mo
+share/locale/si/LC_MESSAGES/io.elementary.code.mo
+share/locale/sk/LC_MESSAGES/io.elementary.code.mo
+share/locale/sl/LC_MESSAGES/io.elementary.code.mo
+share/locale/sm/LC_MESSAGES/io.elementary.code.mo
+share/locale/sma/LC_MESSAGES/io.elementary.code.mo
+share/locale/sn/LC_MESSAGES/io.elementary.code.mo
+share/locale/so/LC_MESSAGES/io.elementary.code.mo
+share/locale/sq/LC_MESSAGES/io.elementary.code.mo
+share/locale/sr/LC_MESSAGES/io.elementary.code.mo
+share/locale/ss/LC_MESSAGES/io.elementary.code.mo
+share/locale/st/LC_MESSAGES/io.elementary.code.mo
+share/locale/su/LC_MESSAGES/io.elementary.code.mo
+share/locale/sv/LC_MESSAGES/io.elementary.code.mo
+share/locale/sw/LC_MESSAGES/io.elementary.code.mo
+share/locale/szl/LC_MESSAGES/io.elementary.code.mo
+share/locale/ta/LC_MESSAGES/io.elementary.code.mo
+share/locale/te/LC_MESSAGES/io.elementary.code.mo
+share/locale/tg/LC_MESSAGES/io.elementary.code.mo
+share/locale/th/LC_MESSAGES/io.elementary.code.mo
+share/locale/ti/LC_MESSAGES/io.elementary.code.mo
+share/locale/tk/LC_MESSAGES/io.elementary.code.mo
+share/locale/tl/LC_MESSAGES/io.elementary.code.mo
+share/locale/tn/LC_MESSAGES/io.elementary.code.mo
+share/locale/to/LC_MESSAGES/io.elementary.code.mo
+share/locale/tr/LC_MESSAGES/io.elementary.code.mo
+share/locale/ts/LC_MESSAGES/io.elementary.code.mo
+share/locale/tt/LC_MESSAGES/io.elementary.code.mo
+share/locale/tw/LC_MESSAGES/io.elementary.code.mo
+share/locale/ty/LC_MESSAGES/io.elementary.code.mo
+share/locale/ug/LC_MESSAGES/io.elementary.code.mo
+share/locale/uk/LC_MESSAGES/io.elementary.code.mo
+share/locale/ur/LC_MESSAGES/io.elementary.code.mo
+share/locale/uz/LC_MESSAGES/io.elementary.code.mo
+share/locale/ve/LC_MESSAGES/io.elementary.code.mo
+share/locale/vi/LC_MESSAGES/io.elementary.code.mo
+share/locale/vo/LC_MESSAGES/io.elementary.code.mo
+share/locale/wa/LC_MESSAGES/io.elementary.code.mo
+share/locale/wo/LC_MESSAGES/io.elementary.code.mo
+share/locale/xh/LC_MESSAGES/io.elementary.code.mo
+share/locale/yi/LC_MESSAGES/io.elementary.code.mo
+share/locale/yo/LC_MESSAGES/io.elementary.code.mo
+share/locale/za/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh_CN/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh_HK/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh_TW/LC_MESSAGES/io.elementary.code.mo
+share/locale/zu/LC_MESSAGES/io.elementary.code.mo
+share/metainfo/io.elementary.code.appdata.xml
+share/vala/vapi/codecore.deps
+share/vala/vapi/codecore.vapi