Adding latest gnome-software.
This commit is contained in:
parent
11135bcdfb
commit
e5727fca14
2
gnome-extra/gnome-software/Manifest
Normal file
2
gnome-extra/gnome-software/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST gnome-software-42.0.tar.xz 2266316 BLAKE2B c672ecd32d80168aca9b651beb1f58562fb2874656f3c400c9301a0ed87e19cdd74554ef5995daec7f435cf689ad9dc3404623cab4dbb1e00602aa8b191ed996 SHA512 f630232d164d1a7adcf9a91133769c6fe4ce62cdaeccd49b991330682eeccfddc8f83c7326802aaabdb4fc537243c0fd19741c702f4d23d75ebd71e9abb3da92
|
||||
EBUILD gnome-software-42.0.ebuild 2833 BLAKE2B de6ab68841f924484e15ea7b899f3c2b82177bf1f0fc0420dd5bd2c97b4a600bcb623415d5ac12dcd6c40058f06f9dc66f89d39c7e34de1154104bd001df4fe1 SHA512 5151920c8cf7a9ec7f235b0b267b72857a76c42d8a372cf94d7717d29a1b777a04bf406495a6ea5a6e86d7ddfe4e54c0946666810b70f5d0a795f51a5c39ea1b
|
101
gnome-extra/gnome-software/gnome-software-42.0.ebuild
Normal file
101
gnome-extra/gnome-software/gnome-software-42.0.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit gnome.org gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="Gnome install & update software"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Software"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="flatpak +firmware gnome gtk-doc spell sysprof udev"
|
||||
RESTRICT="test" # writes to and deletes files in /var/tmp/self-test/
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/appstream-0.14.0:0=
|
||||
>=x11-libs/gdk-pixbuf-2.32.0:2
|
||||
>=dev-libs/libxmlb-0.1.7:=
|
||||
>=x11-libs/gtk+-3.22.4:3
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/json-glib-1.2.0
|
||||
>=net-libs/libsoup-2.52.0:2.4
|
||||
>=gui-libs/libhandy-1.2.0:1=
|
||||
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
|
||||
gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 )
|
||||
spell? ( app-text/gspell:= )
|
||||
sys-auth/polkit
|
||||
firmware? ( >=sys-apps/fwupd-1.0.3 )
|
||||
flatpak? (
|
||||
>=sys-apps/flatpak-1.0.4
|
||||
dev-util/ostree
|
||||
)
|
||||
udev? ( dev-libs/libgudev )
|
||||
>=gnome-base/gsettings-desktop-schemas-3.11.5
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/libxml2:2
|
||||
dev-util/gdbus-codegen
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
gtk-doc? (
|
||||
dev-util/gtk-doc
|
||||
app-text/docbook-xml-dtd:4.3 )
|
||||
"
|
||||
# test? ( dev-util/valgrind )
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
sed -i -e '/install_data.*README\.md.*share\/doc\/gnome-software/d' meson.build || die
|
||||
# We don't need language packs download support, and it fails tests in 3.34.2 for us (if they are enabled)
|
||||
sed -i -e '/subdir.*fedora-langpacks/d' plugins/meson.build || die
|
||||
# Trouble talking to spawned gnome-keyring socket for some reason, even if wrapped in dbus-run-session
|
||||
# TODO: Investigate; seems to work outside ebuild .. test/emerge
|
||||
sed -i -e '/g_test_add_func.*gs_auth_secret_func/d' lib/gs-self-test.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dtests=false #$(meson_use test tests)
|
||||
$(meson_use spell gspell)
|
||||
$(meson_feature gnome gsettings_desktop_schemas) # Honoring of GNOME date format settings.
|
||||
-Dman=true
|
||||
-Dpackagekit=false
|
||||
# -Dpackagekit_autoremove
|
||||
-Dpolkit=true
|
||||
-Deos_updater=false # Endless OS updater
|
||||
$(meson_use firmware fwupd)
|
||||
$(meson_use flatpak)
|
||||
-Dmalcontent=false
|
||||
-Drpm_ostree=false
|
||||
$(meson_use udev gudev)
|
||||
-Dapt=false
|
||||
-Dsnap=false
|
||||
-Dexternal_appstream=false
|
||||
-Dvalgrind=false
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
-Dhardcoded_popular=true
|
||||
-Ddefault_featured_apps=false # TODO: Will this be beneficial to us with flatpak at least? If enabled, it shows some apps under installed (probably merely due to /usr/share/app-info presence), but launching and removal of them is broken
|
||||
-Dmogwai=false #TODO?
|
||||
$(meson_feature sysprof)
|
||||
-Dprofile=''
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
#src_test() {
|
||||
# virtx meson_src_test
|
||||
#}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user