diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 18:45:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-04-21 19:10:28 +0200 |
commit | c79dd3f09b72f4ee1ca7839c1a9497791c16fd29 (patch) | |
tree | 104a8e525ca8035e6535c1eae8f0617fa7740d1d /kde-apps/thumbnailers | |
parent | kde-apps/svgpart: 22.04.0 version bump (diff) | |
download | gentoo-c79dd3f09b72f4ee1ca7839c1a9497791c16fd29.tar.gz gentoo-c79dd3f09b72f4ee1ca7839c1a9497791c16fd29.tar.bz2 gentoo-c79dd3f09b72f4ee1ca7839c1a9497791c16fd29.zip |
kde-apps/thumbnailers: 22.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/thumbnailers')
-rw-r--r-- | kde-apps/thumbnailers/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/thumbnailers/metadata.xml | 3 | ||||
-rw-r--r-- | kde-apps/thumbnailers/thumbnailers-22.04.0.ebuild | 41 |
3 files changed, 45 insertions, 0 deletions
diff --git a/kde-apps/thumbnailers/Manifest b/kde-apps/thumbnailers/Manifest index be9aebe94a53..af83632a0499 100644 --- a/kde-apps/thumbnailers/Manifest +++ b/kde-apps/thumbnailers/Manifest @@ -1,2 +1,3 @@ DIST kdegraphics-thumbnailers-21.08.3.tar.xz 47176 BLAKE2B d59ec2c870201726ec31522d3b17beacf13b7bb41ad2967b26f873d966a0a159f31a49673a32b02cba85407af7d857617ba6edb6e0296cfcbbc62fc0987da449 SHA512 b7c32b3b5d1294e724e783576d1dda192cf90355c7dbd207e719c76ce6186653d9a5b0caffaadb527e4a7ec5643ad11e3f8f5dcec9596dc2579619afa02d07a2 DIST kdegraphics-thumbnailers-21.12.3.tar.xz 47192 BLAKE2B 43fa0fa006fd6a8ada05a9a95e4498c1bab25b462edaa18264a6653d3181f7b3467cb9c127d16583ca3e95ce7aa9973cfc124dae5e0b7c2716f8b9ebc0b21dc9 SHA512 182207b16060b3c22ef2f75bd104527bf7bba1124f9dab7d4cd0c5dbc29bb14466b819ee7d06a4f0a0034c99dea7a62a695efd698cd74ca44da4de43ca5cbd05 +DIST kdegraphics-thumbnailers-22.04.0.tar.xz 48452 BLAKE2B 06a4d026aee2ac17c8d9790ccc8021da622d89437c4062b3d92b98eaf359bb7a0c4c2d1e4f6bdad29a92e8843f1bf3c87563eedf61c638a20ca10af5fc2dfffb SHA512 d8765d2ff4874ad793d7c00ff1da849c21c4a04b6111d95ec2d1ed398dcaa262a65dc6250be8d7d5954f3c2c4219ab668cee52fa012eb659dbfb5b56101eba27 diff --git a/kde-apps/thumbnailers/metadata.xml b/kde-apps/thumbnailers/metadata.xml index d925f2439758..178495035bea 100644 --- a/kde-apps/thumbnailers/metadata.xml +++ b/kde-apps/thumbnailers/metadata.xml @@ -8,4 +8,7 @@ <upstream> <bugs-to>https://bugs.kde.org/</bugs-to> </upstream> + <use> + <flag name="mobi">Enable mobipocket thumbnail generation using <pkg>kde-apps/kdegraphics-mobipocket</pkg></flag> + </use> </pkgmetadata> diff --git a/kde-apps/thumbnailers/thumbnailers-22.04.0.ebuild b/kde-apps/thumbnailers/thumbnailers-22.04.0.ebuild new file mode 100644 index 000000000000..58d0bc664746 --- /dev/null +++ b/kde-apps/thumbnailers/thumbnailers-22.04.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kdegraphics-thumbnailers" +PVCUT=$(ver_cut 1-3) +KFMIN=5.92.0 +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Thumbnail generators for Mobipocket, PDF/PS and RAW files" + +LICENSE="GPL-2+" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="mobi raw" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + mobi? ( >=kde-apps/kdegraphics-mobipocket-${PVCUT}:5 ) + raw? ( + >=kde-apps/libkdcraw-${PVCUT}:5 + >=kde-apps/libkexiv2-${PVCUT}:5 + ) +" +RDEPEND="${DEPEND} + mobi? ( !<kde-apps/kdegraphics-mobipocket-21.12.50:5[thumbnail] ) +" + +src_configure() { + local mycmakeargs=( + -DDISABLE_MOBIPOCKET=$(usex !mobi) + $(cmake_use_find_package raw KF5KExiv2) + $(cmake_use_find_package raw KF5KDcraw) + ) + + ecm_src_configure +} |