mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
mips endianness and abi check
This commit is contained in:
parent
8860754fe4
commit
c4bfbc11ba
@ -18,6 +18,9 @@ S="${WORKDIR}"
|
||||
LICENSE="Feishu-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips"
|
||||
IUSE="big-endian abi_mips_n64"
|
||||
REQUIRED_USE="mips? ( !big-endian abi_mips_n64 )"
|
||||
|
||||
RESTRICT="strip mirror bindist fetch"
|
||||
|
||||
DEPEND="
|
||||
|
@ -18,6 +18,9 @@ S="${WORKDIR}"
|
||||
LICENSE="Feishu-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips"
|
||||
IUSE="big-endian abi_mips_n64"
|
||||
REQUIRED_USE="mips? ( !big-endian abi_mips_n64 )"
|
||||
|
||||
RESTRICT="strip mirror bindist fetch"
|
||||
|
||||
DEPEND="
|
||||
|
@ -18,6 +18,9 @@ S="${WORKDIR}"
|
||||
LICENSE="Feishu-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips"
|
||||
IUSE="big-endian abi_mips_n64"
|
||||
REQUIRED_USE="mips? ( !big-endian abi_mips_n64 )"
|
||||
|
||||
RESTRICT="strip mirror bindist fetch"
|
||||
|
||||
DEPEND="
|
||||
@ -32,7 +35,7 @@ RDEPEND="${DEPEND}"
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${SRC_URI} at ${HOMEPAGE} "
|
||||
einfo "and copy the .deb file into your distfiles directory"
|
||||
einfo "default distfiles directory is: /var/cache/distfiles"
|
||||
einfo "default distfiles directory is: /var/cache/distfiles"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
@ -8,8 +8,6 @@ inherit unpacker xdg
|
||||
DESCRIPTION="WPS Office is an office productivity suite, Here is the Chinese version"
|
||||
HOMEPAGE="https://www.wps.cn/product/wpslinux/"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~mips"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( https://wb9.s-ton.top/wps302/${PV}/amd64 -> ${PN}_${PV}_amd64.deb )
|
||||
arm64? ( https://wb9.s-ton.top/wps302/${PV}/arm64 -> ${PN}_${PV}_arm64.deb )
|
||||
@ -17,11 +15,15 @@ SRC_URI="
|
||||
mips? ( https://wb9.s-ton.top/wps302/${PV}/mips64el -> ${PN}_${PV}_mips64el.deb )
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
RESTRICT="strip mirror bindist" # mirror as explained at bug #547372
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="WPS-EULA"
|
||||
IUSE="big-endian systemd"
|
||||
REQUIRED_USE="mips? ( !big-endian )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~mips"
|
||||
IUSE="big-endian systemd abi_mips_n64"
|
||||
REQUIRED_USE="mips? ( !big-endian abi_mips_n64 )"
|
||||
|
||||
RESTRICT="strip mirror bindist" # mirror as explained at bug #547372
|
||||
|
||||
# Deps got from this (listed in order):
|
||||
# rpm -qpR wps-office-10.1.0.5707-1.a21.x86_64.rpm
|
||||
@ -70,8 +72,6 @@ RDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download WPS Office 2019 For Linux version ${PV} from"
|
||||
einfo " ${HOMEPAGE}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user