upd yandex browser up to 23.3.1.912
Этот коммит содержится в:
родитель
de75d52647
Коммит
f497a1f458
@ -1,2 +1 @@
|
||||
DIST yandex-browser-23.1.1.1114_p1.deb 119777068 BLAKE2B c9a8743427e97e5dda5821c4ab2511e814457ecd0b4ccbc5fd87798c4d0cca23fc9a75691386f12ab5055bf7a294cc8becbfb023fb9deedfbdbff58531de8b62 SHA512 1df64e3e86957aca31bc875470c5a60c96f84b5dae9a675cff5c1a928375aab09e2be908f04d949949ea17a101fe8d62c8aee04e2d7c4c223aea5c8b000faf54
|
||||
DIST yandex-browser-23.1.2.998_p1.deb 121282884 BLAKE2B 826a81b087ec95e37f7528318ecb1fe79e87a83e40d624898442369e6b4134de8da770d282d3c429fe355601ddfcc2e8dee6177af1fe7c8128772d7be29dad60 SHA512 bf5ecf178dbb971ce7c66c37f32becb5d97fb065a29f3f92ac4677218e8ec3aa12aad9d6935e1e475f2cdefd260d0e302b345ea2f0866de112204cdabfd1ef6a
|
||||
DIST yandex-browser-23.3.1.912_p1.deb 122419732 BLAKE2B e1081b3df190bc264332d7a575bb10d480c6231b53c55bb9c60302a8dda1675adb44f14f308f56de40ad10abac6d15f291884cd36af4e4613fb02b9d046ff567 SHA512 f42a1b9237b6f296ab354f65fe6bdca1137146b1ffed3edd12c2ebde7e8e15ea0bb6ceb6917b2d4f9c3abbe1d2c256435315362a00421e8509fb5a06445f56c1
|
||||
|
@ -1,128 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
CHROMIUM_LANGS="cs de en-US es fr it ja kk pt-BR pt-PT ru tr uk uz zh-CN zh-TW"
|
||||
inherit chromium-2 unpacker desktop wrapper pax-utils
|
||||
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
MY_PV="${PV/_p/-}"
|
||||
|
||||
if [[ ${PN} == yandex-browser ]]; then
|
||||
MY_PN=${PN}-stable
|
||||
else
|
||||
MY_PN=${PN}
|
||||
fi
|
||||
|
||||
DESCRIPTION="The web browser from Yandex"
|
||||
HOMEPAGE="https://browser.yandex.ru/"
|
||||
LICENSE="Yandex-EULA"
|
||||
SLOT="0"
|
||||
SRC_URI="
|
||||
amd64? ( https://repo.yandex.ru/yandex-browser/deb/pool/main/y/${MY_PN}/${MY_PN}_${MY_PV}_amd64.deb -> ${P}.deb )
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=dev-libs/openssl-1.0.1:0
|
||||
gnome-base/gconf:2
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
net-misc/curl
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-libs/libcap
|
||||
virtual/libudev
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango[X]
|
||||
x11-misc/xdg-utils
|
||||
sys-libs/libudev-compat
|
||||
www-plugins/yandex-browser-ffmpeg-codecs-bin
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=dev-util/patchelf-0.9
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
QA_DESKTOP_FILE="usr/share/applications/yandex-browser.*\\.desktop"
|
||||
S=${WORKDIR}
|
||||
YANDEX_HOME="opt/${PN/-//}"
|
||||
|
||||
pkg_setup() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm usr/bin/${MY_PN} || die "Failed to remove bundled wrapper"
|
||||
|
||||
rm -r etc || die "Failed to remove etc"
|
||||
|
||||
rm -r "${YANDEX_HOME}/cron" || die "Failed ro remove cron hook"
|
||||
|
||||
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die "Failed to move docdir"
|
||||
|
||||
gunzip "usr/share/doc/${PF}/changelog.gz" "usr/share/man/man1/${MY_PN}.1.gz" || die "Failed to decompress docs"
|
||||
|
||||
pushd "${YANDEX_HOME}/locales" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
default
|
||||
|
||||
sed -r \
|
||||
-e 's|\[(NewWindow)|\[X-\1|g' \
|
||||
-e 's|\[(NewIncognito)|\[X-\1|g' \
|
||||
-e 's|^TargetEnvironment|X-&|g' \
|
||||
-i usr/share/applications/${PN}.desktop || die
|
||||
|
||||
patchelf --remove-rpath "${S}/${YANDEX_HOME}/yandex_browser-sandbox" || die "Failed to fix library rpath (yandex_browser-sandbox)"
|
||||
patchelf --remove-rpath "${S}/${YANDEX_HOME}/yandex_browser" || die "Failed to fix library rpath (yandex_browser)"
|
||||
patchelf --remove-rpath "${S}/${YANDEX_HOME}/find_ffmpeg" || die "Failed to fix library rpath (find_ffmpeg)"
|
||||
patchelf --remove-rpath "${S}/${YANDEX_HOME}/nacl_helper" || die "Failed to fix library rpath (nacl_helper)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv * "${D}" || die
|
||||
dodir /usr/$(get_libdir)/${MY_PN}/lib
|
||||
mv "${D}"/usr/share/appdata "${D}"/usr/share/metainfo
|
||||
|
||||
make_wrapper "${PN}" "./${PN}" "/${YANDEX_HOME}" "/usr/$(get_libdir)/${MY_PN}/lib" || die "Failed to mae wrapper"
|
||||
|
||||
# yandex_browser binary loads libudev.so.0 at runtime
|
||||
dosym /usr/$(get_libdir)/libudev.so.0 /usr/$(get_libdir)/${MY_PN}/lib/libudev.so.0
|
||||
|
||||
for icon in "${D}/${YANDEX_HOME}/product_logo_"*.png; do
|
||||
size="${icon##*/product_logo_}"
|
||||
size=${size%.png}
|
||||
dodir "/usr/share/icons/hicolor/${size}x${size}/apps"
|
||||
newicon -s "${size}" "$icon" "${MY_PN}.png"
|
||||
done
|
||||
|
||||
fowners root:root "/${YANDEX_HOME}/yandex_browser-sandbox"
|
||||
fperms 4711 "/${YANDEX_HOME}/yandex_browser-sandbox"
|
||||
pax-mark m "${ED}${YANDEX_HOME}/yandex_browser-sandbox"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST chromium-codecs-ffmpeg-extra_109.0.5414.74-0ubuntu0.18.04.14_amd64.deb 1148508 BLAKE2B 5ce11456a5980ab7541859d81bdb96462ed58702220aeb707562d03b1e6eb5e4d18101a094bd97a4e4140a5cd902263e0cfc94015b41d4a894a2a39033d62cd9 SHA512 2feecf4bc74ed1f1259bab732bda1b4465c664d8e3a6fd9623fa8b8d69654388db42e699a5e3938f8de038b753cbde69c258da6541ffda594ea48fbf1cf4ea06
|
||||
DIST chromium-codecs-ffmpeg-extra_110.0.5481.100-0ubuntu0.18.04.1_amd64.deb 1108300 BLAKE2B befca27cdd764d9ee6442674f817576313b566f6b249e90962e1d6200362d27e000d26578de32f4c4f7c0400326c74bc26b1ec85906d912d6b17304dfc63f021 SHA512 d3c716d571594de19df219239fa3d34971b68ffcd78cb4bdfe18fd24ff26662fd43a382a4b9e0aa9d1f3e13c9dce551ab9cd5f47321acb0e58689ba0a02aa684
|
||||
|
@ -12,9 +12,9 @@ SLOT="0"
|
||||
LICENSE="BSD"
|
||||
RESTRICT="bindist strip mirror"
|
||||
|
||||
DEBIAN_REVISION="0ubuntu0.18.04.14"
|
||||
DEBIAN_REVISION="0ubuntu0.18.04.1"
|
||||
_FULL_VERSION="${PV}-${DEBIAN_REVISION}"
|
||||
BASE_URI="http://launchpadlibrarian.net/645929444"
|
||||
BASE_URI="http://launchpadlibrarian.net/651923070"
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}/chromium-codecs-ffmpeg-extra_${_FULL_VERSION}_amd64.deb )
|
||||
"
|
Загрузка…
Ссылка в новой задаче
Block a user