[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2024-04-25 Thread Andreas Sturmlechner
commit: d8ce4edb1ecdf06e8edec549c18f0085e5b4430f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Apr 23 19:17:49 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Apr 25 20:40:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ce4edb

kde-misc/skanlite: drop 23.08.5

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/Manifest|  1 -
 kde-misc/skanlite/skanlite-23.08.5.ebuild | 35 ---
 2 files changed, 36 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 67e76bd5ebdd..8a534e916203 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1 @@
-DIST skanlite-23.08.5.tar.xz 2452072 BLAKE2B 
b492195519404268492fb8a44a431fb7e7a1aa493fe16ae71ab18e7068fd2e7ef9e51a6b6f9ee0223454e05d76ccfe134d3a5659efbe3dd6107a1fe3b3d92b0a
 SHA512 
f449d4be0d34c241fbe1b91d5adac4a55d2007af2bc05dc13fbe58c84506f0ac2d6714fb40376ecf5b223ff2b2e7a8d0d53c5c0c572ddc6a06b1ce6301acaa09
 DIST skanlite-24.02.2.tar.xz 2451520 BLAKE2B 
e5af2deb7f8f2ecc9fa0e92e27b2e65d1a1c2fd08b6cc76269bc7154fa7ca9d593445614f6ad64fb6c2c1e93447c778bc5f40934905d7c341912389a7c56f75a
 SHA512 
53e395d8f7199840393b6c5e427fa8989eebd9a6c9474e88c0e2c1428e7c858acf19ee32d6865f154ecba259f8a0b03da5e38f75122f36ea47efcbc92fd8bceb

diff --git a/kde-misc/skanlite/skanlite-23.08.5.ebuild 
b/kde-misc/skanlite/skanlite-23.08.5.ebuild
deleted file mode 100644
index 177b1ea5d963..
--- a/kde-misc/skanlite/skanlite-23.08.5.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_HANDBOOK="optional"
-ECM_TEST="true"
-KDE_ORG_CATEGORY="graphics"
-PVCUT=$(ver_cut 1-3)
-KFMIN=5.106.0
-QTMIN=5.15.9
-inherit ecm gear.kde.org
-
-DESCRIPTION="Simple image scanning application based on libksane and KDE 
Frameworks"
-HOMEPAGE="https://apps.kde.org/skanlite/;
-
-LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-SLOT="5"
-KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
-IUSE=""
-
-DEPEND="
-   >=dev-qt/qtgui-${QTMIN}:5
-   >=dev-qt/qtwidgets-${QTMIN}:5
-   >=kde-apps/libksane-${PVCUT}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/kjobwidgets-${KFMIN}:5
-   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-   >=kde-frameworks/kxmlgui-${KFMIN}:5
-"
-RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2024-04-23 Thread Arthur Zamarin
commit: 0beea97f0e4a52c921ead14b3c6ee14df0a8ff02
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 23 06:32:06 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 23 06:32:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0beea97f

kde-misc/skanlite: Stabilize 24.02.2 amd64, #930370

Signed-off-by: Arthur Zamarin  gentoo.org>

 kde-misc/skanlite/skanlite-24.02.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-24.02.2.ebuild 
b/kde-misc/skanlite/skanlite-24.02.2.ebuild
index 9198077e0d61..80bfb71fffae 100644
--- a/kde-misc/skanlite/skanlite-24.02.2.ebuild
+++ b/kde-misc/skanlite/skanlite-24.02.2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2024-04-23 Thread Arthur Zamarin
commit: f0364d439f78a71ffb7f015930e2a6555470b795
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 23 06:24:35 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 23 06:24:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0364d43

kde-misc/skanlite: Stabilize 24.02.2 x86, #930370

Signed-off-by: Arthur Zamarin  gentoo.org>

 kde-misc/skanlite/skanlite-24.02.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-24.02.2.ebuild 
b/kde-misc/skanlite/skanlite-24.02.2.ebuild
index 71eacfb4552d..9198077e0d61 100644
--- a/kde-misc/skanlite/skanlite-24.02.2.ebuild
+++ b/kde-misc/skanlite/skanlite-24.02.2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2024-04-22 Thread Arthur Zamarin
commit: 3c120654678d6ea4af68f779c023f98f48760358
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 23 05:25:52 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 23 05:26:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c120654

kde-misc/skanlite: Stabilize 24.02.2 arm64, #930370

Signed-off-by: Arthur Zamarin  gentoo.org>

 kde-misc/skanlite/skanlite-24.02.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-24.02.2.ebuild 
b/kde-misc/skanlite/skanlite-24.02.2.ebuild
index 557be243b41d..71eacfb4552d 100644
--- a/kde-misc/skanlite/skanlite-24.02.2.ebuild
+++ b/kde-misc/skanlite/skanlite-24.02.2.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2024-01-06 Thread Arthur Zamarin
commit: 9f568b06a399e9a46fd65d6c0b11a882ea7072de
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan  6 12:30:15 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan  6 12:30:15 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f568b06

kde-misc/skanlite: Stabilize 23.08.4 arm64, #920693

Signed-off-by: Arthur Zamarin  gentoo.org>

 kde-misc/skanlite/skanlite-23.08.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-23.08.4.ebuild 
b/kde-misc/skanlite/skanlite-23.08.4.ebuild
index 59e2044b787f..177b1ea5d963 100644
--- a/kde-misc/skanlite/skanlite-23.08.4.ebuild
+++ b/kde-misc/skanlite/skanlite-23.08.4.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2023-12-28 Thread Arthur Zamarin
commit: 8f828d203334b6c36c5f663e58c9f8475f43f7c4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Dec 29 07:04:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Dec 29 07:04:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f828d20

kde-misc/skanlite: Stabilize 23.08.4 x86, #920693

Signed-off-by: Arthur Zamarin  gentoo.org>

 kde-misc/skanlite/skanlite-23.08.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-23.08.4.ebuild 
b/kde-misc/skanlite/skanlite-23.08.4.ebuild
index b09261459e6f..6c49e4f01009 100644
--- a/kde-misc/skanlite/skanlite-23.08.4.ebuild
+++ b/kde-misc/skanlite/skanlite-23.08.4.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2021-11-29 Thread Andreas Sturmlechner
commit: c170228aa3d0cc331d247de18faddfd2346fb931
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Nov 29 14:02:08 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Nov 29 14:05:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c170228a

kde-misc/skanlite: Drop 2.2.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/Manifest  |  1 -
 kde-misc/skanlite/skanlite-2.2.0.ebuild | 35 -
 2 files changed, 36 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 8f35acba91f5..8f6dabeccf30 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1 @@
-DIST skanlite-2.2.0.tar.xz 2415104 BLAKE2B 
4ae5d909cdfdf55a552c11346ac689190aa67fd960e2af98ccc02cbf834ec6668e2926a5ab8a07ff6c4a4ef375dc1979250686c5ba05f1a94be4c59026f44f1a
 SHA512 
cbf4c85894c742f025147950f1586252b92e0b3ad9f51b917649c449d46387a4673141e7645cd7f0b005b4c50dd671f2217d35e64ac84e97afa7a6562a961b20
 DIST skanlite-21.08.3.tar.xz 2426200 BLAKE2B 
d1d2ff1b83e574b363069fde3e4561c1db106e4a3d352dce1a196e1a26f5ffcb04b7687ed14e4d7776afd9c896898bd9c22e577d3aaf2c1f37b19b4eb2771b3d
 SHA512 
c6df7adab636feb563d141e7dc30abde4673fdd95362487db94afe24ae70ef432a06534aaea3067cee7dd1409dd527455f3d4d8ab9a14ff0904dbf3a11d8fd64

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
deleted file mode 100644
index 87b9c1d91db3..
--- a/kde-misc/skanlite/skanlite-2.2.0.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="forceoptional"
-KFMIN=5.60.0
-QTMIN=5.12.3
-inherit ecm kde.org
-
-DESCRIPTION="Simple image scanning application based on libksane and KDE 
Frameworks"
-HOMEPAGE="https://apps.kde.org/skanlite/;
-SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE=""
-
-DEPEND="
-   >=dev-qt/qtgui-${QTMIN}:5
-   >=dev-qt/qtwidgets-${QTMIN}:5
-   >=kde-apps/libksane-19.04.0:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/kjobwidgets-${KFMIN}:5
-   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-   >=kde-frameworks/kxmlgui-${KFMIN}:5
-   media-libs/libpng:0=
-"
-RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2021-10-11 Thread Yixun Lan
commit: 27a0136d3265b4918e61c551e921ca266e86fd22
Author: Alex Fan  yahoo  com>
AuthorDate: Mon Oct 11 09:06:15 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Oct 11 14:01:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a0136d

kde-misc/skanlite: keyword 21.08.2 for ~riscv

Closes: https://github.com/gentoo/gentoo/pull/22555
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 kde-misc/skanlite/skanlite-21.08.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-21.08.2.ebuild 
b/kde-misc/skanlite/skanlite-21.08.2.ebuild
index 7ceef3e76dc..195f717e882 100644
--- a/kde-misc/skanlite/skanlite-21.08.2.ebuild
+++ b/kde-misc/skanlite/skanlite-21.08.2.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="https://apps.kde.org/skanlite/;
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2021-07-24 Thread Sam James
commit: bc992a48d8e29e8e1f9fb8edbb671e7e99a9ddc0
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 25 01:09:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 25 01:09:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc992a48

kde-misc/skanlite: Keyword 2.2.0 arm64, #802573

Signed-off-by: Sam James  gentoo.org>

 kde-misc/skanlite/skanlite-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
index bde95a63a24..87b9c1d91db 100644
--- a/kde-misc/skanlite/skanlite-2.2.0.ebuild
+++ b/kde-misc/skanlite/skanlite-2.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2021-07-17 Thread Georgy Yakovlev
commit: 2ebd692ab7ff7198e3433ad7cabee9bc83309c51
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 17 23:24:38 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 17 23:35:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebd692a

kde-misc/skanlite: keyword 2.2.0 for ~ppc64

Signed-off-by: Georgy Yakovlev  gentoo.org>

 kde-misc/skanlite/skanlite-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
index 14f66b6b3af..bde95a63a24 100644
--- a/kde-misc/skanlite/skanlite-2.2.0.ebuild
+++ b/kde-misc/skanlite/skanlite-2.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~ppc64 x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/, kde-misc/skanlite/files/

2020-08-01 Thread Andreas Sturmlechner
commit: 3d680c6ca69cc2acd7a4578c64087d6a93372ee9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jul 30 19:59:49 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Aug  1 07:36:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d680c6c

kde-misc/skanlite: Drop 2.1.0.1-r1

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/Manifest |  1 -
 .../skanlite/files/skanlite-2.1.0.1-cmake.patch| 97 --
 .../skanlite/files/skanlite-2.1.0.1-hidpi.patch| 67 ---
 kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild   | 40 -
 4 files changed, 205 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 5a47c9ad8d2..19b40567aff 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1 @@
-DIST skanlite-2.1.0.1.tar.xz 2151312 BLAKE2B 
c03ace256fd4159e36c7eb871f4f88a11142e36e427120560a09a0d0516f91450d350d4ae5db2004da6493d3a2a0aaaf5d45b4a688f3943cf92b76a71fb5f937
 SHA512 
8eb1a32994259010d4a134c1b25b74b8cc03ba4fa6ce70ee2026a3070c675c2b11f38770453d197008fbe12df976cc653362eb44d6ef89a7f0173c3a2cef3658
 DIST skanlite-2.2.0.tar.xz 2415104 BLAKE2B 
4ae5d909cdfdf55a552c11346ac689190aa67fd960e2af98ccc02cbf834ec6668e2926a5ab8a07ff6c4a4ef375dc1979250686c5ba05f1a94be4c59026f44f1a
 SHA512 
cbf4c85894c742f025147950f1586252b92e0b3ad9f51b917649c449d46387a4673141e7645cd7f0b005b4c50dd671f2217d35e64ac84e97afa7a6562a961b20

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch 
b/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch
deleted file mode 100644
index 7b7daae11ea..000
--- a/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From 7c155671b5ea1a7ed1244510e79e094fc6f8ff4e Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Mon, 2 Apr 2018 21:27:52 +0200
-Subject: [PATCH] Cleanup CMakeLists.txt
-
-Summary:
-Cleanup duplicate find Qt5 and move all below #Dependencies block.
-Sort dependencies.
-KF5Sane is not an actual framework, so separate it from KF5 modules.
-
-Make use of FeatureSummary
-
-Reviewers: sars
-
-Reviewed By: sars
-
-Subscribers: ltoscano
-
-Differential Revision: https://phabricator.kde.org/D11861

- CMakeLists.txt | 32 +++-
- 1 file changed, 15 insertions(+), 17 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 2c23351..6b326df 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,44 +17,40 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
- include(KDECMakeSettings)
- include(GenerateExportHeader)
- 
--find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
--
- # be not so strict with the poor developer who just wants to use strings
- remove_definitions(-DQT_NO_URL_CAST_FROM_STRING)
- remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
- 
--set(KF5_VERSION "5.1.0")
-+set(REQUIRED_QT_VERSION "5.2.0")
-+set(KF5_MIN_VERSION "5.1.0")
- 
- ecm_setup_version(
--  ${KF5_VERSION}
-+  ${KF5_MIN_VERSION}
-   VARIABLE_PREFIX SKANLITE
-   VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/skanlite_version.h"
-   PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/src/version.h.cmake"
- )
- 
-+set(SKANLITE_VERSION_STRING "2.1.0.1")
-+
-+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
-+
- # Dependencies
--set(REQUIRED_QT_VERSION "5.2.0")
-+find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
- 
--# Required Qt5 components to build this framework
--find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
- find_package(PNG REQUIRED)
--
- include_directories(${PNG_INCLUDE_DIRS})
- 
--set(SKANLITE_VERSION_STRING "2.1.0.1")
--
--configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
--
--find_package(KF5 ${KF5_VERSION} REQUIRED
--COMPONENTS # alias to find_package(KFGuiAddons ${KF5_VERSION} REQUIRED)
-+find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
- CoreAddons # KAboutData
-+DocTools # yields kdoctools_create_handbook
- I18n
--XmlGui # KAboutApplicationDialog
- KIO # contains the KIOWidgets which we use in target_link_libraries
--DocTools # yields kdoctools_create_handbook
--Sane # will find KF5Sane
-+XmlGui # KAboutApplicationDialog
- )
- 
-+find_package(KF5Sane ${KF5_MIN_VERSION} REQUIRED)
-+
- add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
- 
- # Subdirectories
-@@ -62,6 +58,8 @@ add_subdirectory(src)
- add_subdirectory(doc)
- add_subdirectory(autotests)
- add_subdirectory(tests)
-+
-+feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
- 
- find_package(KF5I18n CONFIG REQUIRED)
- ki18n_install(po)
--- 
-2.16.3
-

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0.1-hidpi.patch 

[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2020-07-30 Thread Agostino Sarubbo
commit: 2f18f183cf4c284729a2373011dacfcafd0f907f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 30 07:19:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 30 07:21:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f18f183

kde-misc/skanlite: x86 stable wrt bug #731966

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 kde-misc/skanlite/skanlite-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
index e486e19b44c..a79b4e6c1ea 100644
--- a/kde-misc/skanlite/skanlite-2.2.0.ebuild
+++ b/kde-misc/skanlite/skanlite-2.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2020-07-30 Thread Agostino Sarubbo
commit: cecc05ee4194219336535ef62221734928f97df6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 30 06:56:34 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 30 06:57:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecc05ee

kde-misc/skanlite: amd64 stable wrt bug #731966

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 kde-misc/skanlite/skanlite-2.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
index 15859aed72b..e486e19b44c 100644
--- a/kde-misc/skanlite/skanlite-2.2.0.ebuild
+++ b/kde-misc/skanlite/skanlite-2.2.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 SLOT="5"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2020-07-12 Thread Andreas Sturmlechner
commit: 9805929435e71b91a832d0f48cd7795fd1b46e1e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jul 12 20:48:29 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jul 12 23:07:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98059294

kde-misc/skanlite: 2.2.0 version bump

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/Manifest  |  1 +
 kde-misc/skanlite/skanlite-2.2.0.ebuild | 35 +
 2 files changed, 36 insertions(+)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index bccbb2c3116..5a47c9ad8d2 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1 +1,2 @@
 DIST skanlite-2.1.0.1.tar.xz 2151312 BLAKE2B 
c03ace256fd4159e36c7eb871f4f88a11142e36e427120560a09a0d0516f91450d350d4ae5db2004da6493d3a2a0aaaf5d45b4a688f3943cf92b76a71fb5f937
 SHA512 
8eb1a32994259010d4a134c1b25b74b8cc03ba4fa6ce70ee2026a3070c675c2b11f38770453d197008fbe12df976cc653362eb44d6ef89a7f0173c3a2cef3658
+DIST skanlite-2.2.0.tar.xz 2415104 BLAKE2B 
4ae5d909cdfdf55a552c11346ac689190aa67fd960e2af98ccc02cbf834ec6668e2926a5ab8a07ff6c4a4ef375dc1979250686c5ba05f1a94be4c59026f44f1a
 SHA512 
cbf4c85894c742f025147950f1586252b92e0b3ad9f51b917649c449d46387a4673141e7645cd7f0b005b4c50dd671f2217d35e64ac84e97afa7a6562a961b20

diff --git a/kde-misc/skanlite/skanlite-2.2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.2.0.ebuild
new file mode 100644
index 000..15859aed72b
--- /dev/null
+++ b/kde-misc/skanlite/skanlite-2.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
+
+DESCRIPTION="Simple image scanning application based on libksane and KDE 
Frameworks"
+HOMEPAGE="https://kde.org/applications/graphics/org.kde.skanlite;
+SRC_URI="mirror://kde/stable/${PN}/2.2/${P}.tar.xz"
+
+LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
+SLOT="5"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=kde-apps/libksane-19.04.0:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/kjobwidgets-${KFMIN}:5
+   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+   >=kde-frameworks/kxmlgui-${KFMIN}:5
+   media-libs/libpng:0=
+"
+RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2019-12-25 Thread Andreas Sturmlechner
commit: 6e8cea5deb4306fd2ef344c5d89aadc65dca40ac
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Dec 25 16:00:34 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Dec 25 16:01:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8cea5d

kde-misc/skanlite: Port to ecm.eclass and kde.org.eclass

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild | 35 +++-
 1 file changed, 19 insertions(+), 16 deletions(-)

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
index 2435c68972c..1a7a7c968a1 100644
--- a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
@@ -3,30 +3,33 @@
 
 EAPI=7
 
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="forceoptional"
-inherit kde5
+ECM_HANDBOOK="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.60.0
+QTMIN=5.12.3
+inherit ecm kde.org
 
-DESCRIPTION="KDE image scanning application"
-HOMEPAGE="https://kde.org/applications/graphics/skanlite;
+DESCRIPTION="Simple image scanning application based on libksane and KDE 
Frameworks"
+HOMEPAGE="https://kde.org/applications/graphics/org.kde.skanlite;
 SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
+SLOT="5"
 KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep kjobwidgets)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kxmlgui)
