diff options
Diffstat (limited to 'gnome-extra/gnome-software')
-rw-r--r-- | gnome-extra/gnome-software/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/gnome-software/gnome-software-44.1.ebuild | 102 |
2 files changed, 104 insertions, 0 deletions
diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest index f816b90af210..a46046a0b8da 100644 --- a/gnome-extra/gnome-software/Manifest +++ b/gnome-extra/gnome-software/Manifest @@ -1,3 +1,5 @@ DIST gnome-software-44.0.tar.xz 2424172 BLAKE2B 70f20720f6547b0e88d726d9127b989b275f12766bd0fbba86c0ba90ebaf0dcda64f10387bf5a409652f37a5b06baf7447a15a23e811be756172617b1687217f SHA512 592a88fd3488d7d9cd573eff99e8ec503169b52354d672263d7e514846c666c56f87fcbdb31fb8c497ed048808ec223646c247326af76a7e4a361084fd1b180e +DIST gnome-software-44.1.tar.xz 2422660 BLAKE2B af23ff99a4b5746a1525830bb5454dc823eba519829d390dc21d412a17347396b594df969d5cc80ffc552cf4edf3961e29cf3781f4553bc74293e96bbd33f000 SHA512 4f6d50d8308b3d2694a67f35db0c716f8631380282c7586243499449dd86d11ebfa08a18ccd083839b93bcf7e1b16075433cb427642c2c7b59033e721bb32c9b EBUILD gnome-software-44.0.ebuild 2643 BLAKE2B 49b720fc3c276989ebe98b01101ea1591d319b66b0bed86e65e4ce9c9f4294929db9f04a606c2f48a884961431467e28673cbf8526490d5216b1f47bb3a210f1 SHA512 ba19644e790278d3dcfa3a00ac716ab6c2351aaa9fa3ed64b9e204ba8352d27f0a714dcb6dd396fda8454773a34f2a698c7955858d3d83a528bb47341403bd10 +EBUILD gnome-software-44.1.ebuild 2643 BLAKE2B 49b720fc3c276989ebe98b01101ea1591d319b66b0bed86e65e4ce9c9f4294929db9f04a606c2f48a884961431467e28673cbf8526490d5216b1f47bb3a210f1 SHA512 ba19644e790278d3dcfa3a00ac716ab6c2351aaa9fa3ed64b9e204ba8352d27f0a714dcb6dd396fda8454773a34f2a698c7955858d3d83a528bb47341403bd10 MISC metadata.xml 688 BLAKE2B e157620837f5fd999b67d2a20f09cc64066317a47391ad97ae645b268964cff5a57e2e088e3040bfc98900f75ddcbffed10f1c159516c38f03d11aa1d2d00386 SHA512 9735764b439bdcb3db3b329d986530677ba87e00f10f217178d8014ea4335c3b74ec0e0051117086da92e9eac59849460a62c324ca249f621b13a3a7d50771a4 diff --git a/gnome-extra/gnome-software/gnome-software-44.1.ebuild b/gnome-extra/gnome-software/gnome-software-44.1.ebuild new file mode 100644 index 000000000000..78e8766c6584 --- /dev/null +++ b/gnome-extra/gnome-software/gnome-software-44.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson virtualx xdg + +DESCRIPTION="Gnome install & update software" +HOMEPAGE="https://wiki.gnome.org/Apps/Software https://gitlab.gnome.org/GNOME/gnome-software" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="flatpak +firmware gnome gtk-doc sysprof udev test" + +RDEPEND=" + >=dev-libs/appstream-0.14.0:0= + >=x11-libs/gdk-pixbuf-2.32.0:2 + >=dev-libs/libxmlb-0.1.7:= + >=gui-libs/gtk-4.9.2:4 + >=dev-libs/glib-2.70.0:2 + >=dev-libs/json-glib-1.6.0 + >=net-libs/libsoup-3.0:3.0 + >=gui-libs/libadwaita-1.3_rc:1 + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) + gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 ) + sys-auth/polkit + firmware? ( >=sys-apps/fwupd-1.5.6 ) + flatpak? ( + >=sys-apps/flatpak-1.14.0-r1 + dev-util/ostree + ) + udev? ( dev-libs/libgudev ) + >=gnome-base/gsettings-desktop-schemas-3.11.5 +" +DEPEND="${RDEPEND} + test? ( dev-libs/libglib-testing ) +" +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 + ) +" + +src_prepare() { + default + xdg_environment_reset + + 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 +} + +src_configure() { + local emesonargs=( + $(meson_use test tests) + $(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 + -Dwebapps=true + -Dhardcoded_foss_webapps=true + -Dhardcoded_proprietary_webapps=true + $(meson_use udev gudev) + -Dapt=false + -Dsnap=false + -Dexternal_appstream=false + $(meson_use gtk-doc gtk_doc) + -Dhardcoded_curated=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='' + -Dsoup2=false + ) + meson_src_configure +} + +src_test() { + virtx dbus-run-session meson test -C "${BUILD_DIR}" || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |