Сравнение unifi-7.3.83 с unifi-7.4.162
/usr/portage/net-wireless/unifi/unifi-7.4.162.ebuild 2023-10-09 14:52:34.788368484 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
# Set this var for any releases except stable |
7 |
# RC_SUFFIX="-" |
|
7 |
RC_SUFFIX="-3116043f9f" |
|
8 | 8 | |
9 | 9 |
inherit java-pkg-2 readme.gentoo-r1 systemd |
10 | 10 | |
11 | 11 |
DESCRIPTION="A Management Controller for Ubiquiti Networks UniFi APs" |
12 | 12 |
HOMEPAGE="https://www.ubnt.com" |
13 |
SRC_URI="https://dl.ui.com/unifi/${PV}/UniFi.unix.zip -> ${P}.zip" |
|
13 |
SRC_URI="https://dl.ui.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip" |
|
14 | 14 |
S="${WORKDIR}/UniFi" |
15 | 15 | |
16 | 16 |
KEYWORDS="-* amd64 ~arm64" |
... | ... | |
33 | 33 |
QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so" |
34 | 34 | |
35 | 35 |
src_prepare() { |
36 |
# Remove unneeded files Mac and Windows |
|
37 |
rm -r lib/native/{Mac,Windows} || die |
|
38 | ||
39 | 36 |
if [[ ${CHOST} != aarch64* ]]; then |
40 | 37 |
rm -r lib/native/Linux/aarch64 || die "Failed in removing aarch64 native libraries" |
41 | 38 |
fi |