-   $(add_kdeapps_dep libksane)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtwidgets)
+   >=dev-qt/qtgui-${QTMIN}:5
+   >=dev-qt/qtwidgets-${QTMIN}:5
+   >=kde-apps/libksane-19.04.0:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/kjobwidgets-${KFMIN}:5
+   >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+   >=kde-frameworks/kxmlgui-${KFMIN}:5
media-libs/libpng:0=
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2019-08-12 Thread Andreas Sturmlechner
commit: 66dc59b3429c3e995491bc947bc68c1d25757613
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 12 06:09:28 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 12 06:16:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66dc59b3

kde-misc/skanlite: Drop 2.1.0.1 (r0)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 kde-misc/skanlite/skanlite-2.1.0.1.ebuild | 36 ---
 1 file changed, 36 deletions(-)

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1.ebuild
deleted file mode 100644
index 6c23b07d2c5..000
--- a/kde-misc/skanlite/skanlite-2.1.0.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_HANDBOOK="forceoptional"
-KDE_TEST="forceoptional"
-inherit kde5
-
-DESCRIPTION="KDE image scanning application"
-HOMEPAGE="https://www.kde.org/applications/graphics/skanlite;
-SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep kjobwidgets)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kxmlgui)
-   $(add_kdeapps_dep libksane)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtwidgets)
-   media-libs/libpng:0=
-"
-RDEPEND="${DEPEND}
-   !kde-misc/skanlite:4
-"
-
-PATCHES=( "${FILESDIR}/${P}-cmake.patch" )



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2019-08-11 Thread Thomas Deutschmann
commit: bf8b5ad6f0bd98eb52e3713c9c4ffd6ff1eda84d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 11 20:49:50 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 11 21:28:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8b5ad6

