commit: ba0fefe2733ba8b98884c9778c9c1c6f1d2ada7d
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Fri Sep 25 22:16:08 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Fri Sep 25 22:16:08 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba0fefe2
dev-libs/utf8proc: version bump to 2.5.0
Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --force
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
.../utf8proc/files/utf8proc-2.5.0-libdir.patch | 15 +++++++++++++
dev-libs/utf8proc/utf8proc-2.5.0.ebuild | 26 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
new file mode 100644
index 000000000..8054c7ae3
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bfc3f9b..8fef4af 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,8 +52,8 @@ set_target_properties (utf8proc PROPERTIES
+ if (UTF8PROC_INSTALL)
+ install(TARGETS utf8proc
+ RUNTIME DESTINATION bin
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib)
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+
+ install(
+ FILES
diff --git a/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
new file mode 100644
index 000000000..a44b3c93c
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils toolchain-funcs cmake
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc"
+SRC_URI="https://github.com/JuliaLang/utf8proc/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DUTF8PROC_INSTALL=ON
+ -DUTF8PROC_ENABLE_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
\ No newline at end of file