From ea0661b355656450120535f0e7220bfcdfb4f217 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sat, 27 Dec 2025 17:54:37 -0800 Subject: [PATCH] add: vicinae (#8678) (#8722) * add: vicinae * missing dependency? * use minizip-ng-compat * build with mock * package extra files * add desktop files * add license and doc * use appsdir * build without mock * oops * Revert "build without mock" This reverts commit 07fe41ae77e77a4b5b90099176fe0ff413e3568d. * oops * oops again * oops (cherry picked from commit a28e6ac1672441b4f44776e3b84af8c927365877) Co-authored-by: metcya <134973769+metcya@users.noreply.github.com> --- anda/system/vicinae/anda.hcl | 8 ++++ anda/system/vicinae/update.rhai | 1 + anda/system/vicinae/vicinae.spec | 66 ++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 anda/system/vicinae/anda.hcl create mode 100644 anda/system/vicinae/update.rhai create mode 100644 anda/system/vicinae/vicinae.spec diff --git a/anda/system/vicinae/anda.hcl b/anda/system/vicinae/anda.hcl new file mode 100644 index 0000000000..63c46bf7c5 --- /dev/null +++ b/anda/system/vicinae/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "vicinae.spec" + } + labels { + mock = 1 + } +} diff --git a/anda/system/vicinae/update.rhai b/anda/system/vicinae/update.rhai new file mode 100644 index 0000000000..c731f04401 --- /dev/null +++ b/anda/system/vicinae/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("vicinaehq/vicinae")); diff --git a/anda/system/vicinae/vicinae.spec b/anda/system/vicinae/vicinae.spec new file mode 100644 index 0000000000..7b653ce0a7 --- /dev/null +++ b/anda/system/vicinae/vicinae.spec @@ -0,0 +1,66 @@ +Name: vicinae +Version: 0.17.3 +Release: 1%{?dist} +License: GPL-3.0 +URL: https://docs.vicinae.com +Source: https://github.com/vicinaehq/%{name}/archive/refs/tags/v%{version}.tar.gz +Summary: a high-performance, native launcher for Linux +Packager: metcya + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: cmake(absl) +BuildRequires: openssl-devel +BuildRequires: cmark-gfm-devel +BuildRequires: cmake(glaze) +BuildRequires: cmake(minizip) +BuildRequires: cmake(Qt6) +BuildRequires: cmake(Qt6Svg) +BuildRequires: cmake(Qt6Keychain) +BuildRequires: cmake(LayerShellQt) +BuildRequires: pkgconfig(libqalculate) +BuildRequires: pkgconfig(protobuf) +BuildRequires: wayland-devel +BuildRequires: nodejs-npm +BuildRequires: systemd-rpm-macros + +Requires: nodejs-npm + +%description +Vicinae (pronounced "vih-SIN-ay") is a high-performance, native launcher for +your desktop — built with C++ and Qt. + +%prep +%autosetup + +%build +%cmake -DNOSTRIP=ON +%cmake_build + +%install +%cmake_install +install -Dm 644 extra/%{name}.desktop -t %{buildroot}%{_appsdir} +install -Dm 644 extra/%{name}-url-handler.desktop -t %{buildroot}%{_appsdir} + +%post +%systemd_user_post %{name}.service + +%preun +%systemd_user_preun %{name}.service + +%postun +%systemd_user_postun_with_restart %{name}.service + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_userunitdir}/%{name}.service +%{_datadir}/%{name}/themes/ +%{_appsdir}/%{name}.desktop +%{_appsdir}/%{name}-url-handler.desktop +%{_hicolordir}/512x512/apps/%{name}.png + +%changelog +* Fri Dec 26 2025 metcya - 0.17.3 +- Package vicinae