Diff unifi-7.4.162 with a unifi-7.5.176

/usr/portage/net-wireless/unifi/unifi-7.5.176.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="-3116043f9f"
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}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip"
13
# SRC_URI="https://dl.ui.com/unifi/${PV}${RC_SUFFIX}/UniFi.unix.zip -> ${P}.zip"
14
SRC_URI="https://dl.ui.com/unifi/${PV}/UniFi.unix.zip -> ${P}.zip"
14 15
S="${WORKDIR}/UniFi"
15 16

  
16
KEYWORDS="-* amd64 ~arm64"
17
KEYWORDS="-* ~amd64 ~arm64"
17 18
LICENSE="Apache-1.0 Apache-2.0 BSD-1 BSD-2 BSD CDDL EPL-1.0 GPL-2 LGPL-2.1 LGPL-3 MIT ubiquiti"
18 19
SLOT="0/$(ver_cut 1-2)"
19 20
IUSE="systemd system-mongodb"
......
23 24
	acct-group/unifi
24 25
	acct-user/unifi
25 26
	dev-db/mongodb
26
	virtual/jre:11
27
	virtual/jre:17
27 28
"
28 29

  
29 30
BDEPEND="app-arch/unzip"
......
34 35

  
35 36
src_prepare() {
36 37
	if [[ ${CHOST} != aarch64* ]]; then
37
		rm -r lib/native/Linux/aarch64 || die "Failed in removing aarch64 native libraries"
38
	fi
39
	if [[ ${CHOST} != armv7* ]]; then
40
		rm -r lib/native/Linux/armv7 || die "Failed in removing armv7 native libraries"
38
		rm -r lib/native/Linux/aarch64 || die
41 39
	fi
42 40
	if [[ ${CHOST} != x86_64* ]]; then
43
		rm -r lib/native/Linux/x86_64 || die "Failed in removing x86_64 native libraries"
41
		rm -r lib/native/Linux/x86_64 || die
44 42
	fi
45 43

  
46 44
	if [[ ${CHOST} == aarch64* ]]; then
......
48 46
			rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || die
49 47
		fi
50 48
	fi
51
	if [[ ${CHOST} == armv7* ]]; then
52
		if ! use systemd; then
53
			rm lib/native/Linux/armv7/libubnt_sdnotify_jni.so || die
54
		fi
55
	fi
56 49
	if [[ ${CHOST} == x86_64* ]]; then
57 50
		if ! use systemd; then
58 51
			rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die
Thank you!