diff --git a/editors/elementary-code/Makefile b/editors/elementary-code/Makefile index 15d8f1da682c..f1f5c8ef5796 100644 --- a/editors/elementary-code/Makefile +++ b/editors/elementary-code/Makefile @@ -1,47 +1,50 @@ PORTNAME= elementary-code DISTVERSION= 6.0.0 PORTREVISION= 2 CATEGORIES= editors +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= a2607cce3a6b.patch:-p1 # https://github.com/elementary/code/pull/1165 + MAINTAINER= miguel@gocobachi.dev COMMENT= Code editor designed for elementary OS LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= valac:lang/vala RUN_DEPENDS= droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf \ pkcheck:sysutils/polkit 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 \ libgtkspell3-3.so:textproc/gtkspell3 \ libhandy-1.so:x11-toolkits/libhandy \ libpeas-1.0.so:devel/libpeas \ libpeas-gtk-1.0.so:devel/libpeas \ libsoup-2.4.so:devel/libsoup \ libvala-0.48.so:lang/vala \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ libzeitgeist-2.0.so:sysutils/zeitgeist USES= compiler:c++11-lang desktop-file-utils gettext gnome meson \ ninja pkgconfig python:3.6+,build xorg USE_GITHUB= yes GH_ACCOUNT= elementary GH_PROJECT= code USE_GNOME= cairo glib20 gtk30 gtksourceview4 pango vte3 GLIB_SCHEMAS= io.elementary.code.gschema.xml \ io.elementary.code.plugins.spell.gschema.xml \ io.elementary.code.plugins.terminal.gschema.xml USE_LDCONFIG= yes USE_XORG= x11 BINARY_ALIAS= python3=${PYTHON_CMD} do-test: cd ${WRKSRC}/${MESON_BUILD_DIR} && ninja test .include diff --git a/editors/elementary-code/distinfo b/editors/elementary-code/distinfo index 42f3c1d99506..9f1d8950003b 100644 --- a/editors/elementary-code/distinfo +++ b/editors/elementary-code/distinfo @@ -1,3 +1,5 @@ TIMESTAMP = 1628896888 SHA256 (elementary-code-6.0.0_GH0.tar.gz) = c58b33db512e1c031f6870eb62b035dea764dbdd7c54b8e19c434af8ccd3a384 SIZE (elementary-code-6.0.0_GH0.tar.gz) = 1303421 +SHA256 (a2607cce3a6b.patch) = d16ec6023bbc26a5fd919d2233e52caa983af667533c44592ba0120bd6122119 +SIZE (a2607cce3a6b.patch) = 661