1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Qt5 tool for creating wallpapers"
9 HOMEPAGE="https://www.enricoros.com/opensource/fotowall/"
10 SRC_URI="https://github.com/enricoros/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
21 dev-qt/qtprintsupport:5
25 opengl? ( dev-qt/qtopengl:5 )
28 webcam? ( media-libs/libv4l )
32 "${FILESDIR}/${P}-qt-5.11.patch"
33 "${FILESDIR}/${P}-qt-5.15.patch"
39 sed -i -e "s|linux/videodev.h|libv4l1-videodev.h|" \
40 3rdparty/videocapture/VideoDevice.h || die
43 sed -i "/QT += opengl/d" ${PN}.pro || die
49 eqmake5 ${PN}.pro "CONFIG+=no-webcam"
56 emake INSTALL_ROOT="${D}" install