因为这些包的授权或是禁止再散布软件本体、或是禁止对散布收取费用、或是要求授权方书面同意,而它们的 `RESTRICT` 缺少 `bindist`(`app- misc/bcompare` 缺 `mirror`),构建出的二进制包与 distfile 会被当作可以散布,所以按各自的条款补齐。 Signed-off-by: Zakk <zakk@gentoozh.org>
53 lines
976 B
Bash
53 lines
976 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit unpacker xdg
|
|
|
|
DESCRIPTION="A truely minimal markdown editor"
|
|
HOMEPAGE="https://typora.io"
|
|
SRC_URI="https://download.typora.io/linux/typora_${PV}_amd64.deb"
|
|
S="${WORKDIR}"
|
|
|
|
LICENSE="typora"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RESTRICT="mirror splitdebug bindist"
|
|
|
|
RDEPEND="
|
|
app-accessibility/at-spi2-core:2
|
|
dev-libs/expat
|
|
dev-libs/glib:2
|
|
dev-libs/nspr
|
|
dev-libs/nss
|
|
media-libs/alsa-lib
|
|
media-libs/mesa[gbm(+)]
|
|
net-print/cups
|
|
sys-apps/dbus
|
|
virtual/libudev:=
|
|
x11-libs/cairo
|
|
x11-libs/gtk+:3[X]
|
|
x11-libs/libX11
|
|
x11-libs/libXScrnSaver
|
|
x11-libs/libXcomposite
|
|
x11-libs/libXdamage
|
|
x11-libs/libxcb
|
|
x11-libs/libXext
|
|
x11-libs/libXfixes
|
|
x11-libs/libXrandr
|
|
x11-libs/libxkbcommon
|
|
x11-libs/pango
|
|
"
|
|
|
|
QA_PREBUILT="*"
|
|
|
|
src_install() {
|
|
mv "${S}/usr" "${D}" || die
|
|
|
|
pushd "${D}/usr/share/doc" > /dev/null || die
|
|
mv ${PN} ${P} || die
|
|
popd > /dev/null || die
|
|
}
|