mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
net-im/session-desktop-bin: add 1.15.1, 1.15.2, drop 1.10.8
Signed-off-by: Vincent Ahluwalia <vincentahluwalia@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST session-desktop-linux-amd64-1.10.8.deb 67823156 BLAKE2B fa41b44560a22d2244ec99c96f0c50d16d5706912aebef5e5607c908f2f02e5c37255ee371472af64e7d145549de6477c16b4fe32ca4fbd3cc4a38bfb1df1caf SHA512 da5a68904c1e09885bcc880ca98bebdadfd884b7b8447208624c6f2deb469fd5e4f0e3fffd8686bc6919f96a2d06092f3e8b40839df3c565833850bc64945079
|
||||
DIST session-desktop-linux-amd64-1.15.1.deb 87707812 BLAKE2B 0d7573d90a06432330eaca810d715518726fb60d8abc40469a4c2da4d88682d8836a19a14e26408ed65cc41de845735b51ee528da5d6ffb5e028e9d272c1b928 SHA512 76fb09fdb216a4f6ab2ed37f57549c18c0736e92b3efabc49e109195212cd58e2c373cb0528dfc153d62d78d8c2453b02f2383c8d8cc56c8e5837b34385c8230
|
||||
DIST session-desktop-linux-amd64-1.15.2.deb 87715250 BLAKE2B fec07d623a348f9b55c5c998f8a866217f4678010cd1489fcb3d16cfd610da1f3fb4f3e18f8d12098823dd98212bd60e9b01d73092763cf0db344d2d651f76f1 SHA512 0bcce1ec274960e941169971963509d284b809bd2575da5c4ff9503965bdba3efbfcc1d5ed5c2e3644e51154fe4b0ec27598b42eecaf361b9b63ac3b8ca4658c
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
<name>Akash paul</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">oxen-io/session-desktop</remote-id>
|
||||
<remote-id type="github">session-foundation/session-desktop</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -6,30 +6,30 @@ EAPI=8
|
||||
MY_PN="${PN/-bin/}"
|
||||
|
||||
CHROMIUM_LANGS="
|
||||
am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
|
||||
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
|
||||
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
|
||||
sw ta te th tr uk vi zh-CN zh-TW
|
||||
sw ta te th tr uk ur vi zh-CN zh-TW
|
||||
"
|
||||
|
||||
inherit chromium-2 linux-info unpacker optfeature xdg
|
||||
|
||||
DESCRIPTION="Session Desktop - Onion routing based messenger"
|
||||
HOMEPAGE="https://getsession.org/ https://github.com/oxen-io/session-desktop"
|
||||
SRC_URI="https://github.com/oxen-io/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
SRC_URI="https://github.com/session-foundation/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="splitdebug"
|
||||
RESTRICT="splitdebug bindist mirror strip test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
)
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/glib-2.35
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
@@ -106,12 +106,12 @@ src_install(){
|
||||
pushd "opt/Session/" > /dev/null || die "change dir failed"
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so libvulkan.so.1
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
|
||||
insopts -m0755
|
||||
doins -r locales resources swiftshader
|
||||
doins -r locales resources
|
||||
|
||||
popd > /dev/null || die "change dir reset failed"
|
||||
|
||||
130
net-im/session-desktop-bin/session-desktop-bin-1.15.2.ebuild
Normal file
130
net-im/session-desktop-bin/session-desktop-bin-1.15.2.ebuild
Normal file
@@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN/-bin/}"
|
||||
|
||||
CHROMIUM_LANGS="
|
||||
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
|
||||
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
|
||||
sw ta te th tr uk ur vi zh-CN zh-TW
|
||||
"
|
||||
|
||||
inherit chromium-2 linux-info unpacker optfeature xdg
|
||||
|
||||
DESCRIPTION="Session Desktop - Onion routing based messenger"
|
||||
HOMEPAGE="https://getsession.org/ https://github.com/oxen-io/session-desktop"
|
||||
SRC_URI="https://github.com/session-foundation/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="splitdebug bindist mirror strip test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
)
|
||||
dev-libs/expat
|
||||
>=dev-libs/glib-2.35
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[X(+)]
|
||||
net-print/cups
|
||||
sys-apps/dbus[X]
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/pango
|
||||
"
|
||||
DESTDIR="/opt/${MY_PN}"
|
||||
|
||||
QA_PREBUILT="
|
||||
${DESTDIR#/}/session-desktop
|
||||
${DESTDIR#/}/chrome_crashpad_handler
|
||||
${DESTDIR#/}/chrome-sandbox
|
||||
${DESTDIR#/}/libffmpeg.so
|
||||
${DESTDIR#/}/libvk_swiftshader.so
|
||||
${DESTDIR#/}/libvulkan.so.1
|
||||
${DESTDIR#/}/libEGL.so
|
||||
${DESTDIR#/}/libGLESv2.so
|
||||
${DESTDIR#/}/libVkICD_mock_icd.so
|
||||
${DESTDIR#/}/swiftshader/libEGL.so
|
||||
${DESTDIR#/}/swiftshader/libGLESv2.so
|
||||
${DESTDIR#/}/resources/app.asar.unpacked/node_modules/*
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
pkg_pretend(){
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_unpack(){
|
||||
default
|
||||
unpack ../work/data.tar.xz
|
||||
unpack ../work/usr/share/doc/session-desktop/changelog.gz
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
default
|
||||
|
||||
pushd "opt/Session/locales/" >/dev/null || die "location change for language cleanup failed"
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die "location reset for language cleanup failed"
|
||||
|
||||
sed -i 's|/opt/Session/session-desktop|/opt/session-desktop/session-desktop|g' \
|
||||
"${S}/usr/share/applications/session-desktop.desktop" || die "error changing .desktop file"
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
default
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /
|
||||
dodoc changelog
|
||||
|
||||
insinto /usr/share
|
||||
doins -r usr/share/applications
|
||||
doins -r usr/share/icons
|
||||
|
||||
pushd "opt/Session/" > /dev/null || die "change dir failed"
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so libvulkan.so.1
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
|
||||
insopts -m0755
|
||||
doins -r locales resources
|
||||
|
||||
popd > /dev/null || die "change dir reset failed"
|
||||
|
||||
fowners root "${DESTDIR}/chrome-sandbox"
|
||||
fperms 4711 "${DESTDIR}/chrome-sandbox"
|
||||
|
||||
dosym -r "${DESTDIR}/${MY_PN}" "/usr/bin/${MY_PN}"
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "sound support" \
|
||||
media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
|
||||
optfeature "system tray support" dev-libs/libappindicator
|
||||
}
|
||||
Reference in New Issue
Block a user