commit: 4337a4f112b54d468aeb732d35e8a8f36929ec2a Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu May 1 11:21:55 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu May 1 11:34:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4337a4f1
media-gfx/fotowall: add Qt6-based 1.0_p20241107 snapshot - Qt6 porting patch extracted from: https://github.com/fotowall/fotowall/pull/43 - Amended with necessary qmake changes Last release was 8 years old - this rather heavy handed snapshot bump is the only alternative to pkgremoval. Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-gfx/fotowall/Manifest | 2 + media-gfx/fotowall/fotowall-1.0_p20241107.ebuild | 50 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/media-gfx/fotowall/Manifest b/media-gfx/fotowall/Manifest index 109993354385..70ff0e99d10f 100644 --- a/media-gfx/fotowall/Manifest +++ b/media-gfx/fotowall/Manifest @@ -1 +1,3 @@ DIST fotowall-1.0.tar.gz 1672398 BLAKE2B 8665f30b11c2fe1e6661e7655dd4de35c3b8bc1d29926d9155958ce5e8875f16281b150e710e4b94e82279e86c510c9933389df32d3255416b6ccdd53fd9c656 SHA512 ae2d887affd28d21b9caabbb3508d8ebd64058d81f84d3b3d67a205341a9cf5b528ca3a02793a4927e2e6b3ddfd73e7698c3df4bad3a7bb4d37fc9fbb226c94c +DIST fotowall-1.0_p20241107-d31d3960.tar.gz 1803966 BLAKE2B e0bf3875037891c2a73006f7542fc1c9e96452e541c30c5cb7fe350a62a7a7488f7965b12436ea8df4c9fb1f42caca45779ccd4780b839de9982de3e3d97cad9 SHA512 35093f90aaef3d8a401969d3bd1c7441ea16f7ce60b3a86c4ef98dbf6dfc4a9a9019bd30e836adcdb92eedaf881fea972cdcea4f87ee40be7ac7f51a154a308d +DIST fotowall-1.0_p20241107-patchset.tar.xz 5788 BLAKE2B fb09fc69e7585af6940d4a858e2d91db1008ff22ed393a853ef0d5cb0e66995cb6ac65e11862805d6a75dd1e792d2c97efb6c22bbb044e8c9d024987db7de70e SHA512 705672e1ad67f721ead0d3295c8e97b2c245934cb5067d36ab48c91cb275f4a7cb10ab5ccf8a985f8c6726df65cbb3bda04ce5cc4791e1c98b8ac5aa4d882db9 diff --git a/media-gfx/fotowall/fotowall-1.0_p20241107.ebuild b/media-gfx/fotowall/fotowall-1.0_p20241107.ebuild new file mode 100644 index 000000000000..7971202335ea --- /dev/null +++ b/media-gfx/fotowall/fotowall-1.0_p20241107.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT="d31d3960b2a8a721e274300c1150de48ca219897" +inherit qmake-utils + +DESCRIPTION="Qt tool for creating wallpapers" +HOMEPAGE="https://www.enricoros.com/opensource/fotowall/" +SRC_URI="https://github.com/enricoros/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz + https://dev.gentoo.org/~asturm/distfiles/${P}-patchset.tar.xz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="webcam" + +RDEPEND=" + dev-qt/qtbase:6[gui,network,opengl,widgets,xml] + dev-qt/qtsvg:6 +" +DEPEND="${RDEPEND} + webcam? ( media-libs/libv4l ) +" + +# Extracted Qt6-only changes (and ported to qmake) from: +# https://github.com/fotowall/fotowall/pull/43 +PATCHES=( "${WORKDIR}"/${P}-patchset ) + +src_prepare() { + default + + sed -i -e "s|linux/videodev.h|libv4l1-videodev.h|" \ + 3rdparty/videocapture/VideoDevice.h || die +} + +src_configure() { + if ! use webcam; then + eqmake6 ${PN}.pro "CONFIG+=no-webcam" + else + eqmake6 + fi +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README.md +}
