Skip to content

Commit 4c6211a

Browse files
committed
dev-libs/libunistring: Sync with Gentoo
It's from Gentoo commit e1b8c24e50874a72c63044fd6b216997ca34f62a.
1 parent 3f9843c commit 4c6211a

File tree

5 files changed

+54
-9
lines changed

5 files changed

+54
-9
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
DIST libunistring-0.9.10.tar.gz 3744814 BLAKE2B 3ddc55b8021c0f4822beb83b807bb21dbbf10bbb866747f64e060df3ab822a4143528855e1ce6a13144630bc8daa14f1fa830db77fb605e57cae21d46de804d6 SHA512 690082732fbbd47ab4ffbd6f21d85afece0f8e2ded24982f949f4ae52bf0a981b75ea9bc14ab289e0954cde07f31a7a4c2bb65615a8eb5b2bfa65720310b6fc9
2-
DIST libunistring-1.0.tar.gz 4214306 BLAKE2B 177f21d9fb6d81ea6bb2fd05f9ca31cd6cecb5a16be273de8817a8fb6ffac997421ebf108acebcb3392b8df423b7e3e150f24a731e0909e2ba171b4bae2fb53d SHA512 6125e3911d15bea8fea5c0b97864f928eab8c8476f1a24c7349b0552e2d11d9b73c1fa0fcb354917e42407d4e5adea55d0c8012121fa0a53c60faa7b0911aef3
1+
DIST libunistring-0.9.10.tar.xz 2051320 BLAKE2B 25d162d9d510cc35ad4209acceb9b06bcc0553b8ce56e94f8df12c4df64d91abfc4a9e15b50b5c8d5b9672939305a394a7e83f1892258defb7ae5ac2ccf79dfb SHA512 01dcab6e05ea4c33572bf96cc0558bcffbfc0e62fc86410cef06c1597a0073d5750525fe2dee4fdb39c9bd704557fcbab864f9645958108a2e07950bc539fe54
2+
DIST libunistring-1.0.tar.xz 2367800 BLAKE2B 8208fe33d4ac2f015b0efb56b0c7dd87afc4bb1c6ca4eb3ded86d7e2101d7b7f68bfd8991af4b6dd408282ec73f134ee0b884e761ff6d52e8a1e398326aec420 SHA512 70d5ad82722844dbeacdfcb4d7593358e4a00a9222a98537add4b7f0bf4a2bb503dfb3cd627e52e2a5ca1d3da9e5daf38a6bd521197f92002e11e715fb1662d1
3+
DIST libunistring-1.1.tar.xz 2397676 BLAKE2B 721adc90884006480055b95d0fa06cd862417aa02b467f1e14688292ad9c11f1e33520b14ed5dc2d2724c6df8713d3af1e8032014259d8355156cb72edfcb983 SHA512 01a4267bbd301ea5c389b17ee918ae5b7d645da8b2c6c6f0f004ff2dead9f8e50cda2c6047358890a5fceadc8820ffc5154879193b9bb8970f3fb1fea1f411d6

sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-0.9.10-r1.ebuild

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2021 Gentoo Authors
1+
# Copyright 1999-2023 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
@@ -7,11 +7,11 @@ inherit multilib-minimal libtool
77

88
DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
99
HOMEPAGE="https://www.gnu.org/software/libunistring/"
10-
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10+
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
1111

1212
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )"
1313
SLOT="0/2"
14-
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14+
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
1515
IUSE="doc static-libs"
1616

1717
PATCHES=(

sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.0.ebuild

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 1999-2022 Gentoo Authors
1+
# Copyright 1999-2023 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=8
@@ -7,11 +7,11 @@ inherit multilib-minimal libtool
77

88
DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
99
HOMEPAGE="https://www.gnu.org/software/libunistring/"
10-
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
10+
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
1111

1212
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )"
1313
SLOT="0/2"
14-
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14+
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
1515
IUSE="doc static-libs"
1616

1717
PATCHES=(
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright 1999-2023 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
inherit multilib-minimal libtool
7+
8+
DESCRIPTION="Library for manipulating Unicode and C strings according to Unicode standard"
9+
HOMEPAGE="https://www.gnu.org/software/libunistring/"
10+
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
11+
12+
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )"
13+
# Check regularly even on "minor" bumps
14+
SLOT="0/5"
15+
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
16+
IUSE="doc static-libs"
17+
18+
PATCHES=(
19+
"${FILESDIR}"/${PN}-nodocs.patch
20+
)
21+
22+
src_prepare() {
23+
default
24+
elibtoolize # for Solaris shared libraries
25+
}
26+
27+
multilib_src_configure() {
28+
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
29+
}
30+
31+
multilib_src_install_all() {
32+
default
33+
34+
if use doc ; then
35+
docinto html
36+
dodoc doc/*.html
37+
doinfo doc/*.info
38+
fi
39+
40+
find "${ED}" -name '*.la' -delete || die
41+
}

sdk_container/src/third_party/portage-stable/dev-libs/libunistring/metadata.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
3-
43
<pkgmetadata>
54
<maintainer type="project">
65
<email>[email protected]</email>
@@ -17,4 +16,8 @@
1716
This library provides functions for manipulating Unicode strings and for
1817
manipulating C strings according to the Unicode standard.
1918
</longdescription>
19+
<upstream>
20+
<remote-id type="cpe">cpe:/a:gnu:libunistring</remote-id>
21+
<remote-id type="savannah">libunistring</remote-id>
22+
</upstream>
2023
</pkgmetadata>

0 commit comments

Comments
 (0)