summaryrefslogtreecommitdiff
path: root/media-gfx
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/Manifest.gzbin38004 -> 38014 bytes
-rw-r--r--media-gfx/cropgui/Manifest2
-rw-r--r--media-gfx/cropgui/cropgui-0.7.ebuild47
-rw-r--r--media-gfx/feh/Manifest4
-rw-r--r--media-gfx/feh/feh-3.10.1.ebuild2
-rw-r--r--media-gfx/feh/feh-3.10.2.ebuild71
6 files changed, 124 insertions, 2 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index bd7b5599b31f..a96354aed9ec 100644
--- a/media-gfx/Manifest.gz
+++ b/media-gfx/Manifest.gz
Binary files differ
diff --git a/media-gfx/cropgui/Manifest b/media-gfx/cropgui/Manifest
index 1be7114f57d9..f6103220f9ef 100644
--- a/media-gfx/cropgui/Manifest
+++ b/media-gfx/cropgui/Manifest
@@ -1,4 +1,6 @@
DIST cropgui-0.6.tar.gz 855329 BLAKE2B d54098cdf8d8a0eb863ba7cf13d798db8102e147c30d64d246fc9955c4ee5aead253273fd66f0f2cd2d5aaf7abd10cfed01936c08daccdd92e342a56923bd95b SHA512 dff9b1ea832c657c4407aea7ddeac880faaa4647bfe51ed43f9c1658f848cf9b6f9608451dcc006fe735012b52d318ebe5b59a31dc293cfabfb5ec5772612b68
+DIST cropgui-0.7.tar.gz 855705 BLAKE2B d2693034b3e3a4355f58c4d17d355721189da8442b5d49ba4c11dc0033371c74301a99c001613c427375bdb9cd733f56a870186a6a59b631feaae93dbd69b232 SHA512 ea06527bdd80382bf4986ea1eea8d3c0e11ea60c472bebb489fdc3bd8206f087d0377d769e8fe86ec4573f6d510266443fd25134894b91206e1c5c9d6f7cf563
EBUILD cropgui-0.6-r1.ebuild 1098 BLAKE2B 88e19527e6fc29635940ee50e2dcfb43cddbdd03b61e4c07ea1edb8b22a8e961a36ad8b9ab35f84b1778a879eae54a3d698c9277a4418f5e51f1e95f6c8df278 SHA512 576e68e0c281ebdf0f675bc693300a867a62425c2b3f205392322e302214609d722227b6836cbb914c4780e557257c0a0bd9def9b59db3e474fceab214151be7
EBUILD cropgui-0.6-r2.ebuild 1101 BLAKE2B 562b5673c5b45d579ffad5945fdc46a1bdb66237a7c1e7d0f18796de1eaa92f797dd0561e4b9fb16afeb05774a2d03eb58bccfed44d5aef09761bfd37217176b SHA512 9c1dcd99a9c38d5ef8cccf39a6bddbe22d437b3a4c27fe7ac0c7ba1071582bcf5d2f3129807c3d6881b31062c845f7ee7d316e9fb76af924c225263e1a89c0bb
+EBUILD cropgui-0.7.ebuild 1148 BLAKE2B 49ad93c2abdab01eb9a198916f550a77e8a8d9368cc88f9e65902c1ce1ca57fa1fa9b420732b56c51ba2f1f772a652b19b70f70e3395ac3f50c0a7086eb6000a SHA512 cfe0ca8e18ba085dd2f0ffbb8555a75e1fbd1c3b81a6a63a742e03dbb0ce2cfb55f8596df1776415ae1513eef9c1ef8e624e2e77cde3812c9a5df21b6439e12e
MISC metadata.xml 323 BLAKE2B 4f4655c7441d04e7d3840d96e9230c3f479955d01b44344b2b424af910b48e60fdf33a21c5ba6cc5490255a38bcb7f6359516e41ac5569446c7e000e23dda693 SHA512 b40805e072a6f3588784f689fcf6c90525f1b9c23c20570ecc5e647e6d151ab3fd81b953a0263a3c0429947cfca5ef23f2a48a242ee9aa789e2c543ca29eaf86
diff --git a/media-gfx/cropgui/cropgui-0.7.ebuild b/media-gfx/cropgui/cropgui-0.7.ebuild
new file mode 100644
index 000000000000..38c97aa199df
--- /dev/null
+++ b/media-gfx/cropgui/cropgui-0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9,10,11,12} )
+inherit python-r1 desktop wrapper xdg-utils
+
+DESCRIPTION="GUI for lossless cropping of jpeg images"
+HOMEPAGE="https://emergent.unpythonic.net/01248401946"
+SRC_URI="https://github.com/jepler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ media-libs/exiftool
+ media-gfx/imagemagick"
+
+install_cropgui_wrapper() {
+ python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
+ make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"
+ python_newexe "${ED}/usr/bin/${PN}.tmp" "${PN}"
+ rm "${ED}/usr/bin/${PN}.tmp" || die
+}
+
+src_install() {
+ python_moduleinto "${PN}"
+ python_foreach_impl install_cropgui_wrapper
+
+ domenu "${PN}.desktop"
+ doicon "${PN}.png"
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+}
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index ab17117f5133..6e9e5c4b148c 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -1,6 +1,8 @@
AUX feh-3.2-debug-cflags.patch 193 BLAKE2B 298f65a8f9142167d1cd2cfce0bc61ad9d7d4a5519ab8e78d1259ea60b5566376f8d9ddba660db65ef5e229bdc0ff254d9aab2284d8929ea0ac171da44f8c44d SHA512 336d23b767c5c3da9b94a1e6759129c242caf70a611b2410816a562d90720e3abab6a3444ce06975d62b4ebbe8e54c70942800516c7575cc6d5e13ce69679884
DIST feh-3.10.1.tar.bz2 2109459 BLAKE2B 1b63a49cf29f2c869ff99ce5bc92134943d7f0854b2c87c694ef3dce953687558330e453c67878b566b19e4b64212173119287d07291e9b81f47cba1d553549e SHA512 fed215f4c1e0c23fdf6454e07bb5a31d4bfe6473b5ac2240d85ce44fabfe5764b396e336154841f0d9e90fee78807ed10b7aa12b7dfcf53e520913cd41779421
+DIST feh-3.10.2.tar.bz2 2113183 BLAKE2B 0f4662068917628be6046d3f2ebd8177b7cc1699d693de31229d2ebc6188cc7a5170202188a426ec2e3d900f2c8fb34007395aecc151f8f034e5461d287f058f SHA512 698501347224887162631397bb3b6c5da81b88993876f001407dea87fdc4f458290272d75b400aea6c0927d3c53f290483b6a89cd2cb426f56957a4fe6267797
DIST feh-3.10.tar.bz2 2109603 BLAKE2B 2c3f52c7536110b5aef7e29fea366b502e39034b2de8b218faa071996f24ce0bf4b3283feeda96bc7542ce15bb6f1e68d2a2895a75949fe2e7c6ba08b779daee SHA512 9dc242a545590ab20847662613c289f4b78d44a1647c3696a65fd05c307628f869adf68fa3a66ca637b3974a309efb0b96d58a7aaa3d29725faf21208f40383e
-EBUILD feh-3.10.1.ebuild 1546 BLAKE2B 538e9cfb7be1ba1ad73aaa1778ac813c20b0c550dabebd9a630f91866b340b007ad8b50907103b3be16f73a821cfb4853c67fc3be138f2fdee437a9ee0fbbd72 SHA512 8d0934c8d26c491275f9f9f702504eb4808485ba7fd6e456de5a69e25501bde480db6d86d61261c40bb540bf6186f95e85e4f92d75c5b83878c9cd1c5b4f5318
+EBUILD feh-3.10.1.ebuild 1542 BLAKE2B 9326445156d98511da76e97ac2b271613608bc9dc90f84743df0e2fbe3a2cf2417da149e0bbfb8fb50a4fb3fdbd6324681e6cdf2c5afbb37d18cade61a9bd609 SHA512 736fa888046c828d1b3e478df6497ff3402a251b2c51464d08cb87f1ef4b5a35420714b161d863313a5f6cd98485d5476b0b2de1b2d8448fd9379b50a832a341
+EBUILD feh-3.10.2.ebuild 1546 BLAKE2B 538e9cfb7be1ba1ad73aaa1778ac813c20b0c550dabebd9a630f91866b340b007ad8b50907103b3be16f73a821cfb4853c67fc3be138f2fdee437a9ee0fbbd72 SHA512 8d0934c8d26c491275f9f9f702504eb4808485ba7fd6e456de5a69e25501bde480db6d86d61261c40bb540bf6186f95e85e4f92d75c5b83878c9cd1c5b4f5318
EBUILD feh-3.10.ebuild 1542 BLAKE2B 9326445156d98511da76e97ac2b271613608bc9dc90f84743df0e2fbe3a2cf2417da149e0bbfb8fb50a4fb3fdbd6324681e6cdf2c5afbb37d18cade61a9bd609 SHA512 736fa888046c828d1b3e478df6497ff3402a251b2c51464d08cb87f1ef4b5a35420714b161d863313a5f6cd98485d5476b0b2de1b2d8448fd9379b50a832a341
MISC metadata.xml 559 BLAKE2B 074f2a1c4a912ebf99cde3c7791ffccee8c19fe53e98794557d7807647d3c465e31fd95d855d7bfa43759d73c6deba365b24420624211355413bd13fe20bed1e SHA512 b811d6991505e777e858d88c26588d4e766a871895da586203565c7486d360d72d3514944caa483fe37c56211ea4a33a16313e1983a515aaf39b349935c73ddf
diff --git a/media-gfx/feh/feh-3.10.1.ebuild b/media-gfx/feh/feh-3.10.1.ebuild
index 591d0d3d06a3..eaf83226e543 100644
--- a/media-gfx/feh/feh-3.10.1.ebuild
+++ b/media-gfx/feh/feh-3.10.1.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2"
LICENSE="feh"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 ~riscv x86"
IUSE="debug curl exif test xinerama inotify"
RESTRICT="test" # Tests are broken.
diff --git a/media-gfx/feh/feh-3.10.2.ebuild b/media-gfx/feh/feh-3.10.2.ebuild
new file mode 100644
index 000000000000..591d0d3d06a3
--- /dev/null
+++ b/media-gfx/feh/feh-3.10.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit toolchain-funcs xdg-utils
+
+DESCRIPTION="A fast, lightweight imageviewer using imlib2"
+HOMEPAGE="https://feh.finalrewind.org/"
+SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2"
+
+LICENSE="feh"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="debug curl exif test xinerama inotify"
+RESTRICT="test" # Tests are broken.
+
+COMMON_DEPEND="
+ media-libs/imlib2[X,text(+)]
+ >=media-libs/libpng-1.2:0=
+ x11-libs/libX11
+ curl? ( net-misc/curl )
+ exif? ( media-libs/libexif )
+ xinerama? ( x11-libs/libXinerama )"
+RDEPEND="${COMMON_DEPEND}
+ media-libs/libjpeg-turbo:0"
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+ x11-libs/libXt
+ test? (
+ >=dev-lang/perl-5.10
+ dev-perl/Test-Command
+ media-libs/imlib2[gif,jpeg,png]
+ )"
+
+PATCHES=( "${FILESDIR}"/${PN}-3.2-debug-cflags.patch )
+
+pkg_setup() {
+ use_feh() { usex $1 1 0; }
+
+ fehopts=(
+ PREFIX="${EPREFIX}"/usr
+ doc_dir='${main_dir}'/share/doc/${PF}
+ example_dir='${main_dir}'/share/doc/${PF}/examples
+ curl=$(use_feh curl)
+ debug=$(use_feh debug)
+ xinerama=$(use_feh xinerama)
+ exif=$(use_feh exif)
+ inotify=$(use_feh inotify)
+ )
+}
+
+src_compile() {
+ tc-export CC
+ emake "${fehopts[@]}"
+}
+
+src_install() {
+ emake "${fehopts[@]}" DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}