kde-misc/skanlite: x86 stable (bug #690302)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
index 12f3dd80cec..2435c68972c 100644
--- a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/graphics/skanlite;
 SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2019-07-22 Thread Mikle Kolyada
commit: ae02c9af9e0b2806498e96aa9c5423683e98be57
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 22 08:48:13 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 22 08:48:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae02c9af

kde-misc/skanlite: amd64 stable wrt bug #690302

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
index dec84c60dfe..12f3dd80cec 100644
--- a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/graphics/skanlite;
 SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/, kde-misc/skanlite/files/

2019-07-15 Thread Andreas Sturmlechner
commit: bdf9052b496d97f1e0d6f882dfa7fcf160397d70
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 15 19:49:34 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 15 20:51:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdf9052b

kde-misc/skanlite: EAPI-7 bump, HiDPI fix

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../skanlite/files/skanlite-2.1.0.1-hidpi.patch| 67 ++
 kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild   | 37 
 2 files changed, 104 insertions(+)

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0.1-hidpi.patch 
b/kde-misc/skanlite/files/skanlite-2.1.0.1-hidpi.patch
new file mode 100644
index 000..563f5950063
--- /dev/null
+++ b/kde-misc/skanlite/files/skanlite-2.1.0.1-hidpi.patch
@@ -0,0 +1,67 @@
+From cb382f87d63bdc3736696ee289875bde2ecee9e5 Mon Sep 17 00:00:00 2001
+From: Alexander Volkov 
+Date: Thu, 25 Apr 2019 18:09:59 +0300
+Subject: Add HiDPI support
+
+Reviewers: sars, davidedmundson, ngraham
+
+Reviewed By: sars
+
+Differential Revision: https://phabricator.kde.org/D20821
+---
+ src/ImageViewer.cpp | 14 +++---
+ src/main.cpp|  1 +
+ 2 files changed, 12 insertions(+), 3 deletions(-)
+
+diff --git a/src/ImageViewer.cpp b/src/ImageViewer.cpp
+index 09f9b3d..5cf1439 100644
+--- a/src/ImageViewer.cpp
 b/src/ImageViewer.cpp
+@@ -87,14 +87,19 @@ void ImageViewer::setQImage(QImage *img)
+ }
+ 
+ d->img = img;
+-d->scene->setSceneRect(0, 0, img->width(), img->height());
++const auto dpr = devicePixelRatioF();
++d->img->setDevicePixelRatio(dpr);
++d->scene->setSceneRect(0, 0, img->width() / dpr, img->height() / dpr);
+ }
+ 
+ // 
+ void ImageViewer::drawBackground(QPainter *painter, const QRectF )
+ {
+ painter->fillRect(rect, QColor(0x70, 0x70, 0x70));
+-painter->drawImage(rect, *d->img, rect);
++QRectF r = rect & sceneRect();
++const auto dpr = d->img->devicePixelRatio();
++QRectF srcRect = QRectF(r.topLeft() * dpr, r.size() * dpr);
++painter->drawImage(r, *d->img, srcRect);
+ }
+ 
+ // 
+@@ -118,7 +123,10 @@ void ImageViewer::zoomActualSize()
+ // 
+ void ImageViewer::zoom2Fit()
+ {
+-fitInView(d->img->rect(), Qt::KeepAspectRatio);
++QRectF r = d->img->rect();
++const auto dpr = d->img->devicePixelRatio();
++r = QRectF(r.topLeft() / dpr, r.size() / dpr);
++fitInView(r, Qt::KeepAspectRatio);
+ }
+ 
+ // 
+diff --git a/src/main.cpp b/src/main.cpp
+index aa704be..ae0d9b6 100644
+--- a/src/main.cpp
 b/src/main.cpp
