mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/fotocx: add 25.1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST fotocx-24.50-source.tar.gz 16197289 BLAKE2B 468a3cd7ef2cee5a65d2a06283732e0
|
||||
DIST fotocx-24.60-source.tar.gz 15771741 BLAKE2B 89ab212cdaeb414637ad0b3c9833b0caea6c805422e3fccdd027912f1d32ed141cedaeb5826212e36e5b40591e40c85816ecc5d3cff7915693e11e78b962b890 SHA512 6a04e0d749865000b67497b897f691a5882c0d63dda8c64ffe824215582db051f9cc0ca528490112f26db41a58f1673affe2e2e55c90dbb9e6f24cef77e4d5d6
|
||||
DIST fotocx-24.70-source.tar.gz 15771508 BLAKE2B 74343ee57a0611b470794ae211ac4923744ab5619895234b50ccf00e88d9fe4f15aa94a83112acbf160a5e0c2befbef070da258500d17f240f8ccd467784c8e5 SHA512 1b7b160ede154a80251ffd6935b8a10767e70fcb87e2071899ee1a8228c8d816323d947a631320d525f6a37768c32bcc2a998a30ee2ac4e1769354a85a0f7f27
|
||||
DIST fotocx-25.0-source.tar.gz 15651266 BLAKE2B e6330541a3a0d341055a326b0ab4e3cc7b79bd80ea1cebab7303302e3ec519fb732f1604fe4fce87de4a9690f0da1399a700a5400c7596bf4810c03a469cd768 SHA512 3f4dfdfdd5190599d7294ff10364f382effab5ccc8dde712b467e925c5823cd03bf67a5e85cad2177a194e49431d21b846eed2648a45a8855e922006f69cd4d8
|
||||
DIST fotocx-25.1-source.tar.gz 14627082 BLAKE2B 03bae91fbf4b6df4bd76598ba2b744bfde36d2a1899947b6f8851a9087eed90ef6f1b4a197f7f21c96fe95666bc39d75f748e5686f6282ea36aea508af2bdafa SHA512 d13cf34429c93b38fd90e8c2541865f9ab44f0003750c1a9d3486afca85f1927ccce47ff917a62942b50e404829eeba18243e80e4f1241352bb2ed0807579350
|
||||
|
||||
79
media-gfx/fotocx/fotocx-25.1.ebuild
Normal file
79
media-gfx/fotocx/fotocx-25.1.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
|
||||
}
|
||||
Reference in New Issue
Block a user