Сравнение plan9port-0_pre20210321 с plan9port-0_pre20230331-r1
/usr/portage/dev-util/plan9port/plan9port-0_pre20230331-r1.ebuild 2023-10-09 14:52:30.988368388 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 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 multiprocessing toolchain-funcs readme.gentoo-r1 |
7 | 7 | |
8 |
MY_HASH="88a87fadae6629932d9c160f53ad5d79775f8f94" |
|
8 |
MY_HASH="cc4571fec67407652b03d6603ada6580de2194dc" |
|
9 | 9 |
MY_P="${PN}-${MY_HASH}" |
10 | 10 | |
11 | 11 |
DESCRIPTION="Port of many Plan 9 programs and libraries" |
12 |
HOMEPAGE="https://9fans.github.io/plan9port/ |
|
13 |
https://github.com/9fans/plan9port" |
|
12 |
HOMEPAGE="https://9fans.github.io/plan9port/ https://github.com/9fans/plan9port" |
|
14 | 13 |
SRC_URI="https://github.com/9fans/${PN}/archive/${MY_HASH}.tar.gz -> ${MY_P}.tar.gz" |
15 | 14 |
S="${WORKDIR}/${MY_P}" |
15 | ||
16 | 16 |
LICENSE=" |
17 | 17 |
MIT RSA Apache-2.0 public-domain BitstreamVera BZIP2 |
18 | 18 |
!freefonts? ( BigelowHolmes ) |
19 | 19 |
" |
20 | 20 |
SLOT="0" |
21 | 21 |
KEYWORDS="~amd64 ~arm64 ~x86" |
22 |
IUSE="X aqua freefonts truetype" |
|
22 |
IUSE="X aqua freefonts" |
|
23 | 23 |
REQUIRED_USE="?? ( X aqua )" |
24 | 24 | |
25 | 25 |
DEPEND=" |
26 |
X? ( x11-apps/xauth ) |
|
27 |
truetype? ( |
|
26 |
X? ( |
|
28 | 27 |
media-libs/freetype |
29 | 28 |
media-libs/fontconfig |
29 |
x11-apps/xauth |
|
30 | 30 |
) |
31 | 31 |
" |
32 | 32 |
RDEPEND="${DEPEND}" |
... | ... | |
94 | 94 |
) |
95 | 95 | |
96 | 96 |
if use X; then |
97 |
myconf+=( WSYSTYPE=x11 ) |
|
97 |
myconf+=( |
|
98 |
WSYSTYPE=x11 |
|
99 |
FONTSRV=fontsrv |
|
100 |
) |
|
98 | 101 |
elif use aqua; then |
99 | 102 |
local wsystype="$(awk '{if ($1 > 10.5) print "osx-cocoa"; else print "osx"}' \ |
100 | 103 |
<<< "${MACOSX_DEPLOYMENT_TARGET}")" |
... | ... | |
103 | 106 |
myconf+=( WSYSTYPE=nowsys ) |
104 | 107 |
fi |
105 | 108 | |
106 |
if use truetype; then |
|
107 |
myconf+=( FONTSRV=fontsrv ) |
|
108 |
else |
|
109 |
myconf+=( FONTSRV= ) |
|
110 |
fi |
|
111 | ||
112 | 109 |
printf '%s\n' "${myconf[@]}" >> LOCAL.config || |
113 | 110 |
die "cannot create configuration" |
114 | 111 |
} |