+@@ -34,6 +34,7 @@
+ 
+ int main(int argc, char *argv[])
+ {
++QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
+ QApplication app(argc, argv);
+ 
+ Kdelibs4ConfigMigrator migrate(QLatin1String("Skanlite"));
+-- 
+cgit v1.1

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
new file mode 100644
index 000..dec84c60dfe
--- /dev/null
+++ b/kde-misc/skanlite/skanlite-2.1.0.1-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="KDE image scanning application"
+HOMEPAGE="https://kde.org/applications/graphics/skanlite;
+SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
+
+LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep kjobwidgets)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kxmlgui)
+   $(add_kdeapps_dep libksane)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtwidgets)
+   media-libs/libpng:0=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-cmake.patch"
+   "${FILESDIR}/${P}-hidpi.patch"
+)



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2018-06-07 Thread Andreas Sturmlechner
commit: 8190212bea9b2745b468d05076b7aadcbda837c4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jun  7 10:34:03 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jun  7 10:48:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8190212b

kde-misc/skanlite: Drop 2.0.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 kde-misc/skanlite/Manifest  |  1 -
 kde-misc/skanlite/skanlite-2.0.1.ebuild | 41 -
 2 files changed, 42 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 1cd9330cd6c..bccbb2c3116 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1 @@
-DIST skanlite-2.0.1.tar.xz 2139624 BLAKE2B 
f6959650e6e59899e24f20214b2e94b0f4c004982e2ff961384c4a07e13305c6f839f679759db088c16ab879b499eb700edb5f7d8d65056ddd155c3a55f5365b
 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
 DIST skanlite-2.1.0.1.tar.xz 2151312 BLAKE2B 
c03ace256fd4159e36c7eb871f4f88a11142e36e427120560a09a0d0516f91450d350d4ae5db2004da6493d3a2a0aaaf5d45b4a688f3943cf92b76a71fb5f937
 SHA512 
8eb1a32994259010d4a134c1b25b74b8cc03ba4fa6ce70ee2026a3070c675c2b11f38770453d197008fbe12df976cc653362eb44d6ef89a7f0173c3a2cef3658

diff --git a/kde-misc/skanlite/skanlite-2.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.0.1.ebuild
deleted file mode 100644
index 1d3bed58d36..000
--- a/kde-misc/skanlite/skanlite-2.0.1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_HANDBOOK="true"
-inherit kde5
-
-DESCRIPTION="KDE image scanning application"
-HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
-SRC_URI="mirror://kde/stable/${PN}/2.0/${P}.tar.xz"
-
-LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep kjobwidgets)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kxmlgui)
-   $(add_kdeapps_dep libksane)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtwidgets)
-   media-libs/libpng:0=
-"
-RDEPEND="${DEPEND}
-   !kde-misc/skanlite:4
-"
-
-src_prepare() {
-   kde5_src_prepare
-   cmake_comment_add_subdirectory autotests
-   cmake_comment_add_subdirectory tests
-   sed -i -e "/TextWidgets/d" CMakeLists.txt || die
-   use handbook || sed -i -e "/DocTools/d" CMakeLists.txt || die
-}



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2018-06-06 Thread Thomas Deutschmann
commit: f654f7a6e746fb118d7943801dcb0949f3364a7e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Jun  6 23:05:25 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jun  6 23:22:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f654f7a6

