Diff libunistring-0.9.10-r1 with a libunistring-1.0
| /usr/portage/dev-libs/libunistring/libunistring-1.0.ebuild 2024-12-25 14:59:48.375270072 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit multilib-minimal libtool |
| 7 | 7 | |
| ... | ... | |
| 9 | 9 |
HOMEPAGE="https://www.gnu.org/software/libunistring/" |
| 10 | 10 |
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
|
| 11 | 11 | |
| 12 |
LICENSE="|| ( LGPL-3+ GPL-2 ) || ( FDL-1.2 GPL-3+ )" |
|
| 12 |
LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )" |
|
| 13 | 13 |
SLOT="0/2" |
| 14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
| 14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
| 15 | 15 |
IUSE="doc static-libs" |
| 16 | 16 | |
| 17 | 17 |
PATCHES=( |
| 18 | 18 |
"${FILESDIR}"/${PN}-nodocs.patch
|
| 19 |
"${FILESDIR}"/${PN}-test.patch
|
|
| 20 | 19 |
) |
| 21 | 20 | |
| 22 | 21 |
src_prepare() {
|
| ... | ... | |
| 25 | 24 |
} |
| 26 | 25 | |
| 27 | 26 |
multilib_src_configure() {
|
| 28 |
ECONF_SOURCE="${S}" \
|
|
| 29 |
econf $(use_enable static-libs static) |
|
| 27 |
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
|
| 30 | 28 |
} |
| 31 | 29 | |
| 32 | 30 |
multilib_src_install_all() {
|
| 33 | 31 |
default |
| 34 | 32 | |
| 35 |
if use doc; then |
|
| 33 |
if use doc ; then |
|
| 36 | 34 |
docinto html |
| 37 | 35 |
dodoc doc/*.html |
| 38 | 36 |
doinfo doc/*.info |