mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
media-gfx/fotocx: add 25.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
parent
8ee0540f90
commit
19a0aab01c
@ -1,2 +1,3 @@
|
||||
DIST fotocx-25.0-source.tar.gz 15651266 BLAKE2B e6330541a3a0d341055a326b0ab4e3cc7b79bd80ea1cebab7303302e3ec519fb732f1604fe4fce87de4a9690f0da1399a700a5400c7596bf4810c03a469cd768 SHA512 3f4dfdfdd5190599d7294ff10364f382effab5ccc8dde712b467e925c5823cd03bf67a5e85cad2177a194e49431d21b846eed2648a45a8855e922006f69cd4d8
|
||||
DIST fotocx-25.1-source.tar.gz 14627082 BLAKE2B 03bae91fbf4b6df4bd76598ba2b744bfde36d2a1899947b6f8851a9087eed90ef6f1b4a197f7f21c96fe95666bc39d75f748e5686f6282ea36aea508af2bdafa SHA512 d13cf34429c93b38fd90e8c2541865f9ab44f0003750c1a9d3486afca85f1927ccce47ff917a62942b50e404829eeba18243e80e4f1241352bb2ed0807579350
|
||||
DIST fotocx-25.2-source.tar.gz 14619329 BLAKE2B 048e6894fa7ec4f835b247cf59d981e5e3f60bd5d146d8eee8560222980a8a745dbda84be8f1a347383e339614db600ea36a6d69bd1686129be42e081b525a81 SHA512 cf4b198db6ace69af4ab4d6991347feb96ea65e16d11837e3b304b97a947f1878d9c5341593cd5af4d7587b3423232a9ff7719d415a647e258759b70b21b07ba
|
||||
|
||||
79
media-gfx/fotocx/fotocx-25.2.ebuild
Normal file
79
media-gfx/fotocx/fotocx-25.2.ebuild
Normal file
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature xdg-utils
|
||||
|
||||
DESCRIPTION="Program for improving image files made with a digital camera"
|
||||
HOMEPAGE="https://kornelix.net/fotocx/fotocx.html"
|
||||
SRC_URI="https://kornelix.net/downloads/downloads/${P}-source.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# For required dependencies read doc/README, for required tools read
|
||||
# data/userguide [INSTALLATION]. xdg-open (x11-misc/xdg-utils) is an
|
||||
# alternative to firefox and chromium-browser. `grep '"which ' * -R`
|
||||
# is helpful to report some required tools run via the shell.
|
||||
|
||||
DEPEND="
|
||||
media-libs/clutter
|
||||
media-libs/clutter-gtk
|
||||
media-libs/lcms:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:=
|
||||
media-libs/tiff:=
|
||||
media-libs/libchamplain[gtk]
|
||||
x11-libs/gtk+:3"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-gfx/dcraw
|
||||
media-libs/exiftool
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-24.20-documentation.patch" )
|
||||
|
||||
DOCS=()
|
||||
HTML_DOCS=()
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^DOCDIR/ s/${PN}$/${PF}/" Makefile || die
|
||||
sed -i -e "/^Icon/ s/\.png$//" ${PN}.desktop || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# For the Help menu items to work, *.html must be in /usr/share/doc/${PF},
|
||||
# and README, changelog, copyright, license, etc. must not be compressed.
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
rm -f "${D}"/usr/share/doc/${PF}/*.man || die
|
||||
docompress -x /usr/share/doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "HEIC & AVIF file support" media-libs/libheif
|
||||
optfeature "additional RAW file support" media-gfx/rawtherapee
|
||||
optfeature "additional RAW file support" media-gfx/darktable
|
||||
optfeature "video thumbnails & playback" media-video/ffmpeg
|
||||
optfeature "copying images to optical media" app-cdr/dvd+rw-tools
|
||||
optfeature "WEBP file support" media-libs/libwebp
|
||||
|
||||
elog
|
||||
elog "Please read the Help > User Guide for details. The source location is"
|
||||
elog "/usr/share/fotocx/data/userguide and after running fotocx a copy will"
|
||||
elog "be placed at /home/<user>/.fotocx/userguide."
|
||||
elog
|
||||
elog "To play videos, in Tools > Preferences set 'Video File Play Command'."
|
||||
elog
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user