kde-misc/skanlite: x86 stable (bug #657010)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 kde-misc/skanlite/skanlite-2.1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.1.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.1.0.1.ebuild
index c0883592a57..5836770d366 100644
--- a/kde-misc/skanlite/skanlite-2.1.0.1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.1.0.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.kde.org/applications/graphics/skanlite;
 SRC_URI="mirror://kde/stable/${PN}/2.1/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/files/, kde-misc/skanlite/

2018-04-02 Thread Andreas Sturmlechner
commit: cf91f215ac2b6e5f9ca768c667da41fe2a6994af
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Apr  2 19:36:47 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Apr  2 20:26:33 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf91f215

kde-misc/skanlite: Drop 2.1.0

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 kde-misc/skanlite/Manifest |   1 -
 kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch | 100 -
 kde-misc/skanlite/skanlite-2.1.0.ebuild|  36 
 3 files changed, 137 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 5c50cf0bea3..1cd9330cd6c 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,3 +1,2 @@
 DIST skanlite-2.0.1.tar.xz 2139624 BLAKE2B 
f6959650e6e59899e24f20214b2e94b0f4c004982e2ff961384c4a07e13305c6f839f679759db088c16ab879b499eb700edb5f7d8d65056ddd155c3a55f5365b
 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
 DIST skanlite-2.1.0.1.tar.xz 2151312 BLAKE2B 
c03ace256fd4159e36c7eb871f4f88a11142e36e427120560a09a0d0516f91450d350d4ae5db2004da6493d3a2a0aaaf5d45b4a688f3943cf92b76a71fb5f937
 SHA512 
8eb1a32994259010d4a134c1b25b74b8cc03ba4fa6ce70ee2026a3070c675c2b11f38770453d197008fbe12df976cc653362eb44d6ef89a7f0173c3a2cef3658
-DIST skanlite-2.1.0.tar.xz 1121468 BLAKE2B 
8fd9bc7018e812203023a7e2906eb724e01baca70db08633f49e08de687738390a87d5c27526c084601d76f3cf272998818ad102d3dcd47518fab2fa47f6
 SHA512 
b346998f37def6b99c2feba7b323dbcb299c2bb0553598f83a30f8e7a04af1deaf60e7f5c70c4b663e0aecf95e7ee03252a15ef61745e6bc7d1c5a9d617aec00

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch 
b/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch
deleted file mode 100644
index fe5600c8c9a..000
--- a/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From ac188879ebf7cab5631213305f289bec4ab25613 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Sun, 1 Apr 2018 13:36:48 +0200
-Subject: [PATCH 1/2] Cleanup CMakeLists.txt
-
-Cleanup duplicate find Qt5 and move all below #Dependencies block.
-Sort dependencies.
-KF5Sane is not an actual framework, so separate it from KF5 modules.

- CMakeLists.txt | 30 +-
- 1 file changed, 13 insertions(+), 17 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d05fb37..6aacfb9 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -17,44 +17,40 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
- include(KDECMakeSettings)
- include(GenerateExportHeader)
- 
--find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
--
- # be not so strict with the poor developer who just wants to use strings
- remove_definitions(-DQT_NO_URL_CAST_FROM_STRING)
- remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
- 
--set(KF5_VERSION "5.1.0")
-+set(REQUIRED_QT_VERSION "5.2.0")
-+set(KF5_MIN_VERSION "5.1.0")
- 
- ecm_setup_version(
--  ${KF5_VERSION}
-+  ${KF5_MIN_VERSION}
-   VARIABLE_PREFIX SKANLITE
-   VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/skanlite_version.h"
-   PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/src/version.h.cmake"
- )
- 
-+set(SKANLITE_VERSION_STRING "2.1.0")
-+
-+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
-+
- # Dependencies
--set(REQUIRED_QT_VERSION "5.2.0")
-+find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
- 
--# Required Qt5 components to build this framework
--find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
- find_package(PNG REQUIRED)
--
- include_directories(${PNG_INCLUDE_DIRS})
- 
--set(SKANLITE_VERSION_STRING "2.1.0")
--
--configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
--
--find_package(KF5 ${KF5_VERSION} REQUIRED
--COMPONENTS # alias to find_package(KFGuiAddons ${KF5_VERSION} REQUIRED)
-+find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
- CoreAddons # KAboutData
-+DocTools # yields kdoctools_create_handbook
- I18n
--XmlGui # KAboutApplicationDialog
- KIO # contains the KIOWidgets which we use in target_link_libraries
--DocTools # yields kdoctools_create_handbook
--Sane # will find KF5Sane
-+XmlGui # KAboutApplicationDialog
- )
- 
-+find_package(KF5Sane ${KF5_MIN_VERSION} REQUIRED)
-+
- add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
- 
- # Subdirectories
--- 
-2.16.3
-
-
-From 8bcc7e4fb701d2e95b8024df86830b9eeb6c97de Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner 
-Date: Sun, 1 Apr 2018 13:50:34 +0200
-Subject: [PATCH 2/2] Make use of FeatureSummary
-

- CMakeLists.txt | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/CMakeLists.txt 

[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/, kde-misc/skanlite/files/

2018-04-02 Thread Andreas Sturmlechner
commit: 75a167ae1971db9087e46b165ef7ba196b34413e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Apr  2 19:36:27 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Apr  2 20:26:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a167ae

kde-misc/skanlite: 2.1.0.1 version bump

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 kde-misc/skanlite/Manifest |  1 +
 .../skanlite/files/skanlite-2.1.0.1-cmake.patch| 97 ++
 kde-misc/skanlite/skanlite-2.1.0.1.ebuild  | 36 
 3 files changed, 134 insertions(+)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 8ce37d19c56..5c50cf0bea3 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1,3 @@
 DIST skanlite-2.0.1.tar.xz 2139624 BLAKE2B 
f6959650e6e59899e24f20214b2e94b0f4c004982e2ff961384c4a07e13305c6f839f679759db088c16ab879b499eb700edb5f7d8d65056ddd155c3a55f5365b
 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
+DIST skanlite-2.1.0.1.tar.xz 2151312 BLAKE2B 
c03ace256fd4159e36c7eb871f4f88a11142e36e427120560a09a0d0516f91450d350d4ae5db2004da6493d3a2a0aaaf5d45b4a688f3943cf92b76a71fb5f937
 SHA512 
8eb1a32994259010d4a134c1b25b74b8cc03ba4fa6ce70ee2026a3070c675c2b11f38770453d197008fbe12df976cc653362eb44d6ef89a7f0173c3a2cef3658
 DIST skanlite-2.1.0.tar.xz 1121468 BLAKE2B 
8fd9bc7018e812203023a7e2906eb724e01baca70db08633f49e08de687738390a87d5c27526c084601d76f3cf272998818ad102d3dcd47518fab2fa47f6
 SHA512 
b346998f37def6b99c2feba7b323dbcb299c2bb0553598f83a30f8e7a04af1deaf60e7f5c70c4b663e0aecf95e7ee03252a15ef61745e6bc7d1c5a9d617aec00

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch 
b/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch
new file mode 100644
index 000..7b7daae11ea
--- /dev/null
+++ b/kde-misc/skanlite/files/skanlite-2.1.0.1-cmake.patch
@@ -0,0 +1,97 @@
+From 7c155671b5ea1a7ed1244510e79e094fc6f8ff4e Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Mon, 2 Apr 2018 21:27:52 +0200
+Subject: [PATCH] Cleanup CMakeLists.txt
+
+Summary:
+Cleanup duplicate find Qt5 and move all below #Dependencies block.
+Sort dependencies.
+KF5Sane is not an actual framework, so separate it from KF5 modules.
+
+Make use of FeatureSummary
+
+Reviewers: sars
+
+Reviewed By: sars
+
+Subscribers: ltoscano
+
+Differential Revision: https://phabricator.kde.org/D11861
+---
+ CMakeLists.txt | 32 +++-
+ 1 file changed, 15 insertions(+), 17 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2c23351..6b326df 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -17,44 +17,40 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
+ include(KDECMakeSettings)
+ include(GenerateExportHeader)
+ 
+-find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
+-
+ # be not so strict with the poor developer who just wants to use strings
+ remove_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
+ 
+-set(KF5_VERSION "5.1.0")
++set(REQUIRED_QT_VERSION "5.2.0")
++set(KF5_MIN_VERSION "5.1.0")
+ 
+ ecm_setup_version(
+-  ${KF5_VERSION}
++  ${KF5_MIN_VERSION}
+   VARIABLE_PREFIX SKANLITE
+   VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/skanlite_version.h"
+   PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/src/version.h.cmake"
+ )
+ 
++set(SKANLITE_VERSION_STRING "2.1.0.1")
++
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
++
+ # Dependencies
+-set(REQUIRED_QT_VERSION "5.2.0")
++find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
+ 
+-# Required Qt5 components to build this framework
+-find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
+ find_package(PNG REQUIRED)
+-
+ include_directories(${PNG_INCLUDE_DIRS})
+ 
+-set(SKANLITE_VERSION_STRING "2.1.0.1")
+-
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
+-
+-find_package(KF5 ${KF5_VERSION} REQUIRED
+-COMPONENTS # alias to find_package(KFGuiAddons ${KF5_VERSION} REQUIRED)
++find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+ CoreAddons # KAboutData
++DocTools # yields kdoctools_create_handbook
+ I18n
+-XmlGui # KAboutApplicationDialog
+ KIO # contains the KIOWidgets which we use in target_link_libraries
+-DocTools # yields kdoctools_create_handbook
+-Sane # will find KF5Sane
++XmlGui # KAboutApplicationDialog
+ )
+ 
++find_package(KF5Sane ${KF5_MIN_VERSION} REQUIRED)
++
+ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+ 
+ # Subdirectories
+@@ -62,6 +58,8 @@ add_subdirectory(src)
+ add_subdirectory(doc)
+ add_subdirectory(autotests)
+ add_subdirectory(tests)
++
++feature_summary(WHAT ALL 

[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/, kde-misc/skanlite/files/

2018-04-01 Thread Andreas Sturmlechner
commit: 127dd59ae62037ba8e151fef043a41cef32621a4
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Apr  1 12:35:48 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr  1 17:34:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=127dd59a

kde-misc/skanlite: 2.1.0 version bump

Package-Manager: Portage-2.3.27, Repoman-2.3.9

 kde-misc/skanlite/Manifest |   1 +
 kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch | 100 +
 kde-misc/skanlite/skanlite-2.1.0.ebuild|  36 
 3 files changed, 137 insertions(+)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index a4cb090a97c..8ce37d19c56 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1 +1,2 @@
 DIST skanlite-2.0.1.tar.xz 2139624 BLAKE2B 
f6959650e6e59899e24f20214b2e94b0f4c004982e2ff961384c4a07e13305c6f839f679759db088c16ab879b499eb700edb5f7d8d65056ddd155c3a55f5365b
 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
+DIST skanlite-2.1.0.tar.xz 1121468 BLAKE2B 
8fd9bc7018e812203023a7e2906eb724e01baca70db08633f49e08de687738390a87d5c27526c084601d76f3cf272998818ad102d3dcd47518fab2fa47f6
 SHA512 
b346998f37def6b99c2feba7b323dbcb299c2bb0553598f83a30f8e7a04af1deaf60e7f5c70c4b663e0aecf95e7ee03252a15ef61745e6bc7d1c5a9d617aec00

diff --git a/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch 
b/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch
new file mode 100644
index 000..fe5600c8c9a
--- /dev/null
+++ b/kde-misc/skanlite/files/skanlite-2.1.0-cmake.patch
@@ -0,0 +1,100 @@
+From ac188879ebf7cab5631213305f289bec4ab25613 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Sun, 1 Apr 2018 13:36:48 +0200
+Subject: [PATCH 1/2] Cleanup CMakeLists.txt
+
+Cleanup duplicate find Qt5 and move all below #Dependencies block.
+Sort dependencies.
+KF5Sane is not an actual framework, so separate it from KF5 modules.
+---
+ CMakeLists.txt | 30 +-
+ 1 file changed, 13 insertions(+), 17 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d05fb37..6aacfb9 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -17,44 +17,40 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
+ include(KDECMakeSettings)
+ include(GenerateExportHeader)
+ 
+-find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
+-
+ # be not so strict with the poor developer who just wants to use strings
+ remove_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+ remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY)
+ 
+-set(KF5_VERSION "5.1.0")
++set(REQUIRED_QT_VERSION "5.2.0")
++set(KF5_MIN_VERSION "5.1.0")
+ 
+ ecm_setup_version(
+-  ${KF5_VERSION}
++  ${KF5_MIN_VERSION}
+   VARIABLE_PREFIX SKANLITE
+   VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/skanlite_version.h"
+   PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/src/version.h.cmake"
+ )
+ 
++set(SKANLITE_VERSION_STRING "2.1.0")
++
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
++
+ # Dependencies
+-set(REQUIRED_QT_VERSION "5.2.0")
++find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core Widgets)
+ 
+-# Required Qt5 components to build this framework
+-find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED Core)
+ find_package(PNG REQUIRED)
+-
+ include_directories(${PNG_INCLUDE_DIRS})
+ 
+-set(SKANLITE_VERSION_STRING "2.1.0")
+-
+-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/src/version.h.cmake 
${CMAKE_CURRENT_BINARY_DIR}/src/version.h)
+-
+-find_package(KF5 ${KF5_VERSION} REQUIRED
+-COMPONENTS # alias to find_package(KFGuiAddons ${KF5_VERSION} REQUIRED)
++find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
+ CoreAddons # KAboutData
++DocTools # yields kdoctools_create_handbook
+ I18n
+-XmlGui # KAboutApplicationDialog
+ KIO # contains the KIOWidgets which we use in target_link_libraries
+-DocTools # yields kdoctools_create_handbook
+-Sane # will find KF5Sane
++XmlGui # KAboutApplicationDialog
+ )
+ 
++find_package(KF5Sane ${KF5_MIN_VERSION} REQUIRED)
++
+ add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+ 
+ # Subdirectories
+-- 
+2.16.3
+
+
+From 8bcc7e4fb701d2e95b8024df86830b9eeb6c97de Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Sun, 1 Apr 2018 13:50:34 +0200
+Subject: [PATCH 2/2] Make use of FeatureSummary
+
+---
+ CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6aacfb9..1736bff 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -58,3 +58,5 @@ add_subdirectory(src)
+ add_subdirectory(doc)
+ add_subdirectory(autotests)
+ add_subdirectory(tests)
++
++feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+-- 
+2.16.3
+

