www-client/adspower-global: new package, add 8.6.3
Signed-off-by: Zakk <221879664+Zakkaus@users.noreply.github.com>
This commit is contained in:
1 parent
06e9673580
commit
42e72d315e
5 files changed
+127
No files matched your search
@@ -1786,6 +1786,12 @@ include_regex = "desktop/v.*"
|
||||
prefix = "desktop/v"
|
||||
github_account = "gouwazi"
|
||||
|
||||
["www-client/adspower-global"]
|
||||
source = "regex"
|
||||
url = "https://www.adspower.com/tc/download"
|
||||
regex = 'linux-x64-global/([\d.]+)/AdsPower'
|
||||
github_account = "zakkaus"
|
||||
|
||||
["www-client/brave-bin"]
|
||||
source = "aur"
|
||||
aur = "brave-bin"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
AdsPower End User License Agreement
|
||||
|
||||
AdsPower Global is proprietary software from AdsPower. Use of the
|
||||
application is governed by AdsPower's terms:
|
||||
|
||||
- User Agreement: https://www.adspower.com/tc/terms-of-use
|
||||
- Privacy Policy: https://www.adspower.com/tc/privacy-policy
|
||||
- Legal and Agreements: https://www.adspower.com/tc/law-agreement
|
||||
|
||||
The package redistributes the upstream binary unmodified from
|
||||
https://www.adspower.com/
|
||||
@@ -0,0 +1 @@
|
||||
DIST AdsPower-Global-8.6.3-x64.deb 315341062 BLAKE2B d45a64bee221c200c109770967a68eb719c406e3c41e8b90425919aeab393f81048913a4b4cac39cc80ff00c7725f1da20bcccf9d584d0733e54c3e42f9d5466 SHA512 905c77eaf7515f60cb385f4cf3db26f0a51ee735924ede34f94d832bbb6863f4438aea4137b934eb7d39e6a91300f396a164feceba6d340ec968a244e7525d06
|
||||
@@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop optfeature pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="Antidetect browser for multi-account management"
|
||||
HOMEPAGE="https://www.adspower.com/"
|
||||
|
||||
SRC_URI="https://version.adspower.net/software/linux-x64-global/${PV}/AdsPower-Global-${PV}-x64.deb"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="AdsPower-EULA"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-utils
|
||||
)
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
app-misc/ca-certificates
|
||||
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
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libnotify
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
# Upstream installs the app under a directory name that contains a space.
|
||||
ADSPOWER_DIR="AdsPower Global"
|
||||
|
||||
src_install() {
|
||||
# Install the application to /opt (without the space in the upstream name)
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -a "opt/${ADSPOWER_DIR}/." "${ED}/opt/${PN}/" || die
|
||||
|
||||
# Drop bundled native modules for other platforms and libc implementations.
|
||||
# They are never loaded on glibc x86-64 and their sonames trip QA checks.
|
||||
local nm="${ED}/opt/${PN}/resources/app.asar.unpacked/node_modules"
|
||||
if [[ -d ${nm}/koffi/build/koffi ]]; then
|
||||
find "${nm}/koffi/build/koffi" -mindepth 1 -maxdepth 1 -type d \
|
||||
! -name linux_x64 -exec rm -r {} + || die
|
||||
fi
|
||||
# sharp is unusable here: upstream ships no glibc libvips for it.
|
||||
rm -rf "${nm}/@img" || die
|
||||
|
||||
# Fix chrome-sandbox permissions
|
||||
fperms 4755 "/opt/${PN}/chrome-sandbox"
|
||||
|
||||
# Allow V8's JIT to run under PaX/hardened kernels
|
||||
pax-mark m "${ED}/opt/${PN}/adspower_global"
|
||||
|
||||
# Launcher on PATH
|
||||
dosym -r "/opt/${PN}/adspower_global" /usr/bin/${PN}
|
||||
|
||||
# Desktop entry (point Exec at the launcher) and icons
|
||||
sed -i -e "s|^Exec=.*|Exec=${PN} %U|" \
|
||||
usr/share/applications/adspower_global.desktop || die
|
||||
domenu usr/share/applications/adspower_global.desktop
|
||||
insinto /usr/share/icons
|
||||
doins -r usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
elog "The browser kernel is downloaded on first run into ~/.config/adspower_global."
|
||||
elog "It expects Qt5/GTK3 theme libraries; a Qt6/GTK4 desktop theme may crash or"
|
||||
elog "render it wrong. Fix: set Settings > Appearance > Theme > Classic."
|
||||
|
||||
optfeature "system tray icon" dev-libs/libayatana-appindicator
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zakk@gentoozh.org</email>
|
||||
<name>Zakk</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<doc>https://www.adspower.com/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in new issue
Block a user