diff --git a/srcpkgs/io.elementary.files/patches/without-unity.patch b/srcpkgs/io.elementary.files/patches/without-unity.patch new file mode 100644 index 0000000000..cfa5650672 --- /dev/null +++ b/srcpkgs/io.elementary.files/patches/without-unity.patch @@ -0,0 +1,18 @@ +diff --git src/QuicklistHandler.vala src/QuicklistHandler.vala +index 8be7ed45..f33e52ce 100644 +--- src/QuicklistHandler.vala ++++ src/QuicklistHandler.vala +@@ -17,6 +17,7 @@ + + namespace Marlin { + ++#if HAVE_UNITY + public class LauncherEntry : Object { + public Unity.LauncherEntry entry; + public List bookmark_quicklists = null; +@@ -118,4 +119,5 @@ namespace Marlin { + } + + } ++#endif + } diff --git a/srcpkgs/io.elementary.files/template b/srcpkgs/io.elementary.files/template index 1559d8b2a3..3945b2813d 100644 --- a/srcpkgs/io.elementary.files/template +++ b/srcpkgs/io.elementary.files/template @@ -1,9 +1,10 @@ # Template file for 'io.elementary.files' pkgname=io.elementary.files -version=4.0 -revision=2 +version=4.1.0 +revision=1 wrksrc="files-${version}" -build_style=cmake +build_style=meson +configure_args="-Dwith-unity=false" hostmakedepends="vala pkg-config intltool" makedepends="gtk+3-devel libglib-devel libgee08-devel sqlite-devel plank-devel libcanberra-devel granite-devel pango-devel zeitgeist-devel dbus-glib-devel @@ -13,7 +14,7 @@ maintainer="Cameron Nemo " license="GPL-3.0-or-later" homepage="https://github.com/elementary/files" distfiles="https://github.com/elementary/files/archive/${version}.tar.gz" -checksum=fc466b8ee32f8fdf4746955fcd4a6ecd9e9787b9cea6ebde3d6f9777c4ea82b9 +checksum=45d04731568cc6c3a515f1d85a50927ba1ebffd4cda7c5a1a2b8bc8898113f76 libio.elementary.files_package() { short_desc+=" - library"