|
|
|
@ -113,8 +113,8 @@ src_prepare() {
|
|
|
|
|
|
|
|
|
|
default
|
|
|
|
|
|
|
|
|
|
patchelf --remove-rpath "${S}/${BROWSER_HOME}/chrome-sandbox" || die "Failed to fix library rpath (chrome-sandbox)"
|
|
|
|
|
patchelf --remove-rpath "${S}/${BROWSER_HOME}/sputnik_client" || die "Failed to fix library rpath (sputnik_client)"
|
|
|
|
|
# patchelf --remove-rpath "${S}/${BROWSER_HOME}/chrome-sandbox" || die "Failed to fix library rpath (chrome-sandbox)"
|
|
|
|
|
# patchelf --remove-rpath "${S}/${BROWSER_HOME}/sputnik_client" || die "Failed to fix library rpath (sputnik_client)"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
@ -139,8 +139,8 @@ src_install() {
|
|
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
|
xdg_desktop_database_update
|
|
|
|
|
if [ -f "/opt/sputnik-browser/params.dat" ] && [ -f "/opt/sputnik-browser/config.dat" ] && [ -f /opt/sputnik-browser/sputnik_client ]; then
|
|
|
|
|
/opt/sputnik-browser/sputnik_client --generate_branding & wait
|
|
|
|
|
if [ -f "/opt/${MY_PN}/params.dat" ] && [ -f "/opt/${MY_PN}/config.dat" ] && [ -f /opt/${MY_PN}/sputnik_client ]; then
|
|
|
|
|
/opt/${MY_PN}/sputnik_client --generate_branding & wait
|
|
|
|
|
fi
|
|
|
|
|
}
|
|
|
|
|
|