summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2020-04-04 20:19:23 +0300
committerMart Raudsepp <leio@gentoo.org>2020-04-04 23:47:30 +0300
commitf88be90a4ce1d7c6f01deedcff0f8cc8cf5ec807 (patch)
treed2ea2900042b04e9ae709adffb6eb680d4f4c2de /gnome-extra/gnome-software
parentxfce-base/garcon: Bump to 0.7.0 (diff)
downloadgentoo-f88be90a4ce1d7c6f01deedcff0f8cc8cf5ec807.tar.gz
gentoo-f88be90a4ce1d7c6f01deedcff0f8cc8cf5ec807.tar.bz2
gentoo-f88be90a4ce1d7c6f01deedcff0f8cc8cf5ec807.zip
gnome-extra/gnome-software: bump to 3.34.2
Disable tests, as some fail, pointing out that they are just outright writing and deleting at /var/tmp/self-test/ Bug: https://bugs.gentoo.org/709010 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-software')
-rw-r--r--gnome-extra/gnome-software/Manifest1
-rw-r--r--gnome-extra/gnome-software/gnome-software-3.34.2.ebuild95
2 files changed, 96 insertions, 0 deletions
diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest
index fb761936e2b0..4f8749e196b1 100644
--- a/gnome-extra/gnome-software/Manifest
+++ b/gnome-extra/gnome-software/Manifest
@@ -1,2 +1,3 @@
DIST gnome-software-3.30.6.tar.xz 5217384 BLAKE2B 6a9478aa7752ea62c391545b5f84191a22c839802bd1ac2118696b9dd954a19003477a688d9f36868a617dbf3dd186fc36a054ce0eac8ba8c7a5eee834732ce4 SHA512 dd98e9e61469fc5566ab569f09bdc06ccb5812a236e305185b911c70364e2983f257e939aed0bb61778163084fb5628d63ff6bd5f056d4a7626a2e771ad6426a
DIST gnome-software-3.32.4.tar.xz 4852860 BLAKE2B 334eaeccbcd897720e11f0b7b9d4cd9f88c848e536c11e74217074044cfc40ea41fe452b68b6c45787a8369b49268dd704a2efeaf6378e35d3a878ec24f6907e SHA512 81a32477fe755f57465cfbc3d1c88a2f460d6a21222fd73aced06c92b409023a1ace002c338e713135658896c2c14a7ff8508eeefbc5f648e66d8c8777dee881
+DIST gnome-software-3.34.2.tar.xz 5945736 BLAKE2B 89e7e0a606a832aedbfa32024f201e71b3edb3c8df527efea1be72236b4bfb86901f3af689b10bf706f9c4f16e6badc00080a1244ce30eb09dfd1dad5833e8cf SHA512 4deb09530fbeeadd54e69d03ef4cecaef47c6766bce0ec5230bb090d27e54664577a227416933b6ec4780249f4565e51202a25517fba5dd040fd895bd3a26397
diff --git a/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild b/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild
new file mode 100644
index 000000000000..67e40c10e9e1
--- /dev/null
+++ b/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 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="+firmware gnome gtk-doc packagekit spell udev"
+RESTRICT="test" # writes to and deletes files in /var/tmp/self-test/
+
+RDEPEND="
+ >=dev-libs/appstream-glib-0.7.14: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
+ gnome? ( >=gnome-base/gnome-desktop-3.18.0:3= )
+ spell? ( app-text/gspell:= )
+ sys-auth/polkit
+ packagekit? ( >=app-admin/packagekit-base-1.1.0 )
+ firmware? ( >=sys-apps/fwupd-1.0.3 )
+ 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_use gnome gnome_desktop) # Investigate purpose, in relation to shell_extensions too (is it ok to be same USE?)
+ -Dman=true
+ $(meson_use packagekit)
+ # -Dpackagekit_autoremove
+ -Dpolkit=true
+ -Deos_updater=false # Endless OS updater
+ $(meson_use firmware fwupd)
+ -Dflatpak=false
+ -Drpm_ostree=false
+ $(meson_use gnome shell_extensions) # Maybe gnome-shell USE?
+ -Dodrs=false
+ -Dwebapps=true
+ $(meson_use udev gudev)
+ -Dsnap=false
+ -Dexternal_appstream=false
+ -Dvalgrind=false
+ $(meson_use gtk-doc gtk_doc)
+ -Dhardcoded_popular=true
+ -Dmogwai=false #TODO?
+ )
+ 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
+}