forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Oz Tiram <[email protected]> Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
3998ffc
commit 1416da7
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST eom-1.26.0.tar.xz 2493104 BLAKE2B 3a2e018e90514a5ee7c05bd981d1a129900ae2ba5b1c513da85e6ede2b2f5b253133c14766787a44f0e372da99b13922f3aaa6e2447e6d4d901a604689c03cd8 SHA512 efc5a1ce5c21ad74108c63827fa60f2cd8517888d8e155d7c9934f5490e61b2cf73bae3b42f8d6b69ce1d5c4658d0c74f2ab19e90f40173d55354276bbe5d824 | ||
DIST eom-1.26.1.tar.xz 2512024 BLAKE2B 2aa50d144a4c703d61acee8e0078a8a7ce7e41ffc8e79a0064057b78119e81cc85da0481ee55064702981683e0b34a93dd7a9fce2a6c03fa7fa65e6653d9796d SHA512 263eb6a843577f3ba399fa27b6a9087246053dffd963090933f6bb11b762e1049fdc7b0fd52a6987f40fb57be76d68f6964413a0c12437fb00b8766dc17b7648 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit mate | ||
|
||
if [[ ${PV} != 9999 ]]; then | ||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" | ||
fi | ||
|
||
DESCRIPTION="The MATE image viewer" | ||
LICENSE="FDL-1.1+ GPL-2+ IJG LGPL-2+" | ||
SLOT="0" | ||
|
||
IUSE="X debug exif imagemagick +introspection nls jpeg lcms svg tiff xmp" | ||
|
||
COMMON_DEPEND=" | ||
dev-libs/atk | ||
>=dev-libs/glib-2.52:2 | ||
>=dev-libs/libpeas-1.8.0[gtk] | ||
>=dev-libs/libxml2-2:2 | ||
gnome-base/dconf | ||
>=mate-base/mate-desktop-1.17.0 | ||
sys-libs/zlib | ||
x11-libs/cairo | ||
>=x11-libs/gdk-pixbuf-2.36.5:2[introspection?,jpeg?,tiff?] | ||
>=x11-libs/gtk+-3.22:3[introspection?] | ||
x11-libs/libX11 | ||
>=x11-misc/shared-mime-info-0.20 | ||
exif? ( | ||
>=media-libs/libexif-0.6.22 | ||
media-libs/libjpeg-turbo:= | ||
) | ||
imagemagick? ( >=media-gfx/imagemagick-6.2.6 ) | ||
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= ) | ||
jpeg? ( media-libs/libjpeg-turbo:= ) | ||
lcms? ( media-libs/lcms:2 ) | ||
svg? ( >=gnome-base/librsvg-2.36.2:2 ) | ||
xmp? ( >=media-libs/exempi-1.99.5:2= ) | ||
" | ||
|
||
RDEPEND="${COMMON_DEPEND} | ||
virtual/libintl | ||
!!media-gfx/mate-image-viewer | ||
" | ||
|
||
BDEPEND="${COMMON_DEPEND} | ||
app-text/yelp-tools | ||
dev-util/glib-utils | ||
dev-util/gtk-doc | ||
dev-util/gtk-doc-am | ||
>=sys-devel/gettext-0.19.8 | ||
virtual/pkgconfig | ||
" | ||
|
||
src_configure() { | ||
mate_src_configure \ | ||
--enable-thumbnailer \ | ||
$(use_enable debug) \ | ||
$(use_enable introspection) \ | ||
$(use_with X x) \ | ||
$(use_with exif libexif) \ | ||
$(usex imagemagick \ | ||
--without-gdk-pixbuf-thumbnailer \ | ||
--with-gdk-pixbuf-thumbnailer \ | ||
) \ | ||
$(use_with jpeg libjpeg) \ | ||
$(use_with lcms cms) \ | ||
$(use_with svg librsvg) \ | ||
$(use_with xmp) | ||
} |