diff --git 

[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-12-29 Thread Johannes Huber
commit: 855e17066ee978c0fae0b3ee81cb1f78bb478821
Author: Johannes Huber  gentoo  org>
AuthorDate: Thu Dec 29 17:56:05 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Dec 29 17:56:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855e1706

kde-misc/skanlite: Drop slot 4

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 kde-misc/skanlite/Manifest   |  1 -
 kde-misc/skanlite/skanlite-1.1-r1.ebuild | 27 ---
 2 files changed, 28 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 98ddbea..3188697 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1 @@
-DIST skanlite-1.1.tar.xz 2513692 SHA256 
657cece15bbb6966fefd2de91504d421d12e662560c1b30514e060847b9eea26 SHA512 
f44dc964e7a64600c451915a280341d4304a4fb71b66cb264f03663a5e083a0b2e352cabe58402f812402ad13d0d9565d42765c02f568da295e585e77661abfc
 WHIRLPOOL 
d04ff32afaa353476de3d863a77412045101ab387479c763130d38d583b6ca837b7141461c18f8e33692d1cdce69015c375703819d03839ffd5054e37a39ace0
 DIST skanlite-2.0.1.tar.xz 2139624 SHA256 
3b4541136e9dc61c1fbd9582d11e8cf749317ff89d357b876370be2400da0236 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
 WHIRLPOOL 
4b0dc650610144688e614ffebe79b1f942d92601c4fef9e827f80dc2e367d15ff3c797409d9052c4c5cdc6a6a26393ef76e1756fc10591a4dcb239db6e1a9cdf

diff --git a/kde-misc/skanlite/skanlite-1.1-r1.ebuild 
b/kde-misc/skanlite/skanlite-1.1-r1.ebuild
deleted file mode 100644
index 47e2dac..
--- a/kde-misc/skanlite/skanlite-1.1-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KDE_LINGUAS="be bs ca ca@valencia cs da de el en_GB eo es et eu fi fr ga gl hr
-hu ia is it ja km ko lt lv mai mr nb nds nl nn pa pl pt pt_BR ro ru sk sl sq sv
-tr ug uk wa zh_CN zh_TW"
-KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
-KDE_HANDBOOK="optional"
-inherit kde4-base
-
-DESCRIPTION="KDE image scanning application"
-HOMEPAGE="https://www.kde.org/applications/graphics/skanlite/;
-SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="4"
-KEYWORDS="amd64 x86"
-IUSE="debug"
-
-RDEPEND="
-   $(add_kdeapps_dep libksane)
-   media-libs/libpng:0="
-DEPEND="${RDEPEND}
-   sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-12-26 Thread Aaron Bauman
commit: 7e56fe94ab418c6116a6cdb774f2816570a4e049
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Dec 26 11:02:19 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Dec 26 11:02:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e56fe94

kde-misc/skanlite: amd64 stable wrt bug #596814

 kde-misc/skanlite/skanlite-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.0.1.ebuild
index 9ef9da9..c0594bd 100644
--- a/kde-misc/skanlite/skanlite-2.0.1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.0.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
 SRC_URI="mirror://kde/stable/${PN}/2.0/${P}.tar.xz"
 
 LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-12-22 Thread Johannes Huber
commit: 32879f00680988baea43918290380ec3468472b7
Author: Johannes Huber  gentoo  org>
AuthorDate: Thu Dec 22 08:49:00 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Thu Dec 22 08:49:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32879f00

kde-misc/skanlite: Remove 2.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 kde-misc/skanlite/Manifest|  1 -
 kde-misc/skanlite/skanlite-2.0.ebuild | 33 -
 2 files changed, 34 deletions(-)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 8beb832..98ddbea 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,3 +1,2 @@
 DIST skanlite-1.1.tar.xz 2513692 SHA256 
657cece15bbb6966fefd2de91504d421d12e662560c1b30514e060847b9eea26 SHA512 
f44dc964e7a64600c451915a280341d4304a4fb71b66cb264f03663a5e083a0b2e352cabe58402f812402ad13d0d9565d42765c02f568da295e585e77661abfc
 WHIRLPOOL 
d04ff32afaa353476de3d863a77412045101ab387479c763130d38d583b6ca837b7141461c18f8e33692d1cdce69015c375703819d03839ffd5054e37a39ace0
 DIST skanlite-2.0.1.tar.xz 2139624 SHA256 
3b4541136e9dc61c1fbd9582d11e8cf749317ff89d357b876370be2400da0236 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
 WHIRLPOOL 
4b0dc650610144688e614ffebe79b1f942d92601c4fef9e827f80dc2e367d15ff3c797409d9052c4c5cdc6a6a26393ef76e1756fc10591a4dcb239db6e1a9cdf
-DIST skanlite-2.0.tar.xz 2531916 SHA256 
ac001be079521de38e0fb72e42cb3750b41451d1df8f85e6af73affa5418aec8 SHA512 
1c7f65de94309dd9120b7d6002df7b919f5908eaad1ab8de20f3116e27b88328fb8e65bbcef855b10d15d5b50f548ee522fd5c67466fa5d22350ed16402489ac
 WHIRLPOOL 
603dd3df008798c062b4442efad74d8d9ab754ac6ec3ac3a4d9d9fc376170d7a68c2506a544407097033d3349af4b6756f0342160d70a6b9825ebdd3352b2f34

diff --git a/kde-misc/skanlite/skanlite-2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.0.ebuild
deleted file mode 100644
index 021e61f..
--- a/kde-misc/skanlite/skanlite-2.0.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-inherit kde5
-
-DESCRIPTION="KDE image scanning application"
-HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
-SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kconfigwidgets)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep kjobwidgets)
-   $(add_frameworks_dep kwidgetsaddons)
-   $(add_frameworks_dep kxmlgui)
-   $(add_kdeapps_dep libksane)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtwidgets)
-   media-libs/libpng:0=
-"
-RDEPEND="${DEPEND}
-   !kde-misc/skanlite:4
-"



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-11-02 Thread Michael Palimaka
commit: bd232e36c0d761bf7d8801343a8648db85f7acfe
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Nov  2 18:25:23 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Nov  2 18:25:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd232e36

