diff --git a/anda/apps/goofcord/stable/goofcord.spec b/anda/apps/goofcord/stable/goofcord.spec index ee6f399b18..6ef8418cc0 100644 --- a/anda/apps/goofcord/stable/goofcord.spec +++ b/anda/apps/goofcord/stable/goofcord.spec @@ -1,6 +1,5 @@ %global git_name GoofCord - -%electronmeta +%global appid io.github.milkshiift.GoofCord Name: goofcord Version: 2.0.1 @@ -10,27 +9,31 @@ Summary: A privacy-minded Legcord fork. Group: Applications/Internet URL: https://github.com/Milkshiift/%{git_name} Source0: %{url}/archive/refs/tags/v%{version}.tar.gz -BuildRequires: anda-srpm-macros >= 0.2.26 +BuildRequires: anda-srpm-macros >= 0.3.0 BuildRequires: bun-bin Packager: Gilver E. +%electronmeta -D + %description A highly configurable and privacy minded Discord client. %prep %autosetup -n %{git_name}-%{version} - -%build %ifarch %{arm64} armv7hl armv7l sed -i '/\"x64\",/d' electron-builder.ts %endif -%bun_build -r build -R + +%build +%bun_build %install -%electron_install -D -O -U %U -E UseOzonePlatform,WaylandWindowDecorations +%electron_install -D -O -U %U -E UseOzonePlatform,WaylandWindowDecorations -I + +install -Dm644 assetsDev/%{appid}.metainfo.xml -t %{buildroot}%{_metainfodir} %check -desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop +%desktop_file_validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc README.md @@ -38,14 +41,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_libdir}/%{name}/ -%{_iconsdir}/hicolor/16x16/apps/%{name}.png -%{_iconsdir}/hicolor/32x32/apps/%{name}.png -%{_iconsdir}/hicolor/48x48/apps/%{name}.png -%{_iconsdir}/hicolor/64x64/apps/%{name}.png -%{_iconsdir}/hicolor/128x128/apps/%{name}.png -%{_iconsdir}/hicolor/256x256/apps/%{name}.png -%{_iconsdir}/hicolor/512x512/apps/%{name}.png -%{_iconsdir}/hicolor/1024x1024/apps/%{name}.png +%{_metainfodir}/%{appid}.metainfo.xml +%{_hicolordir}/16x16/apps/%{name}.png +%{_hicolordir}/32x32/apps/%{name}.png +%{_hicolordir}/48x48/apps/%{name}.png +%{_hicolordir}/64x64/apps/%{name}.png +%{_hicolordir}/128x128/apps/%{name}.png +%{_hicolordir}/256x256/apps/%{name}.png +%{_hicolordir}/512x512/apps/%{name}.png +%{_hicolordir}/1024x1024/apps/%{name}.png %changelog * Sat Jun 28 2025 Gilver E. - 1.10.1-1