From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.2021 --- gnome-extra/gnome-software/Manifest | 10 +- .../gnome-software/gnome-software-3.34.2.ebuild | 95 ------------------- .../gnome-software/gnome-software-3.36.1.ebuild | 95 ------------------- .../gnome-software/gnome-software-40.0.ebuild | 103 --------------------- .../gnome-software/gnome-software-40.1.ebuild | 103 --------------------- .../gnome-software/gnome-software-40.2-r1.ebuild | 103 +++++++++++++++++++++ 6 files changed, 105 insertions(+), 404 deletions(-) delete mode 100644 gnome-extra/gnome-software/gnome-software-3.34.2.ebuild delete mode 100644 gnome-extra/gnome-software/gnome-software-3.36.1.ebuild delete mode 100644 gnome-extra/gnome-software/gnome-software-40.0.ebuild delete mode 100644 gnome-extra/gnome-software/gnome-software-40.1.ebuild create mode 100644 gnome-extra/gnome-software/gnome-software-40.2-r1.ebuild (limited to 'gnome-extra/gnome-software') diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest index 9d18cc67c013..76fffa53246b 100644 --- a/gnome-extra/gnome-software/Manifest +++ b/gnome-extra/gnome-software/Manifest @@ -1,9 +1,3 @@ -DIST gnome-software-3.34.2.tar.xz 5945736 BLAKE2B 89e7e0a606a832aedbfa32024f201e71b3edb3c8df527efea1be72236b4bfb86901f3af689b10bf706f9c4f16e6badc00080a1244ce30eb09dfd1dad5833e8cf SHA512 4deb09530fbeeadd54e69d03ef4cecaef47c6766bce0ec5230bb090d27e54664577a227416933b6ec4780249f4565e51202a25517fba5dd040fd895bd3a26397 -DIST gnome-software-3.36.1.tar.xz 8277796 BLAKE2B bf3d5f3f67b211cfd4af87ae500691085ab83aed9f85e211972d408a1bfa5d7c6de162acc2088bf9ba9323369e73dba27a06b2491745ef2ceb04943e4acbf72d SHA512 7d0e8c16192bbbc8f166db137dbd2e6ff9e85f7d3d37f63f41211ba3838e392bd87a8d9bf09d31b43f6d21e1a099ecdeff9114ae27fae40d563671f0bcbe50d4 -DIST gnome-software-40.0.tar.xz 3087252 BLAKE2B 4b834113c0770a3acfbcf21b5db3d6da57a885e6b235c3328947f218f28daf70c6f636253283dd77d0c4a1fc59f8ac66a140412694a61352147c13c27e7a76af SHA512 052c520ab25af4257bb978aaa9e1c7a555f8d24dbd782d9f12f3c3def22e65588d3c76d16e4b3dc26f034a762c2ee3e773026b158d468e9e169369dc3d156a2a -DIST gnome-software-40.1.tar.xz 3093832 BLAKE2B 0da79bd28f8db55816543490518dce880878a7619d05d789d4ab1795728025e9eb5ec4ad330018bfae036d3cc79b712178bea9e219b357bb231ee898eb0e1744 SHA512 ae805d01896d761dd82a21dedbfafba7e8ffd2d98e99da4548d846aafdf07f9a26dfa2e083ac2dda576f8b1db05bb3f26642d3a6558da86921450049870767fe -EBUILD gnome-software-3.34.2.ebuild 2575 BLAKE2B a3f3577b57b71d05e902ab9b9ef9fc036abe6af0c77508fd04f8b918be16a0d9fd0aeb6d050202cf97f30d01ba52dbf42d430d37760b714bff81276bca52e155 SHA512 cc26a7d5fdde91d32e878cceb9d04811809dcee768519a271d0b950fd6806c2f10c501a403c78b8ca6e1b5e4013978ceb18d63ad74894866e4a3d546ddcbef6e -EBUILD gnome-software-3.36.1.ebuild 2839 BLAKE2B d98fbd6f2300d6fb96c26b0f2dd06abed0610d982136ac571d245ff1560d3e306f638ef015d5bbe190ce696f1e815ed6108c05a2daba6358c0a137ce78d5b8da SHA512 ab945043f956b40f1131b96a4adb6942b5383086ac81cf37171950de5e81e27d5b409b00e07cf116d9d4578a46484d7ea2be2b486cbb4c248a7373e368c0029f -EBUILD gnome-software-40.0.ebuild 2934 BLAKE2B 81514c43f2dbce4137c71089ca76d7557b023091f402636d929e7b729d593f5458180a0fa314d91dd1ba607adcaf5e1866f680aa3f017d7d281ec964ac357816 SHA512 ea3da637de40af1487c8fa561e1b7c38f0565f78e5df91211c127e9f776ca399546a8b22fa7e15c9c6d02b67dbeede720e06a58b912784d8718314218d400f11 -EBUILD gnome-software-40.1.ebuild 2934 BLAKE2B 81514c43f2dbce4137c71089ca76d7557b023091f402636d929e7b729d593f5458180a0fa314d91dd1ba607adcaf5e1866f680aa3f017d7d281ec964ac357816 SHA512 ea3da637de40af1487c8fa561e1b7c38f0565f78e5df91211c127e9f776ca399546a8b22fa7e15c9c6d02b67dbeede720e06a58b912784d8718314218d400f11 +DIST gnome-software-40.2.tar.xz 3093012 BLAKE2B 0d51e7e752b9399f79c2fc16ea12b99bb58a486fe050e38a8fd606a2afd9db32d67d14b4ed50d21da163238b30fac20f93f8947b165d8ae611c27057dd572d34 SHA512 ded29be4c59130a4016d43d3e18a67c8cf3fec4761a7a57c067bf075a6f1da5b7726000172e2303ba129b3b5cb8bd22ebfad8fbf0e3248285a4864350f3a1679 +EBUILD gnome-software-40.2-r1.ebuild 2934 BLAKE2B 3d551cb5032801a734b265f9f3f295e21429d5f2f5c22681a599471288ed0d83c22dbaeec6ff9726b16db2c32475078904c5358cc3b0517df05aa9c8475391ea SHA512 8773115d02f5009d92f3cd07beadbc7184e885c114a640008576be74d5507301ae942d4ec0b73b94d83d241dbc47d82f2945e2fa275c87af8ada0acdc8acee79 MISC metadata.xml 657 BLAKE2B 964e35ceecdb7cb6299ca103520f1c0b67859bbc2a020994f5b9a58d9b48c0457787fc3b73d756074d36b33aa445f266cfc7ce953959378da020c2000c581575 SHA512 436225bf3076aa82432b72103209ad101824d20d3e37be6225a627c15e1cd1e52697b91c77021f83e4009d06e057e8e97dfc05860122764a82e59b356c282bc1 diff --git a/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild b/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild deleted file mode 100644 index 1aee954135f9..000000000000 --- a/gnome-extra/gnome-software/gnome-software-3.34.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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 -} diff --git a/gnome-extra/gnome-software/gnome-software-3.36.1.ebuild b/gnome-extra/gnome-software/gnome-software-3.36.1.ebuild deleted file mode 100644 index 1f902741dd20..000000000000 --- a/gnome-extra/gnome-software/gnome-software-3.36.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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) # Honoring of GNOME date format settings. TODO: Really may need gsettings-desktop-schemas, not gnome-desktop - https://gitlab.gnome.org/GNOME/gnome-software/-/issues/945 - -Dman=true - $(meson_use packagekit) - # -Dpackagekit_autoremove - -Dpolkit=true - -Deos_updater=false # Endless OS updater - $(meson_use firmware fwupd) - -Dflatpak=false - -Dmalcontent=false - -Drpm_ostree=false - -Dodrs=false - $(meson_use udev gudev) - -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_src_configure -} - -#src_test() { -# virtx meson_src_test -#} - -pkg_postinst() { - xdg_pkg_postinst - gnome2_schemas_update -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update -} diff --git a/gnome-extra/gnome-software/gnome-software-40.0.ebuild b/gnome-extra/gnome-software/gnome-software-40.0.ebuild deleted file mode 100644 index c81ec02d2b52..000000000000 --- a/gnome-extra/gnome-software/gnome-software-40.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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 packagekit 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.38.1:4 ) - gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 ) - spell? ( app-text/gspell:= ) - sys-auth/polkit - packagekit? ( >=app-admin/packagekit-base-1.1.0 ) - 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 - $(meson_use packagekit) - # -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 -} diff --git a/gnome-extra/gnome-software/gnome-software-40.1.ebuild b/gnome-extra/gnome-software/gnome-software-40.1.ebuild deleted file mode 100644 index c81ec02d2b52..000000000000 --- a/gnome-extra/gnome-software/gnome-software-40.1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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 packagekit 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.38.1:4 ) - gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 ) - spell? ( app-text/gspell:= ) - sys-auth/polkit - packagekit? ( >=app-admin/packagekit-base-1.1.0 ) - 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 - $(meson_use packagekit) - # -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 -} diff --git a/gnome-extra/gnome-software/gnome-software-40.2-r1.ebuild b/gnome-extra/gnome-software/gnome-software-40.2-r1.ebuild new file mode 100644 index 000000000000..b3b1497a808e --- /dev/null +++ b/gnome-extra/gnome-software/gnome-software-40.2-r1.ebuild @@ -0,0 +1,103 @@ +# 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 packagekit 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 + packagekit? ( >=app-admin/packagekit-base-1.1.0 ) + 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 + $(meson_use packagekit) + # -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 +} -- cgit v1.2.3