From 413421048cc2b0df9a218f0ab3cb151846809eb5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 27 Apr 2024 23:59:43 +0100 Subject: gentoo auto-resync : 27:04:2024 - 23:59:42 --- media-gfx/fotocx/Manifest | 11 --- .../fotocx/files/fotocx-24.11-documentation.patch | 27 -------- .../fotocx/files/fotoxx-22.18-documentation.patch | 23 ------ .../fotocx/files/fotoxx-22.82-documentation.patch | 27 -------- media-gfx/fotocx/fotocx-23.70.ebuild | 81 ---------------------- media-gfx/fotocx/fotocx-23.82.ebuild | 81 ---------------------- media-gfx/fotocx/fotocx-24.11-r1.ebuild | 79 --------------------- media-gfx/fotocx/fotocx-24.20.ebuild | 79 --------------------- 8 files changed, 408 deletions(-) delete mode 100644 media-gfx/fotocx/files/fotocx-24.11-documentation.patch delete mode 100644 media-gfx/fotocx/files/fotoxx-22.18-documentation.patch delete mode 100644 media-gfx/fotocx/files/fotoxx-22.82-documentation.patch delete mode 100644 media-gfx/fotocx/fotocx-23.70.ebuild delete mode 100644 media-gfx/fotocx/fotocx-23.82.ebuild delete mode 100644 media-gfx/fotocx/fotocx-24.11-r1.ebuild delete mode 100644 media-gfx/fotocx/fotocx-24.20.ebuild (limited to 'media-gfx/fotocx') diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index 3649bb855115..b42a370acadb 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -1,15 +1,4 @@ -AUX fotocx-24.11-documentation.patch 1282 BLAKE2B 232e11a57c60759014ae130277117b1206931a59b07524b7a9f30fb37523375c3b6e62c3e3e07c5a24c8fed16b568686ee0df977ad3a0fe142bb22ba7f5b2f70 SHA512 2e3316c7c59328a06a6a76a4b3c1d8de0a4c089281afd06aa762d0f451446307ee2fd0fb364b2fa60eb7a792183fd9055ca28eddb19155f604b3422c10ac261c AUX fotocx-24.20-documentation.patch 1373 BLAKE2B ac442711ae3eea89f1fa7a272004a0eda1857f4b4fd2f4045d794093bcfb81c16702039b578bef9768e9af503a126cabb62ed91bda384f64a4765efa73666f26 SHA512 17090677f4f726d6b0d5f2c14b76963e9090dffcd3773b02f66e6a87a6c7f9afe6f2c7060f2e375fb37a191c1846287b37f482f8efa78a84c2d381a50fcda751 -AUX fotoxx-22.18-documentation.patch 1074 BLAKE2B ecc735e158614bdbe2d44ec7463314a3f2f1151aaa95938a9415c7041ba0677acb4393d7f4d6c8817c0335e46dd365cc6f441102e0b6eb6f5ab233e70bf11ee1 SHA512 047ec5fa957ed3a9ad4e9667998045ec1c2d4cd6676f57275c40ea7d8797a0f95c7cfa2cd747e72f0f913c376bccdc708d73f675929302ce828c9d346d20885f -AUX fotoxx-22.82-documentation.patch 1290 BLAKE2B 29b49c70167d9820927c651d1408d81e7708d38da813bb71f6fd000f725c2d0c7ef78841826955a589c93eb02aae11120e2d995f780f51ce97ec4ea6035f5a0a SHA512 33e05ae1467dd8856b85d4a866cd75956a9b8ee054d67a3f9edaa337c1fc1ab7ee38b4a460d66884bd9732431277ea2a52d35a43f6469f579296c97a748c8065 -DIST fotocx-24.11-source.tar.gz 16322678 BLAKE2B 08ef6407c02d7f81717cf798f2cfec39521c60bd59a4f832c2df86fad509fadeb874348cf1cb7446f087fcb2f85c83648a1a5ace3ab4de4fea3409f1465e69d3 SHA512 fb350a17128d52974ebde9672df9919ac5b2d12eb45d61266c2af4bf0ce247b13d62fce576d477f4345186e0674ca46b0d72e97eaee71d08a0303d32d164d5ac -DIST fotocx-24.20-source.tar.gz 16619855 BLAKE2B d4bcf0fc6aa1be31bb0bff52cf8c0eae6446b929f2c081498504fee6b55fc219adf0ce6856f3b1a57d0e553362311e25bb3c9278e9444c19e8000f0aafd7a66f SHA512 8f95912f8d4c9adcdc1f0eec0540531e1e26cff2a21f8c56737cc2e472b7307bfc925477491ec4c30cf102e8a396287a8c0ff7e0ad3f946672e6fd495a4fb369 DIST fotocx-24.21-source.tar.gz 16618357 BLAKE2B 43029d080cc843a03475b474c0807e0f2192bc6c64d20c5d41e90218f0b1f88db48aefb7622e8b521f06792a57a9d685d9c57107a309becc39d710ff5aa720a3 SHA512 2945fbaab800a115a1e0c718019ee1e66816cadf794a01db4f8238e7ba74ea033b6e9f24b4e42fe8105242f6df8861de7b00d32e81aae73577f5aa7f38c07f7f -DIST fotoxx-23.70-source.tar.gz 16130595 BLAKE2B d5cd0453c7cc568ddc5a8d66d5f79f4a907a52aa0d635cb32701a4293a210d703e05056a1140287d20434c636f5acffc869af135cf8a3f3762ca55e10e102a05 SHA512 3616f3e90e973c872b25607951ebd41f851df45b715cb3c2df982c1f74387d9cbf0ee5fc14f3de4ecb4e3251ba25affe6cd3b5e118bce31ff01c14637d588c5d -DIST fotoxx-23.82-source.tar.gz 16257916 BLAKE2B b985d999003ebf53dea5f4f21bca7ecd451d89a14c98aa5269f892f183e28f01a81a33bf2a92e6cef98a466069b20622e829eee897d5d818a6f27c493de48734 SHA512 1c6ded03207eaf2e890fa642ff6d9e0bfaae551e9ec1169b30f3ef8a4763cda01dddc7e0c62e7da29a397ad22c4702c0613d383804563b065ce334918381bd2d -EBUILD fotocx-23.70.ebuild 2295 BLAKE2B 2358879706af1eb5343fdae235a5b8ce7d8297d29f585e0ff6479c4204fed8f71af361dfc18b03e70af3f39ee8e1188c2dad92069f3dcae60252a0c175a3d6e7 SHA512 2ec60ec8608a3da289f295bd08737c92f386d0d521b58e4dfee7bef2864849e10b89d4005eb4dc140779e377e77613b9e1f942561b6f54cdb1025d4c387597f5 -EBUILD fotocx-23.82.ebuild 2297 BLAKE2B 7ff3bab8c385d610375ca20a2d929036a3e409b0993e1e1d4f7faa6cc35f033d49fc3350c5fd418b424b231bb8de6d928a6ee1ebab7bc6d30eab84238c5b723e SHA512 c4905b3fedde2c628b3e25c3a1199077125151b575bc1442c16e7109ddde9eebf941b1a442cb484e0beab1c831a2e1860a5167549690b71efd635741739e2aa4 -EBUILD fotocx-24.11-r1.ebuild 2276 BLAKE2B 20ae18597694d60c49bd6468b0e1a7bca00735a778cae9f3be506a821008d90012aeec9ced86c38d1495069d316e51a97bcd5eb2f4b2aa212ace264b99fa3995 SHA512 3f0faf71589503f942e2a00cfa9f2efb95b7132604abca1cdb625a1b23e0b7e4dbf0c02d55e55cd57d8ff4089f947792691fb1edcdaaf0d69bc0361f6a78afc7 -EBUILD fotocx-24.20.ebuild 2276 BLAKE2B f1924f867870ba016551b5686642d858adc071520b364a5bc75ff1b14da12063b7f40460d009d5e6f34c45e503e8ca5cb79f9ede4ce382ad3e27dbe2c7aa45ec SHA512 ebbbf06d0a50640ef04e74460718a7ae13eea31fbce4494035933f71db374ef61e5c76012dc7827551f4d2f942f7fd39b46256aded31a66051ca2e2e17565601 EBUILD fotocx-24.21-r1.ebuild 2288 BLAKE2B ab74c6ef40f963dc17b665783e0bfb9b72db4d2d2aa3aedd3d9c11f01cbd6c9bc06edbfdb7e7b060b4a2e9967ef6cf500e568ee0b13f0e77ab4b772d550ec075 SHA512 e4908a812733f629ee52d4116e9784205517992fb18f419e5eb8013614f8ce054ba36f190117c48b0114d658d93c634556ed3b0ab98d28394bc165ee2b23ba0b MISC metadata.xml 851 BLAKE2B a6c60b79fb5646c3bd7d6959d4a1b974ee714bf6ed64f205d9c00d684b3da94672005658336c1c5fcb903605d11c9a5607616151b2f6262f3173e15b8fc44655 SHA512 2794ae92afa076875c7f725969efdcf9cb84435d0ea033adc28f5860a69438b754f4d22b0db27dc7392683439e51b51ae581a6da450719276e8df51a2a306ad9 diff --git a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch b/media-gfx/fotocx/files/fotocx-24.11-documentation.patch deleted file mode 100644 index 85ca1093d186..000000000000 --- a/media-gfx/fotocx/files/fotocx-24.11-documentation.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/Makefile b/Makefile -index 4098035..345a8a2 100644 ---- a/Makefile -+++ b/Makefile -@@ -128,8 +128,7 @@ install: fotocx uninstall - cp -f -R images/* $(DESTDIR)$(IMAGEDIR) - cp -f metainfo/* $(DESTDIR)$(METAINFODIR) - # man page -- gzip -fk -9 man/fotocx.man -- mv -f man/fotocx.man.gz $(DESTDIR)$(MANDIR)/fotocx.1.gz -+ cp man/fotocx.man $(DESTDIR)$(MANDIR)/fotocx.1 - # desktop file and icon - cp -f fotocx.desktop $(DESTDIR)$(MENUDIR) - cp -f fotocx.png $(DESTDIR)$(ICONDIR) -diff --git a/zfuncs.cc b/zfuncs.cc -index 3aa6766..1fbedb9 100644 ---- a/zfuncs.cc -+++ b/zfuncs.cc -@@ -6122,7 +6122,7 @@ int zinitapp(ch *appvers, int argc, ch *argv[]) - - strncatv(zdatadir,199,zprefix,"/share/",zappname,"/data",null); // /prefix/share/appname/data - strncatv(zimagedir,199,zprefix,"/share/",zappname,"/images",null); // /prefix/share/appname/images -- strncatv(zdocdir,199,zprefix,"/share/doc/",zappname,null); // /prefix/share/doc/appname -+ strncatv(zdocdir,199,zprefix,"/share/doc/",zappvers,null); // /prefix/share/doc/appname - - ch_time = zstrdup(build_date_time,"zinitapp"); - if (ch_time[4] == ' ') ch_time[4] = '0'; // replace month day ' d' with '0d' diff --git a/media-gfx/fotocx/files/fotoxx-22.18-documentation.patch b/media-gfx/fotocx/files/fotoxx-22.18-documentation.patch deleted file mode 100644 index 23d9509458d9..000000000000 --- a/media-gfx/fotocx/files/fotoxx-22.18-documentation.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -122,8 +123,7 @@ - cp -f -R data/* $(DESTDIR)$(DATADIR) - cp -f -R images/* $(DESTDIR)$(IMAGEDIR) - # man page -- gzip -fk -9 man/fotoxx.man -- mv -f man/fotoxx.man.gz $(DESTDIR)$(MANDIR)/fotoxx.1.gz -+ cp man/fotoxx.man $(DESTDIR)$(MANDIR)/fotoxx.1 - # desktop file and icon - cp -f fotoxx.desktop $(DESTDIR)$(MENUDIR) - cp -f fotoxx.png $(DESTDIR)$(ICONDIR) ---- a/zfuncs.cc -+++ b/zfuncs.cc -@@ -6106,7 +6106,7 @@ - - strncatv(zdatadir,199,zprefix,"/share/",zappname,"/data",null); // /prefix/share/appname/data - strncatv(zimagedir,199,zprefix,"/share/",zappname,"/images",null); // /prefix/share/appname/images -- strncatv(zdocdir,199,zprefix,"/share/doc/",zappname,null); // /prefix/share/doc/appname -+ strncatv(zdocdir,199,zprefix,"/share/doc/",zappvers,null); // /prefix/share/doc/appname - - ch_time = zstrdup(build_date_time,"zinitapp"); - if (ch_time[4] == ' ') ch_time[4] = '0'; // replace month day ' d' with '0d' diff --git a/media-gfx/fotocx/files/fotoxx-22.82-documentation.patch b/media-gfx/fotocx/files/fotoxx-22.82-documentation.patch deleted file mode 100644 index 80910d4331d9..000000000000 --- a/media-gfx/fotocx/files/fotoxx-22.82-documentation.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/Makefile b/Makefile -index f80e166..8c1e794 100644 ---- a/Makefile -+++ b/Makefile -@@ -128,8 +128,7 @@ install: fotoxx uninstall - cp -f -R images/* $(DESTDIR)$(IMAGEDIR) - cp -f metainfo/* $(DESTDIR)$(METAINFODIR) - # man page -- gzip -fk -9 man/fotoxx.man -- mv -f man/fotoxx.man.gz $(DESTDIR)$(MANDIR)/fotoxx.1.gz -+ cp man/fotoxx.man $(DESTDIR)$(MANDIR)/fotoxx.1 - # desktop file and icon - cp -f fotoxx.desktop $(DESTDIR)$(MENUDIR) - cp -f fotoxx.png $(DESTDIR)$(ICONDIR) -diff --git a/zfuncs.cc b/zfuncs.cc -index 3ecf485..23f8d2d 100644 ---- a/zfuncs.cc -+++ b/zfuncs.cc -@@ -6123,7 +6123,7 @@ int zinitapp(ch *appvers, int argc, ch *argv[]) - - strncatv(zdatadir,199,zprefix,"/share/",zappname,"/data",null); // /prefix/share/appname/data - strncatv(zimagedir,199,zprefix,"/share/",zappname,"/images",null); // /prefix/share/appname/images -- strncatv(zdocdir,199,zprefix,"/share/doc/",zappname,null); // /prefix/share/doc/appname -+ strncatv(zdocdir,199,zprefix,"/share/doc/",zappvers,null); // /prefix/share/doc/appname-version - - ch_time = zstrdup(build_date_time,"zinitapp"); - if (ch_time[4] == ' ') ch_time[4] = '0'; // replace month day ' d' with '0d' diff --git a/media-gfx/fotocx/fotocx-23.70.ebuild b/media-gfx/fotocx/fotocx-23.70.ebuild deleted file mode 100644 index 5ca640ae39ae..000000000000 --- a/media-gfx/fotocx/fotocx-23.70.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit optfeature xdg-utils - -DESCRIPTION="Program for improving image files made with a digital camera" -HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html" -SRC_URI="https://kornelix.net/downloads/downloads/fotoxx-${PV}-source.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="" - -# 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 -" - -S="${WORKDIR}/fotoxx" - -PATCHES=( "${FILESDIR}/fotoxx-22.18-documentation.patch" ) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - sed -i -e "/^DOCDIR/ s/fotoxx$/${PF}/" Makefile || die - sed -i -e "/^Icon/ s/\.png$//" fotoxx.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}" 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/fotoxx/data/userguide and after running fotoxx a copy will" - elog "be placed at /home//.fotoxx/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 -} diff --git a/media-gfx/fotocx/fotocx-23.82.ebuild b/media-gfx/fotocx/fotocx-23.82.ebuild deleted file mode 100644 index cd89c8d333dc..000000000000 --- a/media-gfx/fotocx/fotocx-23.82.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit optfeature xdg-utils - -DESCRIPTION="Program for improving image files made with a digital camera" -HOMEPAGE="https://kornelix.net/fotoxx/fotoxx.html" -SRC_URI="https://kornelix.net/downloads/downloads/fotoxx-${PV}-source.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -# 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 -" - -S="${WORKDIR}/fotoxx" - -PATCHES=( "${FILESDIR}/fotoxx-22.82-documentation.patch" ) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - sed -i -e "/^DOCDIR/ s/fotoxx$/${PF}/" Makefile || die - sed -i -e "/^Icon/ s/\.png$//" fotoxx.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}" 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/fotoxx/data/userguide and after running fotoxx a copy will" - elog "be placed at /home//.fotoxx/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 -} diff --git a/media-gfx/fotocx/fotocx-24.11-r1.ebuild b/media-gfx/fotocx/fotocx-24.11-r1.ebuild deleted file mode 100644 index 973a6788289e..000000000000 --- a/media-gfx/fotocx/fotocx-24.11-r1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 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.11-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}" 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//.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 -} diff --git a/media-gfx/fotocx/fotocx-24.20.ebuild b/media-gfx/fotocx/fotocx-24.20.ebuild deleted file mode 100644 index 130da99dcd2c..000000000000 --- a/media-gfx/fotocx/fotocx-24.20.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 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}" 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//.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 -} -- cgit v1.2.3