summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-11 23:48:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-11 23:52:08 +0200
commit265bfb015e056c8c2d09a61f735e67ac1bcee0f0 (patch)
tree504d0954bca74130b3b63c733ae261b9fb8dd45b /media-gfx/kphotoalbum
parentprofiles: x86: Add media-gfx/kphotoalbum[qtav] to package.use.mask (diff)
downloadgentoo-265bfb015e056c8c2d09a61f735e67ac1bcee0f0.tar.gz
gentoo-265bfb015e056c8c2d09a61f735e67ac1bcee0f0.tar.bz2
gentoo-265bfb015e056c8c2d09a61f735e67ac1bcee0f0.zip
media-gfx/kphotoalbum: add 5.9.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/kphotoalbum')
-rw-r--r--media-gfx/kphotoalbum/Manifest1
-rw-r--r--media-gfx/kphotoalbum/kphotoalbum-5.9.1.ebuild71
-rw-r--r--media-gfx/kphotoalbum/metadata.xml3
3 files changed, 75 insertions, 0 deletions
diff --git a/media-gfx/kphotoalbum/Manifest b/media-gfx/kphotoalbum/Manifest
index 966bbd4edb03..47a26be0ef6b 100644
--- a/media-gfx/kphotoalbum/Manifest
+++ b/media-gfx/kphotoalbum/Manifest
@@ -1 +1,2 @@
DIST kphotoalbum-5.8.1.tar.xz 11792320 BLAKE2B 0f9404bdb0713f824c1e8a448eee48255c1649281a720dac36d46065a8f65bae7eef9fe4057686d25df837411930b03ddc479082c433039f47d3af7539bdbf27 SHA512 3a9eec3a12cd95c7bb0806185d7937346acd68ff29858f3cbbe5d4c0c350ff84f55282231dd3800fc5393d72d5563aa7207ec68122057079ba20e82239c6181c
+DIST kphotoalbum-5.9.1.tar.xz 11786912 BLAKE2B f772aebc84689cafa869ec368f0079884ea71d4e2dac61baedc50c3764489993992dde6a260daf328d4489645f87de403b47255a5e710a8c125dc621c5f8a623 SHA512 e273671bcb0501d62f911a127f63dbdbc94be2f9ef9073d769ecc97d737edf189a4c61c1216184a68528d0562e2287b23c8d6738bcafa3faf4cb724d57666476
diff --git a/media-gfx/kphotoalbum/kphotoalbum-5.9.1.ebuild b/media-gfx/kphotoalbum/kphotoalbum-5.9.1.ebuild
new file mode 100644
index 000000000000..2139581e1015
--- /dev/null
+++ b/media-gfx/kphotoalbum/kphotoalbum-5.9.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.82.0
+QTMIN=5.15.5
+inherit ecm kde.org
+
+DESCRIPTION="Tool for indexing, searching, and viewing images"
+HOMEPAGE="https://kphotoalbum.org/"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+ FDL-1.2"
+SLOT="5"
+IUSE="map phonon qtav +raw share +vlc"
+
+REQUIRED_USE="|| ( phonon qtav vlc )"
+
+DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5[sqlite]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ media-gfx/exiv2:=
+ media-libs/libjpeg-turbo:=
+ map? ( kde-apps/marble:5 )
+ phonon? ( >=media-libs/phonon-4.11.0 )
+ qtav? ( media-libs/qtav:= )
+ raw? ( kde-apps/libkdcraw:5 )
+ share? ( >=kde-frameworks/kxmlgui-${KFMIN}:5 )
+ vlc? ( media-video/vlc:= )
+"
+RDEPEND="${DEPEND}
+ media-video/ffmpeg
+"
+
+DOCS=( ChangeLog README.md )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package map Marble)
+ $(cmake_use_find_package phonon Phonon4Qt5)
+ $(cmake_use_find_package qtav QtAV)
+ $(cmake_use_find_package raw KF5KDcraw)
+ $(cmake_use_find_package share KF5Purpose)
+ $(cmake_use_find_package vlc LIBVLC)
+ )
+
+ ecm_src_configure
+}
diff --git a/media-gfx/kphotoalbum/metadata.xml b/media-gfx/kphotoalbum/metadata.xml
index f87d58df9dbe..e4b11a20d66a 100644
--- a/media-gfx/kphotoalbum/metadata.xml
+++ b/media-gfx/kphotoalbum/metadata.xml
@@ -10,6 +10,9 @@
</upstream>
<use>
<flag name="map">Enable map display support using <pkg>kde-apps/marble</pkg></flag>
+ <flag name="phonon">Enable <pkg>media-libs/phonon</pkg> video backend (known to crash on some video formats)</flag>
+ <flag name="qtav">Enable <pkg>media-libs/qtav</pkg> video backend (audio and video may get out of sync)</flag>
<flag name="share">Enable support for a share menu using <pkg>kde-frameworks/purpose</pkg></flag>
+ <flag name="vlc">Enable <pkg>media-video/vlc</pkg> video backend (recommended for X11)</flag>
</use>
</pkgmetadata>