io.elementary.code: update to 6.1.0.

This commit is contained in:
Michal Vasilek 2022-03-10 22:16:04 +01:00 committed by Echo
parent 578d602535
commit 02de071ef0
2 changed files with 9 additions and 34 deletions

View file

@ -1,25 +0,0 @@
From a185de0e7716aa2de2bf21de96e6c9af1dca81aa Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Wed, 16 Sep 2020 20:43:07 +0200
Subject: [PATCH] fix with vala-0.50
---
plugins/outline/Vala/ValaSymbolOutline.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git plugins/outline/Vala/ValaSymbolOutline.vala plugins/outline/Vala/ValaSymbolOutline.vala
index c8db339..31386a6 100644
--- a/plugins/outline/Vala/ValaSymbolOutline.vala
+++ b/plugins/outline/Vala/ValaSymbolOutline.vala
@@ -61,7 +61,7 @@ public class Code.Plugins.ValaSymbolOutline : Object, Code.Plugins.SymbolOutline
public void parse_symbols () {
var context = new Vala.CodeContext ();
- context.profile = Vala.Profile.GOBJECT;
+ context.set_target_profile(Vala.Profile.GOBJECT);
context.add_source_filename (doc.file.get_path ());
context.report = new Report ();
if (cancellable != null)
--
2.28.0

View file

@ -1,19 +1,19 @@
# Template file for 'io.elementary.code'
pkgname=io.elementary.code
version=3.4.1
revision=5
version=6.1.0
revision=1
wrksrc="code-${version}"
build_style=meson
hostmakedepends="pkg-config vala intltool glib-devel"
hostmakedepends="pkg-config vala gettext polkit glib-devel"
makedepends="editorconfig-devel libgee08-devel granite-devel libpeas-devel
gtksourceview-devel vte3-devel gtkspell3-devel zeitgeist-devel libsoup-devel
webkit2gtk-devel gtk+3-devel libgit2-glib-devel"
gtksourceview4-devel vte3-devel gtkspell3-devel libsoup-devel
gtk+3-devel libgit2-glib-devel polkit-devel libhandy1-devel"
short_desc="Code editor designed for elementary OS"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/elementary/code"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=d84b38193b72cd93995aae604358c83c5b6976d8472ce985027b947cfed990bf
distfiles="https://github.com/elementary/code/archive/${version}.tar.gz"
checksum=d44851eb827dc9a069ab81b6a9cfe255795e3319a6882ca344152781968ce3ce
libio.elementary.code_package() {
short_desc+=" - library"
@ -25,8 +25,8 @@ libio.elementary.code_package() {
libio.elementary.code-devel_package() {
short_desc+=" - library development files"
depends="libio.elementary.code>=${version} fontconfig-devel granite-devel
gtk+3-devel gtksourceview-devel libgee08-devel libgit2-glib-devel
libglib-devel libpeas-devel pango-devel zeitgeist-devel"
gtk+3-devel gtksourceview4-devel libgee08-devel libgit2-glib-devel
libglib-devel libpeas-devel pango-devel polkit-devel libhandy1-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig