summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/eog/Manifest1
-rw-r--r--media-gfx/eog/eog-44.2.ebuild77
2 files changed, 78 insertions, 0 deletions
diff --git a/media-gfx/eog/Manifest b/media-gfx/eog/Manifest
index dace154a0ad6..5ab4687c86c5 100644
--- a/media-gfx/eog/Manifest
+++ b/media-gfx/eog/Manifest
@@ -1 +1,2 @@
DIST eog-44.1.tar.xz 4655216 BLAKE2B 1d4f2fafa84f7fc854c5a76d253926541f11dbe145046f13d777ec6062c6c4c6afa4ed603532c5071ada13c12e27fc86335e16d4d596567f352b878dc4f16f86 SHA512 2791466d186bb9ae8a6822e7a9e93d4b76ab1030a5bc0dc61858030622ec3cb74a6b674d65f6fb6e16b9c1eda9d320ac50479e04822209865f004ac1a729b02e
+DIST eog-44.2.tar.xz 4654888 BLAKE2B 3618614e54107d4681cb6f029158023da45f587af20b81f046bf3db84c53b6468a5d0c988331ba4d4f8f8ed4a99fe5e92cd7b3c136ddb143d6058723eab4d6ca SHA512 30695401355c94b4b516a3832c61b761efeb5288f0264c7d3b243f9fa028d6daa4f6ec4761041cff78821d080b4ff3826fc31a08b95e095251d278eddd1f8433
diff --git a/media-gfx/eog/eog-44.2.ebuild b/media-gfx/eog/eog-44.2.ebuild
new file mode 100644
index 000000000000..01a9802618ea
--- /dev/null
+++ b/media-gfx/eog/eog-44.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org gnome2-utils meson xdg
+
+DESCRIPTION="The Eye of GNOME image viewer"
+HOMEPAGE="https://wiki.gnome.org/Apps/EyeOfGnome https://gitlab.gnome.org/GNOME/eog"
+
+LICENSE="GPL-2+"
+SLOT="1"
+
+IUSE="+exif gtk-doc +introspection +jpeg lcms +svg xmp tiff"
+REQUIRED_USE="
+ exif? ( jpeg )
+ gtk-doc? ( introspection )
+"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=dev-libs/glib-2.53.4:2
+ >=dev-libs/libpeas-0.7.4[gtk]
+ >=gnome-base/gnome-desktop-2.91.2:3=
+ >=gnome-base/gsettings-desktop-schemas-42_beta
+ >=x11-misc/shared-mime-info-0.20
+ >=x11-libs/gdk-pixbuf-2.36.5:2[jpeg?,tiff?]
+ >=x11-libs/gtk+-3.24.15:3[introspection,X]
+ >=gui-libs/libhandy-1.5.0:1
+ sys-libs/zlib
+
+ exif? ( >=media-libs/libexif-0.6.14 )
+ lcms? ( media-libs/lcms:2 )
+ xmp? ( media-libs/exempi:2= )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+ svg? ( >=gnome-base/librsvg-2.44.0:2 )
+
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ gtk-doc? (
+ dev-util/gi-docgen
+ app-text/docbook-xml-dtd:4.1.2
+ )
+ dev-util/glib-utils
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use exif libexif)
+ $(meson_use lcms cms)
+ $(meson_use xmp)
+ $(meson_use jpeg libjpeg)
+ $(meson_use svg librsvg)
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use introspection)
+ -Dinstalled_tests=false
+ -Dlibportal=false # As of 40.3, all libportal usages are flatpak-specific
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}