kde-misc/skanlite: improve LICENSE

Package-Manager: portage-2.3.2

 kde-misc/skanlite/skanlite-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kde-misc/skanlite/skanlite-2.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.0.1.ebuild
index 227dd5e..9ef9da9 100644
--- a/kde-misc/skanlite/skanlite-2.0.1.ebuild
+++ b/kde-misc/skanlite/skanlite-2.0.1.ebuild
@@ -11,7 +11,7 @@ DESCRIPTION="KDE image scanning application"
 HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
 SRC_URI="mirror://kde/stable/${PN}/2.0/${P}.tar.xz"
 
-LICENSE="GPL-2"
+LICENSE="|| ( GPL-2 GPL-3 ) handbook? ( FDL-1.2+ )"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-11-02 Thread Michael Palimaka
commit: a3065e784d6aed06283c0cf944982ccf3f85afef
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Nov  2 18:18:03 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Nov  2 18:18:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3065e78

kde-misc/skanlite: metadata whitespace

Package-Manager: portage-2.3.2

 kde-misc/skanlite/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kde-misc/skanlite/metadata.xml b/kde-misc/skanlite/metadata.xml
index 0cf5922..2fdbf33 100644
--- a/kde-misc/skanlite/metadata.xml
+++ b/kde-misc/skanlite/metadata.xml
@@ -1,8 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   k...@gentoo.org
-   Gentoo KDE Project
-
+   
+   k...@gentoo.org
+   Gentoo KDE Project
+   
 



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-11-02 Thread Michael Palimaka
commit: 6337fe529887173538e1c4bd9be059ddf505c195
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Nov  2 18:17:46 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Nov  2 18:18:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6337fe52

