* New Features
- Port to SDL3 (#1756)
- Warn against malformed patterns and disable them (#2029)
- Update Windows setup files (#1988)
- add LTO support (#2049)
- Make font loading function return proper error messages (#1919)
* Fixes
- Update CSS plugin to support more units (#2010)
- Add __tostring method to all objects (#1534)
- Use current char to determine col in DocView:get_x_offset_col (#1946)
- Allow / and \ as PATHSEP on Windows when fuzzy matching files (#1992)
- Use correct charmap and glyphmap sizes (#1999)
- Add digit separators for C++ syntax highlighting (#2026)
- Prevent enumerating the directory tree in system.list_dir (#2059)
- Fixed dirmonitor excessively high CPU usage on Linux (#2044)
- Use correct charmap and glyphmap sizes (#1999)
- Make project folder detection more robust against unexpected errors (b5317c5)
* Other Changes
- Replace memory functions with SDL equivalent (#2067)
- Add postrelease workflow to update docs and release winget packages (#1983)
- Move dependency resolving into source file (#1937)
- Improve WASM support (#1779)
- Update CI Script to fix MSYS2 (#2028)
- Fix missing includes (#2017)
- Add manifest file to allow installing Lite XL with lpm (#2043)
- Update to version 2.1.7:
* Features
- Allow / for path suggestions in Windows (#1875, #1976)
OBS-URL: https://build.opensuse.org/package/show/editors/lite-xl?expand=0&rev=27
84 lines
2.8 KiB
RPMSpec
84 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package lite-xl
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: lite-xl
|
|
Version: 2.1.8
|
|
Release: 0
|
|
Summary: A lightweight text editor written in Lua
|
|
Group: Productivity/Text/Editors
|
|
License: MIT
|
|
URL: https://github.com/lite-xl/lite-xl
|
|
#Source: %%{name}-%%{version}.tar.gz
|
|
Source: https://github.com/%{name}/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: git-core
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(libpcre2-8)
|
|
BuildRequires: pkgconfig(lua) >= 5.4
|
|
BuildRequires: pkgconfig(sdl3)
|
|
%if 0%{?sle_version} == 150500
|
|
BuildRequires: python311-base
|
|
%endif
|
|
Requires: %{name}-plugin-manager
|
|
# These can be managed by 'lite-xl-plugin-manager' (lpm)
|
|
Conflicts: %{name}-colors <= %{version}
|
|
Conflicts: %{name}-plugins <= %{version}
|
|
Conflicts: %{name}-widgets <= %{version}
|
|
|
|
%description
|
|
Lite XL is derived from lite.
|
|
It is a lightweight text editor written mostly in Lua.
|
|
It aims to provide something practical, pretty, small and fast easy to modify
|
|
and extend, or to use without doing either. The aim of Lite XL compared to
|
|
lite is to be more user friendly, improve the quality of font rendering, and
|
|
reduce CPU usage.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%meson -Duse_system_lua=true
|
|
%meson_build
|
|
#meson setup --buildtype=release --prefix %%{_prefix} build
|
|
#meson compile -C build
|
|
|
|
%install
|
|
%meson_install
|
|
rm -rfv %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license licenses/licenses.md
|
|
%dir %{_datadir}/icons/hicolor
|
|
%dir %{_datadir}/icons/hicolor/scalable
|
|
%dir %{_datadir}/icons/hicolor/scalable/apps
|
|
%dir %{_datadir}/%{name}
|
|
%{_bindir}/%{name}
|
|
### Seems to bounce between these depending on release cycle - 20240122, smb.
|
|
%{_datadir}/applications/org.lite_xl.lite_xl.desktop
|
|
#%%{_datadir}/applications/com.lite_xl.LiteXL.desktop
|
|
#####
|
|
%{_datadir}/icons/hicolor/scalable/apps/lite-xl.svg
|
|
%{_datadir}/%{name}/*
|
|
### Seems to bounce between these depending on release cycle - 20240122, smb.
|
|
%{_datadir}/metainfo/org.lite_xl.lite_xl.appdata.xml
|
|
#%%{_datadir}/metainfo/com.lite_xl.LiteXL.appdata.xml
|
|
######
|
|
%changelog
|