commit:     abf39af492f6e5498908c04fda8fd2fdff0c9b3b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 21:26:04 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 23:48:47 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=abf39af4

kde-apps/klinkstatus: Switch USE tidy to app-text/tidy-html5, EAPI-6

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/klinkstatus-4.14.3-tidyhtml5.patch       | 11 +++++++
 kde-apps/klinkstatus/klinkstatus-4.14.3-r1.ebuild  | 38 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/kde-apps/klinkstatus/files/klinkstatus-4.14.3-tidyhtml5.patch 
b/kde-apps/klinkstatus/files/klinkstatus-4.14.3-tidyhtml5.patch
new file mode 100644
index 00000000..85efd746
--- /dev/null
+++ b/kde-apps/klinkstatus/files/klinkstatus-4.14.3-tidyhtml5.patch
@@ -0,0 +1,11 @@
+--- a/klinkstatus/src/tidy/tidyx.h     2008-07-28 18:04:32.000000000 +0200
++++ b/klinkstatus/src/tidy/tidyx.h     2020-12-06 22:19:30.793217209 +0100
+@@ -49,7 +49,7 @@
+ */
+ 
+ #include <tidy.h>
+-#include <buffio.h>
++#include <tidybuffio.h>
+ 
+ #include <config-tidy.h>
+     

diff --git a/kde-apps/klinkstatus/klinkstatus-4.14.3-r1.ebuild 
b/kde-apps/klinkstatus/klinkstatus-4.14.3-r1.ebuild
new file mode 100644
index 00000000..9732f2cd
--- /dev/null
+++ b/kde-apps/klinkstatus/klinkstatus-4.14.3-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KMNAME="kdewebdev"
+inherit kde4-meta
+
+DESCRIPTION="KDE web development - link validity checker"
+HOMEPAGE="https://apps.kde.org/en/klinkstatus";
+
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="debug tidy"
+
+DEPEND="
+       $(add_kdeapps_dep kdepimlibs)
+       tidy? ( app-text/tidy-html5 )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-tidyhtml5.patch" )
+
+src_configure() {
+       local mycmakeargs=(
+               -DWITH_KdepimLibs=ON
+               -DWITH_LibTidy=$(usex tidy)
+       )
+
+       kde4-meta_src_configure
+}
+
+pkg_postinst() {
+       kde4-meta_pkg_postinst
+
+       has_version dev-lang/ruby ||
+               elog "To use scripting in ${PN}, install dev-lang/ruby."
+}

Reply via email to