Starting from version 4.0 photoqt is based on Qt6. I did a quick and dirty hack on the current version 3.2 ebuild which works for me. The Qt6 entries certainly still need some adjustments. A testrun for the useflags with tatt passed: FEATURES=' test' USE='' succeeded for =media-gfx/photoqt-4.5 USE='chromecast -devil exif -freeimage -graphicsmagick imagemagick -mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='chromecast -devil -exif -freeimage -graphicsmagick -imagemagick mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast devil -exif freeimage -graphicsmagick imagemagick mpv -pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='chromecast -devil -exif -freeimage -graphicsmagick -imagemagick -mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast devil exif -freeimage graphicsmagick -imagemagick -mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast -devil exif -freeimage -graphicsmagick -imagemagick mpv pdf -raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast devil -exif -freeimage -graphicsmagick -imagemagick -mpv -pdf raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast devil -exif freeimage -graphicsmagick imagemagick -mpv -pdf raw' succeeded for =media-gfx/photoqt-4.5 USE='chromecast devil -exif -freeimage graphicsmagick imagemagick mpv -pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5 USE='-chromecast devil exif freeimage graphicsmagick imagemagick mpv -pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5 USE='chromecast devil -exif -freeimage -graphicsmagick imagemagick -mpv pdf raw' succeeded for =media-gfx/photoqt-4.5 USE='-chromecast devil -exif freeimage graphicsmagick imagemagick -mpv pdf raw' : blocked packages (probably) for =media-gfx/photoqt-4.5 --- photoqt-3.2.ebuild 2023-06-17 09:18:52.000000000 +0200 +++ photoqt-4.5.ebuild 2024-06-23 17:29:13.750968818 +0200 @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,24 +12,20 @@ LICENSE="GPL-2+" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="devil exif freeimage graphicsmagick imagemagick mpv pdf raw" +KEYWORDS="~amd64 ~x86" +IUSE="chromecast devil exif freeimage graphicsmagick imagemagick mpv pdf raw" COMMON_DEPEND=" app-arch/libarchive:= app-arch/unrar dev-libs/pugixml - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5[jpeg] - dev-qt/qtimageformats:5 - dev-qt/qtmultimedia:5[qml] - dev-qt/qtnetwork:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 + dev-qt/qtbase:6[concurrent,dbus,gui,network,sql,widgets,xml] + dev-qt/qtdeclarative:6[network,sql,svg,widgets] + dev-qt/qtimageformats:6 + dev-qt/qtlocation:6 + dev-qt/qtmultimedia:6[qml] + dev-qt/qtpositioning:6[qml] + dev-qt/qtsvg:6 devil? ( media-libs/devil ) exif? ( media-gfx/exiv2:=[bmff] ) freeimage? ( media-libs/freeimage ) @@ -38,24 +34,24 @@ graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) ) mpv? ( media-video/mpv:=[libmpv] ) - pdf? ( app-text/poppler[qt5] ) + pdf? ( app-text/poppler[qt6] ) raw? ( media-libs/libraw:= ) " -DEPEND="${COMMON_DEPEND} - dev-qt/qtconcurrent:5 -" +# dev-qt/qtprintsupport:5 + RDEPEND="${COMMON_DEPEND} - dev-qt/qtgraphicaleffects:5 - dev-qt/qtquickcontrols:5 - dev-qt/qtquickcontrols2:5 + chromecast? ( dev-python/pychromecast ) " -BDEPEND="dev-qt/linguist-tools:5" +# dev-qt/qtgraphicaleffects:5 +# dev-qt/qtquickcontrols:5 +# dev-qt/qtquickcontrols2:5 -PATCHES=( "${FILESDIR}/${P}-exiv2-0.28.patch" ) # upstream git master, bug #906491 +BDEPEND="dev-qt/qttools:6[qdbus,linguist] +" src_configure() { local mycmakeargs=( - -DCHROMECAST=OFF # TODO needs python + -DCHROMECAST=$(usex chromecast) -DDEVIL=$(usex devil) -DEXIV2=$(usex exif) -DEXIV2_ENABLE_BMFF=$(usex exif) Reproducible: Always
Created attachment 896296 [details] photoqt-4.5.ebuild