Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/
Date: Fri, 25 Sep 2020 22:19:09
Message-Id: 1601072168.ba0fefe2733ba8b98884c9778c9c1c6f1d2ada7d.epsilon-0@gentoo
1 commit: ba0fefe2733ba8b98884c9778c9c1c6f1d2ada7d
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Fri Sep 25 22:16:08 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Fri Sep 25 22:16:08 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba0fefe2
7
8 dev-libs/utf8proc: version bump to 2.5.0
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 RepoMan-Options: --force
12 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
13
14 .../utf8proc/files/utf8proc-2.5.0-libdir.patch | 15 +++++++++++++
15 dev-libs/utf8proc/utf8proc-2.5.0.ebuild | 26 ++++++++++++++++++++++
16 2 files changed, 41 insertions(+)
17
18 diff --git a/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
19 new file mode 100644
20 index 000000000..8054c7ae3
21 --- /dev/null
22 +++ b/dev-libs/utf8proc/files/utf8proc-2.5.0-libdir.patch
23 @@ -0,0 +1,15 @@
24 +diff --git a/CMakeLists.txt b/CMakeLists.txt
25 +index bfc3f9b..8fef4af 100644
26 +--- a/CMakeLists.txt
27 ++++ b/CMakeLists.txt
28 +@@ -52,8 +52,8 @@ set_target_properties (utf8proc PROPERTIES
29 + if (UTF8PROC_INSTALL)
30 + install(TARGETS utf8proc
31 + RUNTIME DESTINATION bin
32 +- LIBRARY DESTINATION lib
33 +- ARCHIVE DESTINATION lib)
34 ++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
35 ++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
36 +
37 + install(
38 + FILES
39
40 diff --git a/dev-libs/utf8proc/utf8proc-2.5.0.ebuild b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
41 new file mode 100644
42 index 000000000..a44b3c93c
43 --- /dev/null
44 +++ b/dev-libs/utf8proc/utf8proc-2.5.0.ebuild
45 @@ -0,0 +1,26 @@
46 +# Copyright 1999-2020 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI=7
50 +
51 +inherit eutils toolchain-funcs cmake
52 +
53 +DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
54 +HOMEPAGE="http://www.public-software-group.org/utf8proc"
55 +SRC_URI="https://github.com/JuliaLang/utf8proc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
56 +
57 +LICENSE="MIT"
58 +SLOT="0"
59 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
60 +IUSE="static-libs test"
61 +RESTRICT="!test? ( test )"
62 +
63 +PATCHES=( "${FILESDIR}"/${P}-libdir.patch )
64 +
65 +src_configure() {
66 + local mycmakeargs=(
67 + -DUTF8PROC_INSTALL=ON
68 + -DUTF8PROC_ENABLE_TESTING=$(usex test)
69 + )
70 + cmake_src_configure
71 +}
72 \ No newline at end of file