diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2021-12-22 13:23:24 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-12-22 14:09:31 +0100 |
commit | 0dae326f61ea453ee8b794821acf488710eb587f (patch) | |
tree | d02aeb2379d7454fb5fc43a719603f18b9eb5232 /media-gfx/geeqie | |
parent | media-sound/audacious: x86 stable wrt bug #829780 (diff) | |
download | gentoo-0dae326f61ea453ee8b794821acf488710eb587f.tar.gz gentoo-0dae326f61ea453ee8b794821acf488710eb587f.tar.bz2 gentoo-0dae326f61ea453ee8b794821acf488710eb587f.zip |
media-gfx/geeqie: snapshot bump to have a proper gtk3 version
Completely drop gtk2 (and gtk3 USE flag)
Closes: https://bugs.gentoo.org/769101
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'media-gfx/geeqie')
-rw-r--r-- | media-gfx/geeqie/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/geeqie/geeqie-1.6_p20211016.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/media-gfx/geeqie/Manifest b/media-gfx/geeqie/Manifest index 56e07a788c97..1daf3e8664f7 100644 --- a/media-gfx/geeqie/Manifest +++ b/media-gfx/geeqie/Manifest @@ -1,2 +1,3 @@ DIST geeqie-1.5.1.tar.xz 1587116 BLAKE2B f8742a88eefd90fb1e7e1d1365058cef190b6231fcb001faa9f110676e8403c8e5959f9af398d6fa1ddc4e4c62439728904c6c39f5095f476014a5b7b74b4d16 SHA512 265eade90afe45856855e856c5f640786ca2e3add57c3ade8ca380d075297f96bf44c6e0c4fd6eabbc2666a37f898b50d37dd2e01d77875b8a622d72d8a0e6ac DIST geeqie-1.6.tar.xz 1693488 BLAKE2B ee5369884c4c0e60fe827d43ef336c5aaa89d55aec8905bb8cdd4edb2ee12e15d525577a3c85403e2e8955a08c817007b72d1d1e3614063377a21aaba317acee SHA512 4acd05c6012c80581e9c594c7dc7d12265528aa8d3868afef9def36798945afb851da9376bbe5f205ac3c5e1e2362188cc0e2891b49f3ea4396bbc6974c143ef +DIST geeqie-1.6_p20211016.tar.xz 36433388 BLAKE2B e8932398ce7354c08ad4199834870e2844555ee1a8ae2beebd9a512100784a5cb62e00993b3ef1854a7ab1bd37eb0742ebcfc17605429f99b61e1af2fbaf859e SHA512 9e536beac39028fdcbe04d014460de2b02039b2c027f9603a71554339b2d14116f8dff11bb09c6e73d51550188daf40031535f978fbbc2d355d30593f4f29e9d diff --git a/media-gfx/geeqie/geeqie-1.6_p20211016.ebuild b/media-gfx/geeqie/geeqie-1.6_p20211016.ebuild new file mode 100644 index 000000000000..fc3e8999ad42 --- /dev/null +++ b/media-gfx/geeqie/geeqie-1.6_p20211016.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +LUA_COMPAT=( lua5-{1..3} ) + +inherit autotools lua-single xdg + +DESCRIPTION="A lightweight GTK image viewer forked from GQview" +HOMEPAGE="http://www.geeqie.org" +MY_PV="0edb0f1265b193ec08ffbde7a1a7871526d29d92" +# Needs full git checkout to generate ChangeLog, this tarball has it +SRC_URI="https://dev.gentoo.org/~voyageur/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc exif ffmpegthumbnailer gpu-accel jpeg lcms lirc lua map nls pdf tiff xmp" + +RDEPEND=" + virtual/libintl + x11-libs/gtk+:3 + doc? ( app-text/gnome-doc-utils ) + ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) + gpu-accel? ( media-libs/clutter-gtk ) + jpeg? ( virtual/jpeg:0 ) + lcms? ( media-libs/lcms:2 ) + lirc? ( app-misc/lirc ) + lua? ( ${LUA_DEPS} ) + map? ( media-libs/libchamplain:0.12 ) + pdf? ( >=app-text/poppler-0.62[cairo] ) + tiff? ( media-libs/tiff:0 ) + xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) + !xmp? ( exif? ( >=media-gfx/exiv2-0.17:= ) )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + dev-util/intltool + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) + map? ( gpu-accel )" + +src_prepare() { + default + + # Remove -Werror (gcc changes may add new warnings) + sed -e '/CFLAGS/s/-Werror //g' -i configure.ac || die + + # Remove force rebuild of Lua API ref + sed -e 's#./create-doxygen-lua-api.sh##' -i doc/Makefile.am || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --with-readmedir="${EPREFIX}"/usr/share/doc/${PF} + --enable-gtk3 + $(use_enable debug debug-log) + $(use_enable ffmpegthumbnailer) + $(use_enable gpu-accel) + $(use_enable jpeg) + $(use_enable lcms) + $(use_enable lua) + $(use_enable lirc) + $(use_enable map) + $(use_enable nls) + $(use_enable pdf) + $(use_enable tiff) + ) + + if use exif || use xmp; then + myeconfargs+=( --enable-exiv2 ) + else + myeconfargs+=( --disable-exiv2) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + rm -f "${D}/usr/share/doc/${PF}/COPYING" + # Application needs access to the uncompressed file + docompress -x /usr/share/doc/${PF}/README.md +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "Some plugins may require additional packages" + elog "- Image rotate plugin: media-gfx/fbida (JPEG), media-gfx/imagemagick (TIFF/PNG)" + elog "- RAW images plugin: media-gfx/ufraw" +} |