diff options
| author | root <root@alpha.trunkmasters.com> | 2026-09-11 01:41:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-09-11 01:41:34 -0500 |
| commit | fc39c62a8944e95c0ecccfc9781763822b23e66c (patch) | |
| tree | 11feafa0dbddccf6fcd9dabb290b0ce5faafec36 /media-gfx | |
| parent | 98068fb4a1502cade02134b1834439134ca4eed1 (diff) | |
| download | baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.gz baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.xz baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.zip | |
Adding metadata
Diffstat (limited to 'media-gfx')
36 files changed, 602 insertions, 480 deletions
diff --git a/media-gfx/blender-bin/Manifest b/media-gfx/blender-bin/Manifest index 30b42306c128..18a1f980e6da 100644 --- a/media-gfx/blender-bin/Manifest +++ b/media-gfx/blender-bin/Manifest @@ -1,7 +1,9 @@ DIST blender-3.6.23-linux-x64.tar.xz 272819000 BLAKE2B 99cec0fe547b32dbee7c0024474a0a51224f53131b613eebbc4c7b28cf54948fbd742a09e63c37700913a3c764a85cb0d1fd0932faa95e7a61d48dfdf4c5adb1 SHA512 073cf218c74796e22afe0fb4d9d781fa92d42d38f29becde650a87bae625ede0ca77af2d935783e5e44f40802948012589f5ca173e287102a8abb3197817baeb DIST blender-4.2.16-linux-x64.tar.xz 350677256 BLAKE2B b1c13cbfd441dd11480fb2edbfe4cad11d518148b134aa3112cd6c09c0d5b6711d5e0dd08d1a7966ac2181de131c0061e2ce9622aeba31d23de5348fb6968d85 SHA512 304ae514bd9ffe47b2859513877abd83834f3790caac3b087c12d4381ec0ff7938681cb83f616dfdd3c660c65f5f0fec0759a6dea69d538e2b9a96f4a864919d DIST blender-4.2.20-linux-x64.tar.xz 350676256 BLAKE2B eb92d2d186275e5456e74c8ac5d69c88b3fdafa23cede66953b163c7c79e5b164c4db0b0541aefbd523caf5b4bb60c6748cdaa12f5eec9bd4c97ab6a55abd648 SHA512 5319b704659c63694fa3d5cffc4f980666d7e5516b817fb391b0017b08fe0e14b01154e862d9f38ce52f14cc05d1241873526b85402fd3f33f6a36288046df36 +DIST blender-4.5.12-linux-x64.tar.xz 377902364 BLAKE2B c13e5a558188c50524d73842117a43ed5b1c716c44db31b3c3ce7f5d87ec2c7bebc761a087d2fd0c8a8fd8fbe9dce7b535e820f14d6e70430b85ca8375660782 SHA512 01e435059befc3a63eb4b64c1e7db01f8bcc25105c8bd1917efad8c44a1ba6827570fad6b7d1a381b751239416d37b1d11adc2457acc0cb96bf3077542034d57 DIST blender-4.5.5-linux-x64.tar.xz 377364660 BLAKE2B baa15c9ec4a7cd049f35a3aad93fd7e641b4afdc6a3634039e6ffeb70c0bb150da8a70c4e4cd59d4568af9d040b6277b9673445d17f74757a01de953628988ab SHA512 7ce4a2cc873417b140874381ff7229dab79adab12ea50dc4148ee2b0c2335b6f25af6c1e9f1adff82046bb58e21f3c0eeb69c7993421016b10605029a88309d6 DIST blender-4.5.9-linux-x64.tar.xz 377929956 BLAKE2B 165c943653146d4b086c89e9eeb78dc39e0f385d06f0e176839d2651043fb4c53ad9f5780c041ec4d162d511eb83c58175f151f85cb94e6eeb59a9951feb2ca8 SHA512 f74e1358cb88e5ad56275e37a70fd9411ee0536b3e15052ec753060d746ffcf72f29c57e2928f692ffcb8d384ed978abed7f5a4959e1da64e88ea9e6239923b5 DIST blender-5.0.0-linux-x64.tar.xz 387739652 BLAKE2B 71001e96a2e7a307e794dd90f0dcc0bd54ade5380168e09bd9c3715f3c39442e14dd38c6eb411ff42876ffe60b4b378ea62f4a52c9ab1ab305d76f4282ac1520 SHA512 36f30eff8db3d14b8a0f0143ffde81f70e61c29d761a1694ae0796e6a5a2e972eed585d192a1c565819d308418822886b048c86a540f87f7a3ff26b09d6d1ae3 DIST blender-5.1.1-linux-x64.tar.xz 396169688 BLAKE2B a50b19090eb8c30e35972e57c3292d44f500d758e58d8fe8a743814ea0c7344ff37294e52277c37d22e691173de6a6906ea764932ff6e94d4481f9c11fce4261 SHA512 d8ed6cde97eea0ebac298527d7294a0b4d5fb992fb4dd99880d5639e7b8a02cdd0775196c45f6d8608c6d30c3ddcca3dae00ca24ed241ec17990d3f885e461e4 +DIST blender-5.2.1-linux-x64.tar.xz 383688088 BLAKE2B 2efa24c2d43948d836cce169474c7147bcb6b85c814613398a6b58e26e5eb2592cdb4de824a2803bd4120ae4309d7eaf460d59ffac7c4ec4e3396c0538a74fbd SHA512 7c06cfba4c52a364f875dc248838eddc7996e0bb5b90de98e41ede0ef35c15f837a26477f86613732a8752665ec980c5218dc0917673eaa6b89d1e1631053497 diff --git a/media-gfx/blender-bin/blender-bin-4.5.12.ebuild b/media-gfx/blender-bin/blender-bin-4.5.12.ebuild new file mode 100644 index 000000000000..9d92afecb291 --- /dev/null +++ b/media-gfx/blender-bin/blender-bin-4.5.12.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg-utils + +DESCRIPTION="3D Creation/Animation/Publishing System" +HOMEPAGE="https://www.blender.org" + +LICENSE="GPL-3+ Apache-2.0" +SLOT="$(ver_cut 1-2)" + +if [[ ${PV} == *9999* ]] ; then + # BLENDER_BIN_URL can be used to point to the url of an upstream release archive. + PROPERTIES="live" +else + SRC_URI=" + https://download.blender.org/release/Blender${SLOT}/blender-${PV}-linux-x64.tar.xz + " + KEYWORDS="~amd64" +fi + +IUSE="cuda hip oneapi" +RESTRICT="strip test" + +QA_PREBUILT="opt/${P}/*" + +if [[ ${PV} == *9999* ]] ; then + BDEPEND=" + app-misc/jq + " +fi + +# no := here, this is prebuilt +RDEPEND=" + media-libs/libglvnd[X] + sys-apps/util-linux + sys-libs/glibc + sys-libs/ncurses + virtual/libcrypt + x11-base/xorg-server + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXt + x11-libs/libdrm + x11-libs/libxkbcommon + cuda? ( + x11-drivers/nvidia-drivers + ) + hip? ( + =dev-util/hip-6* + ) + oneapi? ( + dev-libs/level-zero + ) +" + +src_unpack() { + local my_A + if [[ ${PV} == *9999* ]] ; then + local file_name url + if [[ -n "${BLENDER_BIN_URL}" ]]; then + einfo "Using ${BLENDER_BIN_URL} as SRC_URI. You are on your own." + file_name="$(basename "${BLENDER_BIN_URL}")" + url="${BLENDER_BIN_URL}" + else + wget "https://builder.blender.org/download/daily/?format=json&v=2" -O "${T}/release.json" \ + || die "failed to retrieve release.json" + + local branch commit rel_json release_cycle version + rel_json=$( + jq -r 'map(select(.platform == "linux" and .branch == "'"${EGIT_BRANCH:-main}"'" and .file_extension == "xz")) + | .[0]' \ + "${T}/release.json" + ) + branch=$( echo "${rel_json}" | jq -r '.branch' ) + commit=$( echo "${rel_json}" | jq -r '.hash' ) + file_name=$( echo "${rel_json}" | jq -r '.file_name' ) + release_cycle=$( echo "${rel_json}" | jq -r '.release_cycle' ) + url=$( echo "${rel_json}" | jq -r '.url' ) + version=$( echo "${rel_json}" | jq -r '.version' ) + + einfo "Fetching blender-${version}-${release_cycle}-${branch}-${commit}" + einfo " url: ${url}" + einfo " version: ${version}" + einfo " release_cycle: ${release_cycle}" + einfo " branch: ${branch}" + einfo " commit: ${commit}" + einfo + fi + + wget -c "${url}"{,.sha256} -P "${T}" || die "failed to fetch ${url}" + + my_A="${T}/${file_name}" + + # Check sha256sum + local sha256sum_exp sha256sum_is + sha256sum_exp="$(cat "${T}/${file_name}.sha256")" + sha256sum_is="$(sha256sum "${T}/${file_name}" | cut -d ' ' -f 1)" + if [[ "${sha256sum_exp}" != "${sha256sum_is}" ]]; then + eerror "sha256sum mismatch for ${file_name}" + eerror " expected ${sha256sum_exp}" + eerror " found ${sha256sum_is}" + die "sha256sum mismatch" + fi + else + my_A="blender-${PV}-linux-x64.tar.xz" + fi + + unpack "${my_A}" + + local dirs + dirs="$(find "${WORKDIR}" -mindepth 1 -maxdepth 1 | wc -l)" + if [[ "${dirs}" -ne 1 ]]; then + die "unpack resulted in ${dirs} dirs in ${WORKDIR}" + fi + + mv "${WORKDIR}"/* "${S}" || die "mv" +} + +src_prepare() { + default + + # Remove unused gpu libraries so we don't get missing libraries from QA + if ! use cuda; then + rm \ + lib/libOpenImageDenoise_device_cuda* \ + || eqawarn "failed cleaning cuda" + fi + + if ! use hip; then + rm \ + lib/libOpenImageDenoise_device_hip* \ + || eqawarn "failed cleaning hip" + fi + + if ! use oneapi; then + rm \ + lib/libOpenImageDenoise_device_sycl* \ + lib/libur_adapter_level_zero* \ + || eqawarn "failed cleaning oneapi" + fi + + # Prepare icons and .desktop for menu entry + mv blender.desktop "${P}.desktop" || die + mv blender.svg "${P}.svg" || die + mv blender-symbolic.svg "${P}-symbolic.svg" || die + + sed \ + -e "s/=blender/=${P}/" \ + -e "s/Name=Blender/Name=Blender Bin ${PV}/" \ + -i "${P}.desktop" || die +} + +src_configure() { + :; +} + +src_compile() { + :; +} + +src_install() { + # We could use the version from the release.json instead of PN here + local BLENDER_OPT_HOME="/opt/${P}" + + # Install icons and .desktop for menu entry + doicon -s scalable "${S}"/blender*.svg + domenu "${P}.desktop" + + # Install all the blender files in /opt + dodir "${BLENDER_OPT_HOME%/*}" + mv "${S}" "${ED}${BLENDER_OPT_HOME}" || die + + # Create symlink /usr/bin/blender-bin + dodir "/usr/bin" + dosym -r "${BLENDER_OPT_HOME}/blender" "/usr/bin/${P}" +} + +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 +} diff --git a/media-gfx/blender-bin/blender-bin-5.2.1.ebuild b/media-gfx/blender-bin/blender-bin-5.2.1.ebuild new file mode 100644 index 000000000000..9d92afecb291 --- /dev/null +++ b/media-gfx/blender-bin/blender-bin-5.2.1.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg-utils + +DESCRIPTION="3D Creation/Animation/Publishing System" +HOMEPAGE="https://www.blender.org" + +LICENSE="GPL-3+ Apache-2.0" +SLOT="$(ver_cut 1-2)" + +if [[ ${PV} == *9999* ]] ; then + # BLENDER_BIN_URL can be used to point to the url of an upstream release archive. + PROPERTIES="live" +else + SRC_URI=" + https://download.blender.org/release/Blender${SLOT}/blender-${PV}-linux-x64.tar.xz + " + KEYWORDS="~amd64" +fi + +IUSE="cuda hip oneapi" +RESTRICT="strip test" + +QA_PREBUILT="opt/${P}/*" + +if [[ ${PV} == *9999* ]] ; then + BDEPEND=" + app-misc/jq + " +fi + +# no := here, this is prebuilt +RDEPEND=" + media-libs/libglvnd[X] + sys-apps/util-linux + sys-libs/glibc + sys-libs/ncurses + virtual/libcrypt + x11-base/xorg-server + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrender + x11-libs/libXt + x11-libs/libdrm + x11-libs/libxkbcommon + cuda? ( + x11-drivers/nvidia-drivers + ) + hip? ( + =dev-util/hip-6* + ) + oneapi? ( + dev-libs/level-zero + ) +" + +src_unpack() { + local my_A + if [[ ${PV} == *9999* ]] ; then + local file_name url + if [[ -n "${BLENDER_BIN_URL}" ]]; then + einfo "Using ${BLENDER_BIN_URL} as SRC_URI. You are on your own." + file_name="$(basename "${BLENDER_BIN_URL}")" + url="${BLENDER_BIN_URL}" + else + wget "https://builder.blender.org/download/daily/?format=json&v=2" -O "${T}/release.json" \ + || die "failed to retrieve release.json" + + local branch commit rel_json release_cycle version + rel_json=$( + jq -r 'map(select(.platform == "linux" and .branch == "'"${EGIT_BRANCH:-main}"'" and .file_extension == "xz")) + | .[0]' \ + "${T}/release.json" + ) + branch=$( echo "${rel_json}" | jq -r '.branch' ) + commit=$( echo "${rel_json}" | jq -r '.hash' ) + file_name=$( echo "${rel_json}" | jq -r '.file_name' ) + release_cycle=$( echo "${rel_json}" | jq -r '.release_cycle' ) + url=$( echo "${rel_json}" | jq -r '.url' ) + version=$( echo "${rel_json}" | jq -r '.version' ) + + einfo "Fetching blender-${version}-${release_cycle}-${branch}-${commit}" + einfo " url: ${url}" + einfo " version: ${version}" + einfo " release_cycle: ${release_cycle}" + einfo " branch: ${branch}" + einfo " commit: ${commit}" + einfo + fi + + wget -c "${url}"{,.sha256} -P "${T}" || die "failed to fetch ${url}" + + my_A="${T}/${file_name}" + + # Check sha256sum + local sha256sum_exp sha256sum_is + sha256sum_exp="$(cat "${T}/${file_name}.sha256")" + sha256sum_is="$(sha256sum "${T}/${file_name}" | cut -d ' ' -f 1)" + if [[ "${sha256sum_exp}" != "${sha256sum_is}" ]]; then + eerror "sha256sum mismatch for ${file_name}" + eerror " expected ${sha256sum_exp}" + eerror " found ${sha256sum_is}" + die "sha256sum mismatch" + fi + else + my_A="blender-${PV}-linux-x64.tar.xz" + fi + + unpack "${my_A}" + + local dirs + dirs="$(find "${WORKDIR}" -mindepth 1 -maxdepth 1 | wc -l)" + if [[ "${dirs}" -ne 1 ]]; then + die "unpack resulted in ${dirs} dirs in ${WORKDIR}" + fi + + mv "${WORKDIR}"/* "${S}" || die "mv" +} + +src_prepare() { + default + + # Remove unused gpu libraries so we don't get missing libraries from QA + if ! use cuda; then + rm \ + lib/libOpenImageDenoise_device_cuda* \ + || eqawarn "failed cleaning cuda" + fi + + if ! use hip; then + rm \ + lib/libOpenImageDenoise_device_hip* \ + || eqawarn "failed cleaning hip" + fi + + if ! use oneapi; then + rm \ + lib/libOpenImageDenoise_device_sycl* \ + lib/libur_adapter_level_zero* \ + || eqawarn "failed cleaning oneapi" + fi + + # Prepare icons and .desktop for menu entry + mv blender.desktop "${P}.desktop" || die + mv blender.svg "${P}.svg" || die + mv blender-symbolic.svg "${P}-symbolic.svg" || die + + sed \ + -e "s/=blender/=${P}/" \ + -e "s/Name=Blender/Name=Blender Bin ${PV}/" \ + -i "${P}.desktop" || die +} + +src_configure() { + :; +} + +src_compile() { + :; +} + +src_install() { + # We could use the version from the release.json instead of PN here + local BLENDER_OPT_HOME="/opt/${P}" + + # Install icons and .desktop for menu entry + doicon -s scalable "${S}"/blender*.svg + domenu "${P}.desktop" + + # Install all the blender files in /opt + dodir "${BLENDER_OPT_HOME%/*}" + mv "${S}" "${ED}${BLENDER_OPT_HOME}" || die + + # Create symlink /usr/bin/blender-bin + dodir "/usr/bin" + dosym -r "${BLENDER_OPT_HOME}/blender" "/usr/bin/${P}" +} + +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 +} diff --git a/media-gfx/fotocx/Manifest b/media-gfx/fotocx/Manifest index b1a1d6efc613..4fd3c0b0335f 100644 --- a/media-gfx/fotocx/Manifest +++ b/media-gfx/fotocx/Manifest @@ -1,6 +1,2 @@ DIST fotocx-26.2-source.tar.gz 12552122 BLAKE2B cd0319decba608ce829a1f6f06e47bfe638eb7b49925ae13b95f9a5748c2c9866b09f1f237cf83adb15d478250ca93455298bd3e549dba5dd97f013e54074e1a SHA512 ee5a5a727334e574d3c9486b17c936b4536a01ce38929146f0240cc2cc64d61b763fe89924770214d346cb7304f3fc14a711488d7f9c48ca99e15f56ad83e642 -DIST fotocx-26.3-source.tar.gz 12834442 BLAKE2B 5c58e5a8d9d82fe7a90eafb98ced694df026e91d6dcf19f45a524bebc5f15fb5b62c81214194a9987502b869cf7e4375b1b82a01ea6b80d39d24dc7a157177e7 SHA512 79f7f772765412f62cceb6134267abede6134fdc95aaa60cbfa596199d98f4c02d2fe46486a186c681c136eb8836020357e2a37f05aa1188e739d1e0f2f98ae8 -DIST fotocx-26.4-source.tar.gz 12875807 BLAKE2B f3f210c6e96ef89e72d30efbb0d2a79135b616e0a4c8f10a759069aa0f5b9774ed3211743fa2454ec3e1d5493c831b301d877095b8b4f2f50608ad9423e84872 SHA512 6d36de7eb653607f9c206369502409f2db3b16c03a148052b9cc980d06519cb89c4d2290aa5055eb58c17e203c8a05fba5ce2b75419811381607ea0163baab9c -DIST fotocx-26.5-source.tar.gz 11428874 BLAKE2B b9f96e4940cd8e3f4ed623e02ae526d85726eb0f7f8b2ad8c89dec527e322d30af2d5367cc8a67920adfb26593ec8d45febebed5ed6be4e9d4dcca4a220e0632 SHA512 922e7404ae3cf963d4d84a7466df08a1ac11dbd96f16f01d23fe598ac4bbc9d47260d789d250ee2963ee4a0b5c43e481e5016a567a020312445c25c615e231e5 -DIST fotocx-26.6-source.tar.gz 12991387 BLAKE2B 30d4d88a583e058f18da13102e63d4e2cc5b0b9136580a18fbf7acc7c9c91c77591c7852603deb6065f7668127e979f89b3ea021a3b05b797a4b61753cef98e4 SHA512 fafefaecbb76a7c61ad991a1ad18c7f9c90af7ebd207e859452ff3028299507a82bcf833cf7a301c30edd97bed67818f105cbf6d68472dbc931c5395af54670c -DIST fotocx-26.7-source.tar.gz 12268336 BLAKE2B 458d6cb4794afdf06c71a04f33f804104effb2fc561a7ba1c0d5487299285d47140a9180af5abcb16cc5e0426c3b6dfee53fd2300d0c74274b34ecb810bb161d SHA512 82daa85e7c65fcf6f765044329e1aaa37feac7ea388fabd918f2bf3e93b3981640ba82abfb11cd3acc5bc0dfd9cb451df4249889757e581ba72c7ea3e9d56479 +DIST fotocx-26.8-source.tar.gz 12879565 BLAKE2B ed6f7264c060b86da4f6d027945bab1b8ae3c7e204b1597b14f9bd8a5cc29d93560261543d69d8fc7f1c503585f61227b60cc7b56540ad152ebf0eddd54a3a29 SHA512 7d9ee5c9dd9d5f3334eebe77dfabb3209f59d2c470d810bf820cd61a2893dc4644df7a773e2b4fca77a9f470e565f31ee60aaf884acbf9e051267f695a5b3857 diff --git a/media-gfx/fotocx/fotocx-26.3-r1.ebuild b/media-gfx/fotocx/fotocx-26.3-r1.ebuild deleted file mode 100644 index fcce7a08942c..000000000000 --- a/media-gfx/fotocx/fotocx-26.3-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 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/libjxl:= - 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}-26.1-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 -} diff --git a/media-gfx/fotocx/fotocx-26.4.ebuild b/media-gfx/fotocx/fotocx-26.4.ebuild deleted file mode 100644 index fcce7a08942c..000000000000 --- a/media-gfx/fotocx/fotocx-26.4.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 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/libjxl:= - 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}-26.1-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 -} diff --git a/media-gfx/fotocx/fotocx-26.5.ebuild b/media-gfx/fotocx/fotocx-26.5.ebuild deleted file mode 100644 index fcce7a08942c..000000000000 --- a/media-gfx/fotocx/fotocx-26.5.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 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/libjxl:= - 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}-26.1-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 -} diff --git a/media-gfx/fotocx/fotocx-26.6.ebuild b/media-gfx/fotocx/fotocx-26.6.ebuild deleted file mode 100644 index fcce7a08942c..000000000000 --- a/media-gfx/fotocx/fotocx-26.6.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2026 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/libjxl:= - 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}-26.1-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 -} diff --git a/media-gfx/fotocx/fotocx-26.7.ebuild b/media-gfx/fotocx/fotocx-26.8.ebuild index 30bbee77705f..30bbee77705f 100644 --- a/media-gfx/fotocx/fotocx-26.7.ebuild +++ b/media-gfx/fotocx/fotocx-26.8.ebuild diff --git a/media-gfx/gif2png/Manifest b/media-gfx/gif2png/Manifest index 7213c7b7334a..7c5e98a1d25f 100644 --- a/media-gfx/gif2png/Manifest +++ b/media-gfx/gif2png/Manifest @@ -1 +1,3 @@ DIST gif2png-2.5.14.tar.gz 221609 BLAKE2B de1e66a0880579a2d4d3681ec8cbbe3ef37da1cd05e40336b398266f386d629645f9d45738098c9e3f9528cb5dbdd5c37ed00f5d5c8bcd85e0a31fd375f38a76 SHA512 a1ea3b64da64274a3363089beee748605eb24d3e05bcace29d26618a9ab3580f5ac85da893af16975c91d571866625e0883f0a4b375e82c468754f84f8982f03 +DIST gif2png-3.0.5-deps.tar.xz 602824 BLAKE2B b80adc288aa798a7ffbadc06014a6e4213376aae5b655784d90bea01096e8dc77ac5e343a2b34d23762c22a289f5e6ba4b6ca9dc217063d77d020c3f372eeb1d SHA512 4a83735dadf2197e22608f569340302fd3a4b038b1eed39388c7f2d6464c8e6fbde7ffef292980b248216c3d04f864573da241dcac5bdc46c34eeed66778ff64 +DIST gif2png-3.0.5.tar.gz 84077 BLAKE2B ecc18430a94fb7dfe9bb5c1c39dd6e78e96d5bd050f5b9d880bbabeefd42bd13f420d3c89abecfafe7e595923e7f05b85b601711240d61f725cd6f6b61e202a8 SHA512 bd6978d15fbea889b17c592701fcdcaf453c11aac59d240c5db646e55d45d30ef0bd465013314b672d0b6119ab7b9be41d609bf4bb6301551362667d8c1f253d diff --git a/media-gfx/gif2png/gif2png-3.0.5.ebuild b/media-gfx/gif2png/gif2png-3.0.5.ebuild new file mode 100644 index 000000000000..20dab2648e13 --- /dev/null +++ b/media-gfx/gif2png/gif2png-3.0.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +inherit go-module python-any-r1 + +DESCRIPTION="Converts images from GIF format to PNG format" +HOMEPAGE="http://catb.org/~esr/gif2png/" +SRC_URI="http://catb.org/~esr/${PN}/${P}.tar.gz" +SRC_URI+=" https://github.com/gentoo-golang-dist/gif2png/releases/download/${PV}/${P}-deps.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + install +} diff --git a/media-gfx/inkscape/inkscape-1.4.4.ebuild b/media-gfx/inkscape/inkscape-1.4.4.ebuild index f17d3e03e3f2..6c6d9144ddc0 100644 --- a/media-gfx/inkscape/inkscape-1.4.4.ebuild +++ b/media-gfx/inkscape/inkscape-1.4.4.ebuild @@ -20,7 +20,7 @@ if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://gitlab.com/inkscape/inkscape.git" else SRC_URI="https://media.inkscape.org/dl/resources/file/${MY_P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~sparc x86" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" fi S="${WORKDIR}/${MY_P}" diff --git a/media-gfx/kgraphviewer/Manifest b/media-gfx/kgraphviewer/Manifest index f952caae850e..bfcf0c892503 100644 --- a/media-gfx/kgraphviewer/Manifest +++ b/media-gfx/kgraphviewer/Manifest @@ -1,2 +1,2 @@ DIST kgraphviewer-26.04.3.tar.xz 1606424 BLAKE2B 64de806b500911297cd5d959af5e8a6cfaaefd0220362d2df88c0bd9abeb40e0b77125e32b57374a43c043a43bc962514014bf33af7600776c2aacabefed79f7 SHA512 60d86d22c67ff927d3c18ec9e6eeffc5e9f84f9b5a1df7ad625d41792116b7121ccec7c79cd2f6a74ac4f2b95ce3124f757ff58e311db441bb78a6d665aa19b8 -DIST kgraphviewer-26.08.0.tar.xz 1606648 BLAKE2B d5c7805961d963ff7b083510a3452a9b29492e0197751086a5563dbfd71c4477f8b820871cfb26a6607c0cfe82426d49b6f68d2aa9196ed4b55dea32bae736e6 SHA512 ac5824a5e042f29e57836e4eaa7087a4b232b0b2ecbc0b519b05548438c228eb42d4e5dda806c654ec4c4f0795be590d9ab2d153a336b3115e015b08a0828d2c +DIST kgraphviewer-26.08.1.tar.xz 1606824 BLAKE2B 9a3365f06ccdbbd42725510f221dbdc8b1532915404ef7619df92c8c5d1a2cc38a49c660e317b64577a12b76efc65be781e41e1c1eb8e879138de240c4ee2497 SHA512 07bad385688c0b723fa1c4a191bf77bf87407382b788d83a1f52f01e8b73ae2fb02d860df43082528ef5c89e1c43026f66fbe810f03060398c48ac95ec91cfb3 diff --git a/media-gfx/kgraphviewer/kgraphviewer-26.08.0.ebuild b/media-gfx/kgraphviewer/kgraphviewer-26.08.1.ebuild index 3378a4bf2baf..3378a4bf2baf 100644 --- a/media-gfx/kgraphviewer/kgraphviewer-26.08.0.ebuild +++ b/media-gfx/kgraphviewer/kgraphviewer-26.08.1.ebuild diff --git a/media-gfx/kio-blender-thumbnailer/Manifest b/media-gfx/kio-blender-thumbnailer/Manifest index 91092028f748..e7c4bcacd67d 100644 --- a/media-gfx/kio-blender-thumbnailer/Manifest +++ b/media-gfx/kio-blender-thumbnailer/Manifest @@ -1,2 +1,2 @@ DIST kdegraphics-thumbnailers-26.04.3.tar.xz 128668 BLAKE2B afee12c4f4958fa1e1be863cd277853bdf16ee7686eb5862427360db911a98cb01ce60a1b77376e7d75cd0855c46dfac9d39a6e64a67f46bfbae296653d4faa3 SHA512 d3e24a206a0f9e0418265b62ad9d443ce2ee3e01070aba0f9f75c1972346e47aae855c64091c2f0e8d866569f1b2c5e19054272fac277dfe6340143f164e02ed -DIST kdegraphics-thumbnailers-26.08.0.tar.xz 128828 BLAKE2B 8538fabd4d6fd3623939c9cb52f42d8c72e80f46c5f87a3776544e4fc5092e37f110287fe0da9e2f1ce93b51f6b1c475628101990a14c92596a1b2feb38af39c SHA512 06357b64ed050c75e91d6e6b98e3f3d30ffaccb23eb1e47ef3b83b1b53ee95e3bef2070d4967d34f9f34ee8366f8541d0fe9e4c9e63fe5c309de320fb33878d4 +DIST kdegraphics-thumbnailers-26.08.1.tar.xz 128760 BLAKE2B f292beff931075dae1f2e1405288eb02d546c8a2bd88d52855baa2c46396b8178b839417c612a535b078a4cd8154353260bc37cb8167e44b6c586fa7242b77d8 SHA512 b6b790a88f254971babfa2ed3bfb5c8e9fbf129c2c6d9a5f08a8586f260de87f69e02ca88f1fdae402f3222f1ce3faf1d4f9e2b319a559a866c76780e219681e diff --git a/media-gfx/kio-blender-thumbnailer/kio-blender-thumbnailer-26.08.0.ebuild b/media-gfx/kio-blender-thumbnailer/kio-blender-thumbnailer-26.08.1.ebuild index f4b4f89fca2d..f4b4f89fca2d 100644 --- a/media-gfx/kio-blender-thumbnailer/kio-blender-thumbnailer-26.08.0.ebuild +++ b/media-gfx/kio-blender-thumbnailer/kio-blender-thumbnailer-26.08.1.ebuild diff --git a/media-gfx/kio-mobi-thumbnailer/Manifest b/media-gfx/kio-mobi-thumbnailer/Manifest index 91092028f748..e7c4bcacd67d 100644 --- a/media-gfx/kio-mobi-thumbnailer/Manifest +++ b/media-gfx/kio-mobi-thumbnailer/Manifest @@ -1,2 +1,2 @@ DIST kdegraphics-thumbnailers-26.04.3.tar.xz 128668 BLAKE2B afee12c4f4958fa1e1be863cd277853bdf16ee7686eb5862427360db911a98cb01ce60a1b77376e7d75cd0855c46dfac9d39a6e64a67f46bfbae296653d4faa3 SHA512 d3e24a206a0f9e0418265b62ad9d443ce2ee3e01070aba0f9f75c1972346e47aae855c64091c2f0e8d866569f1b2c5e19054272fac277dfe6340143f164e02ed -DIST kdegraphics-thumbnailers-26.08.0.tar.xz 128828 BLAKE2B 8538fabd4d6fd3623939c9cb52f42d8c72e80f46c5f87a3776544e4fc5092e37f110287fe0da9e2f1ce93b51f6b1c475628101990a14c92596a1b2feb38af39c SHA512 06357b64ed050c75e91d6e6b98e3f3d30ffaccb23eb1e47ef3b83b1b53ee95e3bef2070d4967d34f9f34ee8366f8541d0fe9e4c9e63fe5c309de320fb33878d4 +DIST kdegraphics-thumbnailers-26.08.1.tar.xz 128760 BLAKE2B f292beff931075dae1f2e1405288eb02d546c8a2bd88d52855baa2c46396b8178b839417c612a535b078a4cd8154353260bc37cb8167e44b6c586fa7242b77d8 SHA512 b6b790a88f254971babfa2ed3bfb5c8e9fbf129c2c6d9a5f08a8586f260de87f69e02ca88f1fdae402f3222f1ce3faf1d4f9e2b319a559a866c76780e219681e diff --git a/media-gfx/kio-mobi-thumbnailer/kio-mobi-thumbnailer-26.08.0.ebuild b/media-gfx/kio-mobi-thumbnailer/kio-mobi-thumbnailer-26.08.1.ebuild index e908e9c4d19b..e908e9c4d19b 100644 --- a/media-gfx/kio-mobi-thumbnailer/kio-mobi-thumbnailer-26.08.0.ebuild +++ b/media-gfx/kio-mobi-thumbnailer/kio-mobi-thumbnailer-26.08.1.ebuild diff --git a/media-gfx/kio-ps-thumbnailer/Manifest b/media-gfx/kio-ps-thumbnailer/Manifest index 91092028f748..e7c4bcacd67d 100644 --- a/media-gfx/kio-ps-thumbnailer/Manifest +++ b/media-gfx/kio-ps-thumbnailer/Manifest @@ -1,2 +1,2 @@ DIST kdegraphics-thumbnailers-26.04.3.tar.xz 128668 BLAKE2B afee12c4f4958fa1e1be863cd277853bdf16ee7686eb5862427360db911a98cb01ce60a1b77376e7d75cd0855c46dfac9d39a6e64a67f46bfbae296653d4faa3 SHA512 d3e24a206a0f9e0418265b62ad9d443ce2ee3e01070aba0f9f75c1972346e47aae855c64091c2f0e8d866569f1b2c5e19054272fac277dfe6340143f164e02ed -DIST kdegraphics-thumbnailers-26.08.0.tar.xz 128828 BLAKE2B 8538fabd4d6fd3623939c9cb52f42d8c72e80f46c5f87a3776544e4fc5092e37f110287fe0da9e2f1ce93b51f6b1c475628101990a14c92596a1b2feb38af39c SHA512 06357b64ed050c75e91d6e6b98e3f3d30ffaccb23eb1e47ef3b83b1b53ee95e3bef2070d4967d34f9f34ee8366f8541d0fe9e4c9e63fe5c309de320fb33878d4 +DIST kdegraphics-thumbnailers-26.08.1.tar.xz 128760 BLAKE2B f292beff931075dae1f2e1405288eb02d546c8a2bd88d52855baa2c46396b8178b839417c612a535b078a4cd8154353260bc37cb8167e44b6c586fa7242b77d8 SHA512 b6b790a88f254971babfa2ed3bfb5c8e9fbf129c2c6d9a5f08a8586f260de87f69e02ca88f1fdae402f3222f1ce3faf1d4f9e2b319a559a866c76780e219681e diff --git a/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-26.08.0.ebuild b/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-26.08.1.ebuild index 9d77284a5b80..9d77284a5b80 100644 --- a/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-26.08.0.ebuild +++ b/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-26.08.1.ebuild diff --git a/media-gfx/kio-raw-thumbnailer/Manifest b/media-gfx/kio-raw-thumbnailer/Manifest index 91092028f748..e7c4bcacd67d 100644 --- a/media-gfx/kio-raw-thumbnailer/Manifest +++ b/media-gfx/kio-raw-thumbnailer/Manifest @@ -1,2 +1,2 @@ DIST kdegraphics-thumbnailers-26.04.3.tar.xz 128668 BLAKE2B afee12c4f4958fa1e1be863cd277853bdf16ee7686eb5862427360db911a98cb01ce60a1b77376e7d75cd0855c46dfac9d39a6e64a67f46bfbae296653d4faa3 SHA512 d3e24a206a0f9e0418265b62ad9d443ce2ee3e01070aba0f9f75c1972346e47aae855c64091c2f0e8d866569f1b2c5e19054272fac277dfe6340143f164e02ed -DIST kdegraphics-thumbnailers-26.08.0.tar.xz 128828 BLAKE2B 8538fabd4d6fd3623939c9cb52f42d8c72e80f46c5f87a3776544e4fc5092e37f110287fe0da9e2f1ce93b51f6b1c475628101990a14c92596a1b2feb38af39c SHA512 06357b64ed050c75e91d6e6b98e3f3d30ffaccb23eb1e47ef3b83b1b53ee95e3bef2070d4967d34f9f34ee8366f8541d0fe9e4c9e63fe5c309de320fb33878d4 +DIST kdegraphics-thumbnailers-26.08.1.tar.xz 128760 BLAKE2B f292beff931075dae1f2e1405288eb02d546c8a2bd88d52855baa2c46396b8178b839417c612a535b078a4cd8154353260bc37cb8167e44b6c586fa7242b77d8 SHA512 b6b790a88f254971babfa2ed3bfb5c8e9fbf129c2c6d9a5f08a8586f260de87f69e02ca88f1fdae402f3222f1ce3faf1d4f9e2b319a559a866c76780e219681e diff --git a/media-gfx/kio-raw-thumbnailer/kio-raw-thumbnailer-26.08.0.ebuild b/media-gfx/kio-raw-thumbnailer/kio-raw-thumbnailer-26.08.1.ebuild index 4fec31b74808..4fec31b74808 100644 --- a/media-gfx/kio-raw-thumbnailer/kio-raw-thumbnailer-26.08.0.ebuild +++ b/media-gfx/kio-raw-thumbnailer/kio-raw-thumbnailer-26.08.1.ebuild diff --git a/media-gfx/lximage-qt/Manifest b/media-gfx/lximage-qt/Manifest index fa2bb2574fb8..d5ea8b78896e 100644 --- a/media-gfx/lximage-qt/Manifest +++ b/media-gfx/lximage-qt/Manifest @@ -1,2 +1 @@ -DIST lximage-qt-2.3.0.tar.xz 862192 BLAKE2B 9cbe960305ece6e96fdf48ea0b1998c90b05642618b6f0df80681916bc4ba9044ba5f78db37a3a468b21679942081f82ad97eb3f56945dcf974c5292082a35b4 SHA512 6cc25cedc08c08f47993731f539e78152e65dbd4c72923cb32750ff3dec7491fd3a5dac14a173e51bb4880e19938fa5c744f2521cf4c736320f7c4d22a7b953a DIST lximage-qt-2.4.0.tar.xz 869496 BLAKE2B 3774f731f521c406876bb93004447580940ba93958a05d87230bcc68af1d377d7fd79879d71c59bdbb17af70a723dedf93a50658b2793e999f296cd1bfb1ed7d SHA512 9724ea2607bedf4b982d34fae7f06ffa1463e381c832db16bbae7bf64d2f472ad01dca826b9854155675243dd4f0fcbfde7865bf6e282d97072e3a515218f503 diff --git a/media-gfx/lximage-qt/lximage-qt-2.3.0.ebuild b/media-gfx/lximage-qt/lximage-qt-2.3.0.ebuild deleted file mode 100644 index b7bb62b7877e..000000000000 --- a/media-gfx/lximage-qt/lximage-qt-2.3.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PV="$(ver_cut 1-2)" - -inherit cmake xdg - -DESCRIPTION="Qt Image Viewer" -HOMEPAGE="https://lxqt-project.org/" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" -else - SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" - KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86" -fi - -LICENSE="GPL-2+" -SLOT="0" - -BDEPEND=" - >=dev-qt/qttools-6.6:6[linguist] - >=dev-util/lxqt-build-tools-2.3.0 - virtual/pkgconfig -" -DEPEND=" - dev-libs/glib:2 - >=dev-qt/qtbase-6.6:6[dbus,gui,network,widgets] - >=dev-qt/qtsvg-6.6:6 - media-libs/libexif - =x11-libs/libfm-qt-${MY_PV}*:= - x11-libs/libX11 - x11-libs/libXfixes -" -RDEPEND="${DEPEND}" diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest index dc45acb54565..3e72b227b110 100644 --- a/media-gfx/photoqt/Manifest +++ b/media-gfx/photoqt/Manifest @@ -1,2 +1,2 @@ -DIST photoqt-v5.3.tar.bz2 5782225 BLAKE2B 9f8635879dcb692351400e33bc1c31328b221285abae1af742d28b6cd065aa46d31e495f8c7c645534ee7d61687dcb8b1097912713ebc12a3b85dae5f8791115 SHA512 5fa4ac9856ecea1acdf845d9e62227ce404656c520cf6040a37829e7af53c34b7391c384515e0e009c7cbfc7d8325b2b8ebfccca742e9d9c295e8cd85951d8ac +DIST photoqt-v5.4.1.tar.bz2 6713925 BLAKE2B 87bba2a8f9d194d8de9fa0c44059cce351290a664822f8e1f810b05b646499a7be7b1f613324bdd18a70c79de30217a606e11e598a24b997eac38bffd4ca268a SHA512 5ce92e07aebe34553f63718e9073b4a611c0bc69dfc076de17a4475d04e199f41339d4f0302ddda105ec4a4c9913e661ba2f32a3f350767c612de037bd9f9646 DIST photoqt-v5.4.tar.bz2 6749999 BLAKE2B d0d8b3832101dfe5f08d8f931999be62ce31949e61a5abb1b0ec53f284bcc455ae82e999b64a28dea9176ce4838ebe7b9395fc12c9788add435bea5c3c9e7d7d SHA512 1fa691cf217349c8162e5c03129c199ce2222eb382d37d6d68a9bb406854fdecb4641ce3f67b10c47c1f4af13fa4a0db3e1a293fb0cbfaf62655bfa17ea6f802 diff --git a/media-gfx/photoqt/files/photoqt-5.3-fix_mpv_testsrcs.patch b/media-gfx/photoqt/files/photoqt-5.3-fix_mpv_testsrcs.patch deleted file mode 100644 index acf5ab7c7fb2..000000000000 --- a/media-gfx/photoqt/files/photoqt-5.3-fix_mpv_testsrcs.patch +++ /dev/null @@ -1,94 +0,0 @@ -see PR merged https://gitlab.com/lspies/photoqt/-/merge_requests/44.patch -fix test w/o mpv installed -Amend photoqt_testscripts_SOURCES with SOURCES_LIBMPV, mirroring -photoqt_SOURCES logic. ---- a/CMake/ListFilesTesting.cmake -+++ b/CMake/ListFilesTesting.cmake -@@ -117,9 +117,6 @@ SET(photoqt_testscripts_SOURCES - ######################################################################## - ######################################################################## - -- ../../cplusplus/other/pqc_mpvobject.cpp -- -- ../../cplusplus/header/pqc_mpvobject.h - ../../cplusplus/header/pqc_imageformats_qml.h - ../../cplusplus/header/pqc_filefoldermodel.h - ../../cplusplus/header/pqc_metadata.h -@@ -156,4 +153,7 @@ SET(photoqt_testscripts_SOURCES - # ../../cplusplus/header/scripts/pqc_scriptschromecast_qml.h - ) - -+SET(photoqt_testscripts_SOURCES_LIBMPV ../../cplusplus/other/pqc_mpvobject.cpp -+ ../../cplusplus/header/pqc_mpvobject.h) -+ - endif() ---- a/testing/pqt_filefoldermodel/CMakeLists.txt -+++ b/testing/pqt_filefoldermodel/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsclipboard/CMakeLists.txt -+++ b/testing/pqt_scriptsclipboard/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsconfig/CMakeLists.txt -+++ b/testing/pqt_scriptsconfig/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsfiledialog/CMakeLists.txt -+++ b/testing/pqt_scriptsfiledialog/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsfilemanagement/CMakeLists.txt -+++ b/testing/pqt_scriptsfilemanagement/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsfilespaths/CMakeLists.txt -+++ b/testing/pqt_scriptsfilespaths/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() ---- a/testing/pqt_scriptsimages/CMakeLists.txt -+++ b/testing/pqt_scriptsimages/CMakeLists.txt -@@ -81,6 +81,7 @@ if(_WITH_VIDEO_QT) - endif() - - if(_WITH_VIDEO_MPV) -+ SET(photoqt_testscripts_SOURCES ${photoqt_testscripts_SOURCES} ${photoqt_testscripts_SOURCES_LIBMPV}) - target_compile_definitions(${testname} PRIVATE PQMVIDEOMPV) - target_link_libraries(${testname} PRIVATE Libmpv::Libmpv) - endif() diff --git a/media-gfx/photoqt/photoqt-5.3.ebuild b/media-gfx/photoqt/photoqt-5.4.1.ebuild index 89ea9f992795..df963a3caf2a 100644 --- a/media-gfx/photoqt/photoqt-5.3.ebuild +++ b/media-gfx/photoqt/photoqt-5.4.1.ebuild @@ -13,14 +13,15 @@ S="${WORKDIR}/${PN}-v${PV}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64" +KEYWORDS="~amd64" IUSE="barcode chromecast devil exif extensions ffmpegthumbnailer geolocation graphicsmagick +imagemagick lcms mpv pdf raw test vips wayland" REQUIRED_USE="chromecast? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" +# slot op: Uses Qt::GuiPrivate for rhi/qrhi.h COMMON_DEPEND=" app-arch/libarchive:= - dev-qt/qtbase:6[concurrent,dbus,gui,icu,network,opengl,sql,sqlite,widgets,xml] + dev-qt/qtbase:6=[concurrent,dbus,gui,icu,network,opengl,sql,sqlite,widgets,xml] dev-qt/qtdeclarative:6[opengl] dev-qt/qtimageformats:6 dev-qt/qtmultimedia:6[qml] @@ -33,10 +34,7 @@ COMMON_DEPEND=" ) devil? ( media-libs/devil ) exif? ( media-gfx/exiv2:=[bmff] ) - extensions? ( - app-crypt/qca:2 - dev-cpp/yaml-cpp:= - ) + extensions? ( dev-cpp/yaml-cpp:= ) ffmpegthumbnailer? ( media-video/ffmpegthumbnailer ) imagemagick? ( !graphicsmagick? ( media-gfx/imagemagick:=[cxx,hdri] ) @@ -71,11 +69,6 @@ BDEPEND=" chromecast? ( ${PYTHON_DEPS} ) " -PATCHES=( - # PR merged - "${FILESDIR}"/${P}-fix_mpv_testsrcs.patch -) - pkg_setup() { use chromecast && python-single-r1_pkg_setup } @@ -89,7 +82,7 @@ src_configure() { -DWITH_DEVIL=$(usex devil) -DWITH_EXIV2=$(usex exif) -DWITH_EXIV2_ENABLE_BMFF=$(usex exif) - -DWITH_EXTENSIONS_LIBRARY_VERIFICATION=OFF # do not sign SO + -DWITH_EXTENSIONS_NONSYS_OPENSSL=OFF # do not sign SO for now -DWITH_EXTENSIONS_SUPPORT=$(usex extensions) -DWITH_FFMPEGTHUMBNAILER=$(usex ffmpegthumbnailer) -DWITH_LOCATION=$(usex geolocation) @@ -100,6 +93,8 @@ src_configure() { -DWITH_POPPLER=$(usex pdf) -DWITH_LIBRAW=$(usex raw) -DWITH_LIBVIPS=$(usex vips) + -DWITH_PHOTOSPHERE=ON + -DWITH_PHOTOSPHERE_QRHI=ON -DWITH_WAYLANDSPECIFIC=$(usex wayland) -DWITH_ADAPTSOURCE=ON # adapt the sources according to the Qt version -DWITH_LIBSAI=OFF # Wunkolo/libsai, no release, experimental diff --git a/media-gfx/prusaslicer/prusaslicer-2.9.5.ebuild b/media-gfx/prusaslicer/prusaslicer-2.9.5.ebuild index 706c408dc7b6..8ccdf697e73b 100644 --- a/media-gfx/prusaslicer/prusaslicer-2.9.5.ebuild +++ b/media-gfx/prusaslicer/prusaslicer-2.9.5.ebuild @@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://github.com/prusa3d/prusaslicer.git" else SRC_URI="https://github.com/prusa3d/PrusaSlicer/archive/refs/tags/version_${MY_PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="amd64 ~arm64 ~x86" S="${WORKDIR}/${MY_PN}-version_${MY_PV}" fi diff --git a/media-gfx/qrca/Manifest b/media-gfx/qrca/Manifest index d1ae978aaae0..df686e524196 100644 --- a/media-gfx/qrca/Manifest +++ b/media-gfx/qrca/Manifest @@ -1,2 +1,2 @@ DIST qrca-26.04.3.tar.xz 264984 BLAKE2B 80d39affedc9efa7a0ea534884bcad02cadfb82d911996bf6f3ce1cd8ffff238e9458f6b261f74e763fe4c18a28fcb7bec2c17e77e49baa743e6f531fb2fdaa7 SHA512 4564229acb90af5e004be010bfd0aa292d1bce719e6a29a4d96692d949a59c3c9cf19e3b29928699de70809f898d362e1a994effd7eefa200efc48a64f963ca2 -DIST qrca-26.08.0.tar.xz 265652 BLAKE2B 382fe4c6f09431a6274ece758a1af96e8cbe4c8258825a734878b31c4b0e41d96d16b1fa3c964a76a005be94dc6698cd6393ac49c7c8296ea32fd1f97b2527ba SHA512 603a285c5ce17d3ce6b4ad97336c3329028420e53a00854cbedf11ca16c4b3ef0678fe0435c94342449442bf8e1349b6a9574f2203eedd015608d338a1bf2e8c +DIST qrca-26.08.1.tar.xz 265832 BLAKE2B a2c52ae61be03bf2b7c477827c23eade022a9baac5dd9faf0139ff47d43f64574495438b12803b2d533f292bbf4c40412ace22d90387a072f333c3e03e41a128 SHA512 e164fe07c9a67d04c6414ddaccd5b9f4db773fb2b78179796a838db34b5e9d75668e40e0d2729d23437e5464a4eda04e92cfee94d805393ba5d3bf5fe2a1ff69 diff --git a/media-gfx/qrca/qrca-26.08.0.ebuild b/media-gfx/qrca/qrca-26.08.1.ebuild index d126973e1844..d126973e1844 100644 --- a/media-gfx/qrca/qrca-26.08.0.ebuild +++ b/media-gfx/qrca/qrca-26.08.1.ebuild diff --git a/media-gfx/skanpage/Manifest b/media-gfx/skanpage/Manifest index f2b42f4983ac..df2f93e118e4 100644 --- a/media-gfx/skanpage/Manifest +++ b/media-gfx/skanpage/Manifest @@ -1,2 +1,2 @@ DIST skanpage-26.04.3.tar.xz 1372804 BLAKE2B 42ffd812b8ee91cee6cd4e5144949ce060cf9f717c4612924cd321504eaf2d90b9e6d82f742d7f0e938dbd9cd157bf8d6d09faa37c3f2b724f122bc68f762e26 SHA512 545c3b5105dbefd74d49d5f2e2088b9acba0c2ecc32f997601415e47affb1cb86a0b31774a2850fe38805d8e037d22e0aa6d8578d1a5d46db0008fa103901aed -DIST skanpage-26.08.0.tar.xz 1374116 BLAKE2B f587326596b4fcb01ebe4985d484eb4c3f8a499a6b8c7d6684999d918e16cbd8a5e0f64d1cca5f4d6d4ac8662537746f3a61dc378ba6f00f30f21e3657448f49 SHA512 7087aca5755bf54893cc84ffd3bf269cbe94b1b8dfcce550f73284740c6b6cf5d7edaf9dfd98340829ef421057582ec61e79c10baad4ecaf0f24f3fa73dbadf0 +DIST skanpage-26.08.1.tar.xz 1374228 BLAKE2B 6a4a0ff12c06f93efc419cdbef02dff866194c34648c26f2f9012e19cb5403a801cad3a5b3370053055d2fee9047bfbf184fc135678384ce42a4b4f5e947da8e SHA512 a3aff31477309153795c3ef5a96119d06050f31b156b375224b9e24002132adba0fbda98602200ea9bd170f7de9ca9eed2c393d060763126d52e3da22c779a84 diff --git a/media-gfx/skanpage/skanpage-26.08.0.ebuild b/media-gfx/skanpage/skanpage-26.08.1.ebuild index 417b5aae6e29..417b5aae6e29 100644 --- a/media-gfx/skanpage/skanpage-26.08.0.ebuild +++ b/media-gfx/skanpage/skanpage-26.08.1.ebuild diff --git a/media-gfx/swayimg/Manifest b/media-gfx/swayimg/Manifest index 7d4c0bde7992..d9cd5db3348d 100644 --- a/media-gfx/swayimg/Manifest +++ b/media-gfx/swayimg/Manifest @@ -1,3 +1,4 @@ DIST swayimg-4.7.tar.gz 793940 BLAKE2B 854690eb0769830e5833db6ce83729adb0b08cdae46b833ef00e0be6fb18d7b196bd4cd76d506df72fec8ca0304247dd4655bbb5e10a41a8da4f2215d0faa1d1 SHA512 77384dc33702594a95f0e961b0677a695071e89a98bffdbc008331ddb143b228295dd0107733d3ddd44499cd5a32e6d61d94efe4ae9d9d45999be12fa9364b6e DIST swayimg-5.4.tar.gz 1002027 BLAKE2B 6ab787d32e2bc469880e73bc6bf8ed89d6d4151b43091eaeee6d7d95aaf31b2f3e529a21e5d7190097abc14a289dd7351ea104ec440b5e542906dadb0deffb14 SHA512 7a69c17d57c1f2a8e7ae2c19cb134d5194182a9dd403d5520d5d8fc133ba14a6aef04493e01526dfbcbdc27697a77eb1940baf7355c384075bd547fb1af7d571 DIST swayimg-5.5.tar.gz 1004837 BLAKE2B e3c2b760033830a51f973f2ee70c8dec60f487c998c6900322540c3783e06398794acda7a310d047796666587f147c1a2fdeeb941844880d28534003474e307d SHA512 824d973d5381027164d42afab33b8c2bb8babe843e28a5d468206dc0dc33c59d152f67fee54bd8406f4a9296770591aee7d9639b1a1251c030da0c6ce7ab32e6 +DIST swayimg-5.6.tar.gz 1016512 BLAKE2B f0595a69b550bd211590e63e58769f191c5165c789302280086a79383cef8dad7b0399dd5df85b370088ac4c5025fe8f1e7c2b90596a664e1b0188bd41c5ba0c SHA512 b835c23571b8ab4b3e3e641657e89d167c751937309350ef193726b575eb43cee079d1d4b70437c554244b0931281e0f7cba088dedb2a95fb9ab4ad4e945f757 diff --git a/media-gfx/swayimg/files/swayimg-5.6-missing_include.patch b/media-gfx/swayimg/files/swayimg-5.6-missing_include.patch new file mode 100644 index 000000000000..811dd21aad2e --- /dev/null +++ b/media-gfx/swayimg/files/swayimg-5.6-missing_include.patch @@ -0,0 +1,12 @@ +PR merged https://github.com/artemsen/swayimg/pull/570.patch +xkb: Add missing header for libcxx-23 +--- a/src/xkb.cpp ++++ b/src/xkb.cpp +@@ -8,6 +8,7 @@ + #include <unistd.h> + + #include <cassert> ++#include <cstdlib> + #include <tuple> + + Xkb::Xkb() diff --git a/media-gfx/swayimg/metadata.xml b/media-gfx/swayimg/metadata.xml index 3810717dcdcf..a01cf2d1e68e 100644 --- a/media-gfx/swayimg/metadata.xml +++ b/media-gfx/swayimg/metadata.xml @@ -12,6 +12,8 @@ <flag name="drm">Enable support for Direct Rendering Manager (DRM UI)</flag> <flag name="exr">Enable support for EXR image format</flag> <flag name="sixel">Enable support for Sixel image format</flag> + <flag name="ffmpeg">Enable support for video storyboard using <pkg>media-video/ffmpeg</pkg> + </flag> <flag name="wayland">Enable Wayland UI and some compositors (Sway and Hyprland only)</flag> </use> <origin>baldeagleos-repo</origin> diff --git a/media-gfx/swayimg/swayimg-5.6.ebuild b/media-gfx/swayimg/swayimg-5.6.ebuild new file mode 100644 index 000000000000..4a02e08b7815 --- /dev/null +++ b/media-gfx/swayimg/swayimg-5.6.ebuild @@ -0,0 +1,142 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1,3,4} luajit ) +inherit eapi9-ver lua-single meson xdg + +DESCRIPTION="Lightweight image viewer for Wayland display servers" +HOMEPAGE="https://github.com/artemsen/swayimg" +SRC_URI="https://github.com/artemsen/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="avif bash-completion drm exif ffmpeg gif heif jpeg jpeg2k jpegxl png raw sixel svg test tiff +wayland webp X" +REQUIRED_USE=" + ${LUA_REQUIRED_USE} + || ( drm wayland ) +" +RESTRICT="!test? ( test )" + +# disable exr until #966735 is fixed +# exr? ( >=media-libs/openexr-3.4:= ) +# $(meson_feature exr) +RDEPEND=" + ${LUA_DEPS} + media-libs/fontconfig + media-libs/freetype + x11-libs/libxkbcommon + avif? ( >=media-libs/libavif-1.0:= ) + bash-completion? ( app-shells/bash-completion ) + drm? ( x11-libs/libdrm ) + exif? ( media-gfx/exiv2:= ) + ffmpeg? ( >=media-video/ffmpeg-6.1:= ) + gif? ( media-libs/giflib:= ) + heif? ( media-libs/libheif:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + jpeg2k? ( media-libs/openjpeg:= ) + jpegxl? ( media-libs/libjxl:= ) + png? ( media-libs/libpng:= ) + raw? ( media-libs/libraw:= ) + sixel? ( media-libs/libsixel ) + svg? ( + dev-libs/glib:2 + >=gnome-base/librsvg-2.46:2 + x11-libs/cairo[X=] + ) + tiff? ( media-libs/tiff:= ) + wayland? ( dev-libs/wayland ) + webp? ( media-libs/libwebp:= ) +" +DEPEND=" + ${RDEPEND} + svg? ( X? ( x11-base/xorg-proto ) ) + test? ( dev-cpp/gtest ) + wayland? ( >=dev-libs/wayland-protocols-1.35 ) +" +BDEPEND=" + wayland? ( dev-util/wayland-scanner ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.1-precompiled_doc.patch + + # merged + "${FILESDIR}"/${P}-missing_include.patch +) + +DOCS=( CONFIG.md README.md USAGE.md ) + +src_prepare() { + default + + if use test; then + if ! use ffmpeg; then + sed -e '/video = {.*$/,/^ },$/d' \ + -i extra/example.lua || die + fi + if ! use raw; then + sed -e '/raw = {.*$/,/^ },$/d' \ + -i extra/example.lua || die + fi + fi +} + +src_configure() { + local emesonargs=( + $(meson_feature avif) + $(meson_feature drm) + $(meson_feature exif) + $(meson_feature ffmpeg video) + $(meson_feature gif) + $(meson_feature heif) + $(meson_feature jpeg) + $(meson_feature jpeg2k jp2) + $(meson_feature jpegxl jxl) + $(meson_feature png) + $(meson_feature raw) + $(meson_feature sixel) + $(meson_feature svg) + $(meson_feature test tests) + $(meson_feature tiff) + $(meson_feature wayland) + $(meson_feature wayland compositor) + $(meson_feature webp) + $(meson_feature bash-completion bash) + -Dliblua=lua + -Dversion=${PV} + -Ddesktop=true + -Ddoc=false + -Dlicense=false + -Dluameta=true + -Dman=true + -Dzsh=enabled + ) + meson_src_configure +} + +src_test() { + local skip_tests=() + # Set LC_COLLATE=en_US.utf8 if available for ImageListTest.SortAlphaUnicode + if locale -a | grep -iq "en_US.utf8"; then + local -x LC_COLLATE="en_US.utf8" + else + skip_tests+=( ImageListTest.SortAlphaUnicode ) + fi + + local -x GTEST_FILTER=$(echo -$(IFS=:; echo "${skip_tests[*]}")) + meson_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + + if ver_replacing -lt 5.0; then + elog "The Swayimg configuration file is now a Lua script." + elog "${EROOT}/usr/share/swayimg/swayimg.lua contains a description of Lua bindings." + elog "${EROOT}/usr/share/swayimg/example.lua contains a detailed example." + elog "The new user config file is ~/.config/swayimg/init.lua" + fi +} |
