solus-packages/packages/g/gnome-software/package.yml

53 lines
2.2 KiB
YAML

name : gnome-software
version : '48.1'
release : 24
source :
- https://download.gnome.org/sources/gnome-software/48/gnome-software-48.1.tar.xz : 084a985040294c36454b464a2144f981c0274906b4c49d71613e61ced6a96e8f
homepage : https://apps.gnome.org/Software/
license : GPL-2.0-or-later
component : desktop.gnome
summary : GNOME Software allows users to easily find, discover and install apps.
description: |
GNOME Software allows users to easily find, discover and install apps. It also keeps their OS, apps and devices up to date without them having to think about it, and gives them confidence that their system is up to date. It supports popular distributions, subject to those distributions maintaining their own distro-specific integration code.
optimize :
- lto
builddeps :
- pkgconfig(appstream)
- pkgconfig(flatpak)
- pkgconfig(fwupd)
- pkgconfig(gsettings-desktop-schemas)
- pkgconfig(gtk4)
- pkgconfig(json-glib-1.0)
- pkgconfig(libadwaita-1)
- pkgconfig(libsoup-3.0)
- pkgconfig(packagekit-glib2)
- pkgconfig(xmlb)
- gtk-doc
- itstool
rundeps :
- gnome-app-list
setup : |
# reenable me!
#patch -p1 -i $pkgfiles/0001-gs-appstream-Check-against-kernel-relation-types.patch
%patch -p1 -i $pkgfiles/0001-packagekit-Hardcode-some-solus-thingies.patch
%patch -p1 -i $pkgfiles/0001-packagekit-Set-PK_INFO_ENUM_SECURITY-as-AS_URGENCY_K.patch
# https://gitlab.gnome.org/GNOME/gnome-software/-/issues/2610
%patch -p1 -i $pkgfiles/0001-packagekit-HACK-Disable-req.-for-repo-plugin-to-show.patch
%meson_configure \
-Dpackagekit_autoremove=true \
-Dmalcontent=false \
-Dtests=false
build : |
%ninja_build
install : |
%ninja_install
# Stateless
install -dm0755 $installdir/usr/share/xdg/autostart/
mv $installdir/etc/xdg/autostart/org.gnome.Software.desktop $installdir/usr/share/xdg/autostart/
rmdir -v $installdir/etc/xdg/autostart \
$installdir/etc/xdg \
$installdir/etc/
install -Dm00644 $pkgfiles/org.gnome.software.gschema.override $installdir/usr/share/glib-2.0/schemas/org.gnome.software.gschema.override