summaryrefslogtreecommitdiff
path: root/gnome-extra
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/Manifest.gzbin11246 -> 11247 bytes
-rw-r--r--gnome-extra/gnome-calculator/Manifest2
-rw-r--r--gnome-extra/gnome-calculator/gnome-calculator-45_alpha.ebuild74
-rw-r--r--gnome-extra/gnome-software/Manifest2
-rw-r--r--gnome-extra/gnome-software/gnome-software-45_alpha.ebuild106
-rw-r--r--gnome-extra/gnome-tweaks/Manifest2
-rw-r--r--gnome-extra/gnome-tweaks/gnome-tweaks-42_beta.ebuild54
-rw-r--r--gnome-extra/sushi/Manifest2
-rw-r--r--gnome-extra/sushi/sushi-45_alpha2.ebuild58
9 files changed, 300 insertions, 0 deletions
diff --git a/gnome-extra/Manifest.gz b/gnome-extra/Manifest.gz
index 27e8f54c3631..0b9f631e198d 100644
--- a/gnome-extra/Manifest.gz
+++ b/gnome-extra/Manifest.gz
Binary files differ
diff --git a/gnome-extra/gnome-calculator/Manifest b/gnome-extra/gnome-calculator/Manifest
index 4419d1d9e35d..53399abd08d2 100644
--- a/gnome-extra/gnome-calculator/Manifest
+++ b/gnome-extra/gnome-calculator/Manifest
@@ -1,3 +1,5 @@
DIST gnome-calculator-44.0.tar.xz 1075480 BLAKE2B a4e7af52e06a59a1a07baf3e34dbfc90dc8852cab3f44fe2018e3279cf7dab7c9cffe23bff2d7cc8b9b3708b652b9b8ae2fa65ff403c559fc1bfd060e4645575 SHA512 7c1428873c00a2052b966a0687f2a944dce67e889c8e113a794a7d5f0bafe9ff52562e2b1985bcf48d05a5a0a2f4ff97e490a43810b5243367fce9c6ada79fa6
+DIST gnome-calculator-45.alpha.tar.xz 1090752 BLAKE2B 7db9b24e74b193333b1c12ad404a11565685d4f7eddd2659cd0705b328ac8f3de477baab094be4d1b592899beb9d1f5069e18c702df22d630b464db47f4b47fe SHA512 51b6e09921b80121493a5597742965555243452e780a794d2a8b50f391879fcf13cea458ce34e8a2f6e90c0edfd8e8a553b73b5e17a9b4ab735b4d12ce059e7d
EBUILD gnome-calculator-44.0.ebuild 1594 BLAKE2B 25ff6468ecd7cfd81afee63e243bb709ad060cb7d8bca540004bdcd45133b149617421e2a44aac9e2db37a7274a183e03fc3957ba28cbf023e1bb99630d5c29c SHA512 276c7daa48a0ccc2c4c28d18c60e9604cb307f48675472f1eed4b526bb5b93b2832ee220b62afad12040bc25198bbbd6df29b8dbe2449a0c1ea91e954504f02c
+EBUILD gnome-calculator-45_alpha.ebuild 1641 BLAKE2B 20ae75a864bbe32a3ae962feaaca13c2133f9bb13412a81247fa1ca025f550767bf626d9acafef3f99cf3a4918cbca57c6c2c49763322d4fd8ba95f2a94ae5e9 SHA512 b99b689e1dea146ad7e942bf489b77fedbf35598e846f94b6a0db6371a01b1bf50e9b19a61a93e2c2ee037e0cef5a52b19eebebf777f0ec13c3315e93b38baf2
MISC metadata.xml 553 BLAKE2B adbc4947ab50307c4bf5fca7e9b6cf2db5394b9e3a335d2de56a0678af3f1674d0641835179d2ffad62050292e02874add35125918f922b66fddb64c7e949941 SHA512 960975bcb5b0bdecc83cd80eb8d0d70845a1080a9c2490aa674cf775a44925b9196953a20c88a4197feaf8e8107f98acb6843164292cafb92bde5d1de18242ee
diff --git a/gnome-extra/gnome-calculator/gnome-calculator-45_alpha.ebuild b/gnome-extra/gnome-calculator/gnome-calculator-45_alpha.ebuild
new file mode 100644
index 000000000000..d2baf4a89433
--- /dev/null
+++ b/gnome-extra/gnome-calculator/gnome-calculator-45_alpha.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson vala virtualx xdg
+
+DESCRIPTION="A calculator application for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Calculator"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="+introspection test"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+# gtksourceview vapi definitions in dev-lang/vala itself are too old, and newer vala removes them
+# altogether, thus we need them installed by gtksourceview[vala]
+RDEPEND="
+ >=dev-libs/glib-2.40.0:2
+ dev-libs/libxml2:2
+ net-libs/libsoup:3.0
+ >=dev-libs/libgee-0.20.0:0.8
+ dev-libs/mpc:=
+ dev-libs/mpfr:0=
+ >=gui-libs/gtk-4.4.1:4
+ >=gui-libs/libadwaita-1.2.0:1
+ >=gui-libs/gtksourceview-5.3.0:5
+ introspection? ( >=dev-libs/gobject-introspection-1.58:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/appstream-glib
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ $(vala_depend)
+ net-libs/libsoup:3.0[vala]
+ gui-libs/gtksourceview:5[vala]
+ gui-libs/libhandy:1[vala]
+"
+
+src_prepare() {
+ default
+ vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ -Ddisable-ui=false
+ #-Dvala-version # doesn't do anything in 3.34
+ $(meson_use !introspection disable-introspection)
+ $(meson_use test ui-tests)
+ -Dgcalc=true
+ -Dgci=true
+ -Dapp=true
+ -Ddoc=false
+ )
+ meson_src_configure
+}
+
+src_test() {
+ XDG_SESSION_TYPE=x11 virtx dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest
index 289ba4f43931..1a18cbab7279 100644
--- a/gnome-extra/gnome-software/Manifest
+++ b/gnome-extra/gnome-software/Manifest
@@ -1,5 +1,7 @@
DIST gnome-software-44.2.tar.xz 2423844 BLAKE2B 6dfbefb71a4d8c83bdc2ef293fa11379523fc966a58bef80f72fc1106b332594c06c6749702e07547c5dd4e3412ac57c309fd7d45bdabe94be5139474d6a76f6 SHA512 0f053d1d92285239d7edd62a5dcc5c8ce9e991103e3987808ef82406e2dc665a13e0cd14b043d66dfd420459a6aa7c83e7db2fd6a16a8f3b41a6e93498820251
DIST gnome-software-44.3.tar.xz 2426180 BLAKE2B 1c88803cd86d383990c5e79f1721a454a9168d0872f257922d2a14ef3e345757477e8222eb891121ddaca883c3da8ad7c0afe815157eb578ba50775411470176 SHA512 33d2429597ab48fe27d772e88669569fba11c81a8cba33d17a0e00d8027079d178d97172a088fcd2167f895380ae1b4ad56244da9ca0a15b1acc096e3f048e3f
+DIST gnome-software-45.alpha.tar.xz 2440740 BLAKE2B 20a6c467072af7c75fffc5e79d10d87178b4c561215718561d69f018aa8cda92a0dedaca8a6631d12a91d38d8599316ff4151bb043d937cfa77866ffa5708966 SHA512 1a2c5e6eec249fdeb726b6cdd58c47ccbdefd6c9bc7278c6d30f1350cc62d3e1231e12b5b2cd9acee8deff269346171d427fd389194f04ca641825bd32ddaa2a
EBUILD gnome-software-44.2.ebuild 2650 BLAKE2B a7c9138de4a9e2c5240763a0af4a8d8f0a368069f28f74a355a77d0bd9acb9c84d7d50c7be2a8e34e192103ac6bb56bf72a8e052836051145fb14df90704710e SHA512 1f20c4df4f55e4ee09f88d40ad9bfb8622e6d5d140352f9172e55d8b69bb39fc122c8ac2c97a214440d4edb63db0884e9a178538e9efc4c638280d5326fd273a
EBUILD gnome-software-44.3.ebuild 2664 BLAKE2B c8464d8e45ea71097e91ceaaacb722e317bd089c27e0e7ade3318ed7e8ec16c274baa1337cb7ea88fbddfdf2c37ad903a21f2736ed24cf5dbf54c04f8227c1d8 SHA512 9163535b7198d7d2369f31d6dbab926b98b628120715f212d88388a11167a60ceffd92971b7dd9f5dd5594f6a7700cb3c6127456fc786bc4f66d551e06f7cddb
+EBUILD gnome-software-45_alpha.ebuild 2665 BLAKE2B d1bc0454f325ff45581a7d98ccfb7e9a69690cd8d609c6b5d1f6a22bdfb8df422411838f29114ec70d289aa8934f70a78c9bc2db67cfc575dee3db794d1ea94a SHA512 5dff15b22e9fb7a1a00781bef546be3f100709b03338021ba1d809fac599ea40a0d5d1bc38f1418cdde5238db982e3643479c05eddb2f4ff3901e0b3ef661686
MISC metadata.xml 688 BLAKE2B e157620837f5fd999b67d2a20f09cc64066317a47391ad97ae645b268964cff5a57e2e088e3040bfc98900f75ddcbffed10f1c159516c38f03d11aa1d2d00386 SHA512 9735764b439bdcb3db3b329d986530677ba87e00f10f217178d8014ea4335c3b74ec0e0051117086da92e9eac59849460a62c324ca249f621b13a3a7d50771a4
diff --git a/gnome-extra/gnome-software/gnome-software-45_alpha.ebuild b/gnome-extra/gnome-software/gnome-software-45_alpha.ebuild
new file mode 100644
index 000000000000..3ae5fd156fec
--- /dev/null
+++ b/gnome-extra/gnome-software/gnome-software-45_alpha.ebuild
@@ -0,0 +1,106 @@
+# 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 ~arm64 ~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.10.0: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
+ # 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
+ -Ddefault_featured_apps=false
+ -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
+}
diff --git a/gnome-extra/gnome-tweaks/Manifest b/gnome-extra/gnome-tweaks/Manifest
index f149678542d8..81a964992a7a 100644
--- a/gnome-extra/gnome-tweaks/Manifest
+++ b/gnome-extra/gnome-tweaks/Manifest
@@ -1,4 +1,6 @@
AUX 3.28.1-gentoo-cursor-themes.patch 1019 BLAKE2B 1dc92c4f8e53c1303f884f6acc332a7a0f1bd11b463e91ddd4ae731938e678f75499692044b5c13021f24dd9bf61264c4454fab734fe65609b3b4c009cb2eee2 SHA512 e502e1ae5945517e7a69cd15436bc07e34fe0db739350e0617d02c9b7a45264f585229f80352a93595e1246d5f9c6e987242772dfb7293de06b400fbaf676971
DIST gnome-tweaks-40.10.tar.xz 251712 BLAKE2B 7e9e04b86ffcff25cafd2a6dfc0c7be14c8caa4ae003369c34ed2c40c36ce857b05de9994f7c2187cbdd535f464b92f782ec91b835318c2b5d2219ad817fbe56 SHA512 1247933ad2f93bd7817af367d715468591840df4840d45641033ca19ea26c64239828ba3e24fafb8694014a98024b911266c314172ba8e37d6c4165e7e6e8a29
+DIST gnome-tweaks-42.beta.tar.xz 250480 BLAKE2B a9ff92c9927faad54128b969587a3e074bc9bc94a57d454f72807b7cadfa7fe15992c1370c4c9957c0f816aff73c9e432624060d5dacadffa067d6cdce6d0899 SHA512 f641d62891efd8f198f520fd467e6b3c73540e54a506d07a4a4578ae793d273ee76844f5da7581c3562c6cfeb5bcb6e2d86b49db5f7a09d506e6d17fe6b32a14
EBUILD gnome-tweaks-40.10-r1.ebuild 1311 BLAKE2B 549e2f31adccd34f327cc9382e3c2c7cf300ba0e6b2b2531b267089036210f8f7b062f81cde9235f34c7de344ece40b00fa9792cb1511e565a35029cb29e0e54 SHA512 35e7efb04fdf180104b2b9cdc1a4875a91972adaf7afdae89763cff7303539487827abd596899995f71e44a985005c3b66278081112b0097a37c191748e01646
+EBUILD gnome-tweaks-42_beta.ebuild 1212 BLAKE2B bd124560845b8122368f9a5f8e0865eab0343b0195b8f775f407846642dce9d2c8d62065764c08275285fab986eed1015451b45433be5f72721d9fe09cb7f2dc SHA512 d600b52a8c1142fdbc845cba025f094cb600bf62504f3137b605ff4e47fc602daa04426b99cc4beab232761833c4772402d815ef70accd5596dd69220a8a4049
MISC metadata.xml 680 BLAKE2B 0262d35712bb1b29428738120e961ed7128b381ed0f0ced9546d35fcbdff179575906b910055ec3e616d7bf7860c4d1f0d66c50aded1500c9f24ba9ad0c34c1b SHA512 16ae57ccf79658fd5a717f7fbad121ba5f48f0bd63ad882e1055897d14eec3ca3dd6467179110689066ddde0d21f1c3f12fcf46f97dc81dc9091d758d37a0913
diff --git a/gnome-extra/gnome-tweaks/gnome-tweaks-42_beta.ebuild b/gnome-extra/gnome-tweaks/gnome-tweaks-42_beta.ebuild
new file mode 100644
index 000000000000..8190cc2f881f
--- /dev/null
+++ b/gnome-extra/gnome-tweaks/gnome-tweaks-42_beta.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit gnome.org gnome2-utils meson python-single-r1 xdg
+
+DESCRIPTION="Customize advanced GNOME options"
+HOMEPAGE="https://wiki.gnome.org/Apps/Tweaks"
+
+LICENSE="GPL-3+ CC0-1.0"
+SLOT="0"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+DEPEND="${PYTHON_DEPS}"
+# See README.md for list of deps
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
+ ')
+ >=gnome-base/gnome-settings-daemon-3
+ x11-themes/sound-theme-freedesktop
+
+ >=dev-libs/glib-2.58:2
+ >=x11-libs/gtk+-3.12:3[introspection]
+ >=gnome-base/gnome-desktop-3.30:3[introspection]
+ gui-libs/libhandy:1[introspection]
+ x11-libs/libnotify[introspection]
+ x11-libs/pango[introspection]
+ >=gnome-base/gsettings-desktop-schemas-40.0
+ >=gnome-base/gnome-shell-3.24
+ x11-wm/mutter
+"
+BDEPEND=">=sys-devel/gettext-0.19.8"
+
+src_install() {
+ meson_src_install
+ python_optimize
+ python_fix_shebang "${ED}"/usr/bin/
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}
diff --git a/gnome-extra/sushi/Manifest b/gnome-extra/sushi/Manifest
index 7c211b6f8ad0..ebcef1026252 100644
--- a/gnome-extra/sushi/Manifest
+++ b/gnome-extra/sushi/Manifest
@@ -1,5 +1,7 @@
DIST sushi-43.0.tar.xz 81552 BLAKE2B 13ca7ec446aeaae454bb0a8c874a786914211a9b27d423189846aba9adb844b224a7f0cb6d95b2e6c4d71043a2b592d14ce9998a9732150517aa18b14b4f2c25 SHA512 0a909f685e49bbddb7fc2cf17338eba08723a796e1e42f09ed404487620437b36c2bdaede3efbb6bd49cd7efde0141e971ac9869f73c0c30bea9b6658978b19e
DIST sushi-44.2.tar.xz 82236 BLAKE2B 144b2a068c0ed81e49236ed2f43125ec9df8eb853dac6d49e55c56d489f6dd41e1704b3e22996bd80bcbda07f0843a831bdbd8296606a9688376bf7fc6140406 SHA512 0e2cd6e619872e7ebd29b01bf6038b3db7f8202f20a77034451e69b722e46ee9f8e20378253f49ccb12b6060490c25555581f10823c778c42ab9edf41016a1da
+DIST sushi-45.alpha.2.tar.xz 83288 BLAKE2B 587043020f59c1d1747393f8ad139e68764b1e98b89ad926f910f19b95504c166ec6fa340ee5a881c8643edd2c697c75843d3260cd9ac54c6cddd6e421862d02 SHA512 a5a658860731f64c00657fc34f1b494f656fb0981c10e8baf31641bbc84f6902a37853f13aab622abd40ad154a9f8e1e99e162c887e34f20f781ee33a70996ed
EBUILD sushi-43.0.ebuild 1407 BLAKE2B 5d1f5993601f58de0db0b133cc79d1c37973cf2407b299a949727a7b7fc3741a3c02cf6c5d9e5b63de52f114f651252d76f5936b8474ce60fd0c7dfcc165e334 SHA512 02d967851c6a22fff9d13d4f0bb63ed84892da954b814ca292dc85b3ba3e815e348ff0cc2f637af5fcfe50f6fc9da4fd24e2f897d931ce9d3f1e3f9d1bb0502c
EBUILD sushi-44.2.ebuild 1407 BLAKE2B 5d1f5993601f58de0db0b133cc79d1c37973cf2407b299a949727a7b7fc3741a3c02cf6c5d9e5b63de52f114f651252d76f5936b8474ce60fd0c7dfcc165e334 SHA512 02d967851c6a22fff9d13d4f0bb63ed84892da954b814ca292dc85b3ba3e815e348ff0cc2f637af5fcfe50f6fc9da4fd24e2f897d931ce9d3f1e3f9d1bb0502c
+EBUILD sushi-45_alpha2.ebuild 1444 BLAKE2B 74135077b7ec6c753cec5d7e3f919ccb240398d04f967b4fa3c71d29b450cbefa8886ba72bf659e5e9267ce29ed8779cf2c1bb7850cdaabad3cb4642af14c409 SHA512 2d10965a59a8c095c39ee4032c8bb9f2e77572d7f519726e52463196c60d9961b12fe2b331aa820afb8d2aa23d2378fb0601c92b6193051d68dabab9164e33f3
MISC metadata.xml 346 BLAKE2B 6c6e45a4f1642d9a57f42d8ad9578ecf50e678289ea8323b0e77a374b4482fc00425e2e3e1c3238f5d6cb60d393cfa472b4b865a74bf0d048feab7e7c5bc85f0 SHA512 886866cd0386728871c2200495893c7844cbd46c2507c64a2d796888292f2a348724510b843617164ac616b9d0d793ad4e9f0ff1e66066209c12e12e50e031a5
diff --git a/gnome-extra/sushi/sushi-45_alpha2.ebuild b/gnome-extra/sushi/sushi-45_alpha2.ebuild
new file mode 100644
index 000000000000..8c11aac1b315
--- /dev/null
+++ b/gnome-extra/sushi/sushi-45_alpha2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome.org meson optfeature xdg
+
+DESCRIPTION="A quick previewer for Nautilus, the GNOME file manager"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/sushi"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
+IUSE="wayland +X"
+REQUIRED_USE="|| ( wayland X )"
+
+DEPEND="
+ media-libs/libepoxy
+ >=app-text/evince-3.0[introspection]
+ media-libs/freetype:2
+ >=x11-libs/gdk-pixbuf-2.23.0[introspection]
+ >=dev-libs/glib-2.29.14:2
+ media-libs/gstreamer:1.0[introspection]
+ media-libs/gst-plugins-base:1.0[introspection]
+ >=x11-libs/gtk+-3.13.2:3[introspection,wayland?,X?]
+ >=x11-libs/gtksourceview-4.0.3:4[introspection]
+ >=media-libs/harfbuzz-0.9.9:=
+ >=dev-libs/gobject-introspection-1.54:=
+ net-libs/webkit-gtk:4.1[introspection]
+ >=dev-libs/gjs-1.40
+"
+RDEPEND="${DEPEND}
+ >=gnome-base/nautilus-3.1.90
+ media-plugins/gst-plugins-gtk:1.0[wayland?,X?]
+"
+BDEPEND="
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature wayland)
+ $(meson_feature X X11)
+ -Dprofile=default
+ )
+ meson_src_configure
+}
+
+src_compile() {
+ local -x GST_PLUGIN_SYSTEM_PATH_1_0=
+ meson_src_compile
+}
+
+pkg_postinst() {
+ optfeature "Support viewing file formats such as generated by LibreOffice" \
+ app-office/libreoffice app-office/libreoffice-bin
+}