kde-misc/skanlite: version bump

Package-Manager: portage-2.3.2

 kde-misc/skanlite/Manifest  |  1 +
 kde-misc/skanlite/skanlite-2.0.1.ebuild | 42 +
 2 files changed, 43 insertions(+)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index cc7c440..8beb832 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1,2 +1,3 @@
 DIST skanlite-1.1.tar.xz 2513692 SHA256 
657cece15bbb6966fefd2de91504d421d12e662560c1b30514e060847b9eea26 SHA512 
f44dc964e7a64600c451915a280341d4304a4fb71b66cb264f03663a5e083a0b2e352cabe58402f812402ad13d0d9565d42765c02f568da295e585e77661abfc
 WHIRLPOOL 
d04ff32afaa353476de3d863a77412045101ab387479c763130d38d583b6ca837b7141461c18f8e33692d1cdce69015c375703819d03839ffd5054e37a39ace0
+DIST skanlite-2.0.1.tar.xz 2139624 SHA256 
3b4541136e9dc61c1fbd9582d11e8cf749317ff89d357b876370be2400da0236 SHA512 
2dc29f3aeca32a7afb515ae9349fab7ef635de731718b53ceaf532cbd3860fbb07bd936fd2988b6dddb74109775e22752ffd05a0a3d0218b9c8ae393af52b14e
 WHIRLPOOL 
4b0dc650610144688e614ffebe79b1f942d92601c4fef9e827f80dc2e367d15ff3c797409d9052c4c5cdc6a6a26393ef76e1756fc10591a4dcb239db6e1a9cdf
 DIST skanlite-2.0.tar.xz 2531916 SHA256 
ac001be079521de38e0fb72e42cb3750b41451d1df8f85e6af73affa5418aec8 SHA512 
1c7f65de94309dd9120b7d6002df7b919f5908eaad1ab8de20f3116e27b88328fb8e65bbcef855b10d15d5b50f548ee522fd5c67466fa5d22350ed16402489ac
 WHIRLPOOL 
603dd3df008798c062b4442efad74d8d9ab754ac6ec3ac3a4d9d9fc376170d7a68c2506a544407097033d3349af4b6756f0342160d70a6b9825ebdd3352b2f34

diff --git a/kde-misc/skanlite/skanlite-2.0.1.ebuild 
b/kde-misc/skanlite/skanlite-2.0.1.ebuild
new file mode 100644
index ..227dd5e
--- /dev/null
+++ b/kde-misc/skanlite/skanlite-2.0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="true"
+inherit kde5
+
+DESCRIPTION="KDE image scanning application"
+HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
+SRC_URI="mirror://kde/stable/${PN}/2.0/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep kjobwidgets)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kxmlgui)
+   $(add_kdeapps_dep libksane)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtwidgets)
+   media-libs/libpng:0=
+"
+RDEPEND="${DEPEND}
+   !kde-misc/skanlite:4
+"
+
+src_prepare() {
+   kde5_src_prepare
+   cmake_comment_add_subdirectory autotests
+   cmake_comment_add_subdirectory tests
+   sed -i -e "/TextWidgets/d" CMakeLists.txt || die
+   use handbook || sed -i -e "/DocTools/d" CMakeLists.txt || die
+}



[gentoo-commits] repo/gentoo:master commit in: kde-misc/skanlite/

2016-03-25 Thread Johannes Huber
commit: 5ab1d8e2c5b40e881df416d058040b4e8f92254a
Author: Johannes Huber  gentoo  org>
AuthorDate: Fri Mar 25 21:02:09 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Fri Mar 25 21:03:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab1d8e2

kde-misc/skanlite: Version bump 2.0

Package-Manager: portage-2.2.28

 kde-misc/skanlite/Manifest|  1 +
 kde-misc/skanlite/skanlite-2.0.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/kde-misc/skanlite/Manifest b/kde-misc/skanlite/Manifest
index 341feaa..cc7c440 100644
--- a/kde-misc/skanlite/Manifest
+++ b/kde-misc/skanlite/Manifest
@@ -1 +1,2 @@
 DIST skanlite-1.1.tar.xz 2513692 SHA256 
657cece15bbb6966fefd2de91504d421d12e662560c1b30514e060847b9eea26 SHA512 
f44dc964e7a64600c451915a280341d4304a4fb71b66cb264f03663a5e083a0b2e352cabe58402f812402ad13d0d9565d42765c02f568da295e585e77661abfc
 WHIRLPOOL 
d04ff32afaa353476de3d863a77412045101ab387479c763130d38d583b6ca837b7141461c18f8e33692d1cdce69015c375703819d03839ffd5054e37a39ace0
+DIST skanlite-2.0.tar.xz 2531916 SHA256 
ac001be079521de38e0fb72e42cb3750b41451d1df8f85e6af73affa5418aec8 SHA512 
1c7f65de94309dd9120b7d6002df7b919f5908eaad1ab8de20f3116e27b88328fb8e65bbcef855b10d15d5b50f548ee522fd5c67466fa5d22350ed16402489ac
 WHIRLPOOL 
603dd3df008798c062b4442efad74d8d9ab754ac6ec3ac3a4d9d9fc376170d7a68c2506a544407097033d3349af4b6756f0342160d70a6b9825ebdd3352b2f34

diff --git a/kde-misc/skanlite/skanlite-2.0.ebuild 
b/kde-misc/skanlite/skanlite-2.0.ebuild
new file mode 100644
index 000..021e61f
--- /dev/null
+++ b/kde-misc/skanlite/skanlite-2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit kde5
+
+DESCRIPTION="KDE image scanning application"
+HOMEPAGE="http://www.kde.org/applications/graphics/skanlite/;
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kconfigwidgets)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep kjobwidgets)
+   $(add_frameworks_dep kwidgetsaddons)
+   $(add_frameworks_dep kxmlgui)
+   $(add_kdeapps_dep libksane)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtwidgets)
+   media-libs/libpng:0=
+"
+RDEPEND="${DEPEND}
+   !kde-misc/skanlite:4
+"