summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-08-15 18:22:45 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-08-15 18:29:13 +0200
commita73defea0b97ac73bc21756e1599a724d5b35a30 (patch)
treee2826fb99187167609a899aafd46ceae3b0c3ce3 /kde-frameworks
parentdev-python/os-brick: 2.3.3 bump (diff)
downloadgentoo-a73defea0b97ac73bc21756e1599a724d5b35a30.tar.gz
gentoo-a73defea0b97ac73bc21756e1599a724d5b35a30.tar.bz2
gentoo-a73defea0b97ac73bc21756e1599a724d5b35a30.zip
kde-frameworks/kholidays: Drop obsolete CamelCase headers early
May lead to some build trouble but prepares for 5.50. Package-Manager: Portage-2.3.46, Repoman-2.3.10
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kholidays/files/kholidays-5.49.0-headers.patch20
-rw-r--r--kde-frameworks/kholidays/kholidays-5.49.0-r1.ebuild32
2 files changed, 52 insertions, 0 deletions
diff --git a/kde-frameworks/kholidays/files/kholidays-5.49.0-headers.patch b/kde-frameworks/kholidays/files/kholidays-5.49.0-headers.patch
new file mode 100644
index 000000000000..aefc8b7a977c
--- /dev/null
+++ b/kde-frameworks/kholidays/files/kholidays-5.49.0-headers.patch
@@ -0,0 +1,20 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -25,7 +25,7 @@
+ )
+
+ add_library(KF5Holidays ${kholidays_SRCS})
+-generate_export_header(KF5Holidays BASE_NAME kholidays)
++generate_export_header(KF5Holidays BASE_NAME KHolidays)
+
+ add_library(KF5::Holidays ALIAS KF5Holidays)
+
+@@ -59,7 +59,6 @@
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/kholidays_export.h
+ ${KHolidays_HEADERS}
+- ${KHolidays_CamelCase_HEADERS}
+ DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KHolidays/kholidays
+ COMPONENT Devel
+ )
diff --git a/kde-frameworks/kholidays/kholidays-5.49.0-r1.ebuild b/kde-frameworks/kholidays/kholidays-5.49.0-r1.ebuild
new file mode 100644
index 000000000000..c71538e58db6
--- /dev/null
+++ b/kde-frameworks/kholidays/kholidays-5.49.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_QTHELP="false"
+KDE_TEST="true"
+inherit kde5
+
+DESCRIPTION="Library to determine holidays and other special events for a geographical region"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="nls"
+
+COMMON_DEPEND="
+ $(add_qt_dep qtdeclarative)
+"
+DEPEND="${COMMON_DEPEND}
+ nls? ( $(add_qt_dep linguist-tools) )
+"
+RDEPEND="${COMMON_DEPEND}
+ !kde-apps/kholidays:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-headers.patch" )
+
+src_test() {
+ # bug 624214
+ mkdir -p "${HOME}/.local/share/kf5/libkholidays" || die
+ cp -r "${S}/holidays/plan2" "${HOME}/.local/share/kf5/libkholidays/" || die
+ kde5_src_test
+}