aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-08-11 23:06:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-08-15 09:37:00 +0200
commitfb266614d8885555026df51191c92a8696e1bb8c (patch)
treef7eaf81620d373afaef717d0b325273e3ea2e046 /media-gfx
parentmedia-gfx/kio-raw-thumbnailer: new package, add 9999 (diff)
downloadkde-fb266614d8885555026df51191c92a8696e1bb8c.tar.gz
kde-fb266614d8885555026df51191c92a8696e1bb8c.tar.bz2
kde-fb266614d8885555026df51191c92a8696e1bb8c.zip
media-gfx/kio-ps-thumbnailer: new package, add 9999
Bug: https://bugs.gentoo.org/930337 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-9999.ebuild43
-rw-r--r--media-gfx/kio-ps-thumbnailer/metadata.xml12
2 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-9999.ebuild b/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-9999.ebuild
new file mode 100644
index 0000000000..29283dbef1
--- /dev/null
+++ b/media-gfx/kio-ps-thumbnailer/kio-ps-thumbnailer-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KDE_ORG_NAME="kdegraphics-thumbnailers"
+KFMIN=6.5.0
+QTMIN=6.7.2
+inherit ecm gear.kde.org
+
+DESCRIPTION="KIO thumbnail generator for DVI, EPS, PDF and PS files"
+HOMEPAGE="https://apps.kde.org/kdegraphics_thumbnailers/"
+
+LICENSE="GPL-2+"
+SLOT="6"
+KEYWORDS=""
+
+DEPEND="
+ >=dev-qt/qtbase-${QTMIN}:6[gui]
+ >=kde-frameworks/kio-${KFMIN}:6
+"
+RDEPEND="${DEPEND}
+ !<kde-apps/thumbnailers-24.05.2-r1:6
+ app-text/dvipsk
+ app-text/ghostscript-gpl
+"
+
+src_prepare() {
+ ecm_src_prepare
+ ecm_punt_kf_module Archive
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_blend=OFF
+ -DDISABLE_MOBIPOCKET=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_QMobipocket6=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_KExiv2Qt6=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_KDcrawQt6=ON
+ )
+
+ ecm_src_configure
+}
diff --git a/media-gfx/kio-ps-thumbnailer/metadata.xml b/media-gfx/kio-ps-thumbnailer/metadata.xml
new file mode 100644
index 0000000000..9d38b76b7d
--- /dev/null
+++ b/media-gfx/kio-ps-thumbnailer/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ <remote-id type="kde-invent">graphics/kdegraphics-thumbnailers</remote-id>
+ </upstream>
+</pkgmetadata>