summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-08-13 19:31:32 +0300
committerMart Raudsepp <leio@gentoo.org>2021-08-13 19:34:24 +0300
commit523050ac88a81100d880392fa5e94d1ffabfce79 (patch)
tree4f20683df36d0665cb79e7144fd5fe4d37d16584 /gnome-extra
parentdev-cpp/benchmark: add 1.5.6 (diff)
downloadgentoo-523050ac88a81100d880392fa5e94d1ffabfce79.tar.gz
gentoo-523050ac88a81100d880392fa5e94d1ffabfce79.tar.bz2
gentoo-523050ac88a81100d880392fa5e94d1ffabfce79.zip
gnome-extra/gnome-software: bump to 40.4
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-software/Manifest1
-rw-r--r--gnome-extra/gnome-software/gnome-software-40.4.ebuild102
2 files changed, 103 insertions, 0 deletions
diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest
index 18ff67cd3622..33ecbee8aba1 100644
--- a/gnome-extra/gnome-software/Manifest
+++ b/gnome-extra/gnome-software/Manifest
@@ -1,2 +1,3 @@
DIST gnome-software-40.2.tar.xz 3093012 BLAKE2B 0d51e7e752b9399f79c2fc16ea12b99bb58a486fe050e38a8fd606a2afd9db32d67d14b4ed50d21da163238b30fac20f93f8947b165d8ae611c27057dd572d34 SHA512 ded29be4c59130a4016d43d3e18a67c8cf3fec4761a7a57c067bf075a6f1da5b7726000172e2303ba129b3b5cb8bd22ebfad8fbf0e3248285a4864350f3a1679
DIST gnome-software-40.3.tar.xz 3108332 BLAKE2B 2b271db8994a252fcaf784452231585dd430b5e8363e6f2fed8e5bc0e7d1287e0cb5b22fa323a99a6f448cb23b0995ecef55b5a7675960f5dfb891cc5cb9aeae SHA512 6070f8f59fa9872282a081b6ba4f740616a799cffae43a8a541ebf4e0d7b189710dbdce679b1e5136a3fff5f8da29ec8e1ed9df7289c0a6ed697eb0ad693271f
+DIST gnome-software-40.4.tar.xz 3108460 BLAKE2B 696736d94fe245f98a619a58c8df1a3c6196a9f3f07ccc82f0c92c3226ab4914ee5bdbf2f6414b8e8fca99215451d08ef03b164b5cd885af36d69b1cc9043b7a SHA512 5ef7ad754cb161ad5e181dc9b189fe57066a92ebbe3a5871412b638896a02d6e9114e5fdce91e3225af990a580a1f534b936008ff3a2d50a59154406f055a3e7
diff --git a/gnome-extra/gnome-software/gnome-software-40.4.ebuild b/gnome-extra/gnome-software/gnome-software-40.4.ebuild
new file mode 100644
index 000000000000..4f2ba4e19e8a
--- /dev/null
+++ b/gnome-extra/gnome-software/gnome-software-40.4.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 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:=
+ net-libs/gnome-online-accounts:=
+ >=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.0.2: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
+ -Dodrs=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)
+ )
+ 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
+}