insync and brave version bump.
This commit is contained in:
parent
c3cb54b4c5
commit
a9e7658f21
3 changed files with 254 additions and 0 deletions
64
app-office/insync/insync-3.8.6.50504.ebuild
Normal file
64
app-office/insync/insync-3.8.6.50504.ebuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit rpm xdg-utils
|
||||
|
||||
DESCRIPTION="Advanced cross-platform Google Drive and Microsoft OneDrive client"
|
||||
HOMEPAGE="https://www.insynchq.com/"
|
||||
|
||||
SRC_URI="http://s.insynchq.com/builds/insync_${PV}-kinetic_amd64.deb"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/glibc-2.29
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/insync-3-fix-ca-path.patch"
|
||||
"${FILESDIR}/insync-3-lib64.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack "insync_${PV}-kinetic_amd64.deb"
|
||||
unpack ${WORKDIR}"/data.tar.gz"
|
||||
|
||||
mkdir -p "${S}"
|
||||
mv "${WORKDIR}"/usr "${S}"/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gzip -d usr/share/doc/insync/changelog.gz
|
||||
dodoc usr/share/doc/insync/changelog
|
||||
rm -rf "${WORKDIR}"/"${P}"/usr/share/doc/
|
||||
|
||||
cp -pPR "${WORKDIR}"/"${P}"/usr/ "${D}"/ || die "Installation failed"
|
||||
mv "${D}"/usr/lib "${D}"/usr/lib64
|
||||
rm -Rf "${D}"/usr/lib64/.build-id
|
||||
gunzip "${D}"/usr/share/man/man1/insync.1.gz
|
||||
|
||||
echo "SEARCH_DIRS_MASK=\"/usr/lib*/insync\"" > "${T}/70-${PN}" || die
|
||||
|
||||
insinto "/etc/revdep-rebuild" && doins "${T}/70-${PN}" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
58
net-misc/nxplayer/nxplayer-8.10.1.1.ebuild
Normal file
58
net-misc/nxplayer/nxplayer-8.10.1.1.ebuild
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit wrapper desktop
|
||||
|
||||
MY_V=$(ver_cut 1-2)
|
||||
MY_PV=$(ver_rs 3 '_')
|
||||
|
||||
DESCRIPTION="NoMachine all-in-one package"
|
||||
HOMEPAGE="https://www.nomachine.com"
|
||||
# https://download.nomachine.com/packages/8.10-PRODUCTION/Linux/nomachine-enterprise-desktop_8.10.1_1_x86_64.tar.gz
|
||||
SRC_URI="amd64? ( https://download.nomachine.com/download/${MY_V}/Linux/${PN}_${MY_PV}_x86_64.tar.gz )
|
||||
arm64? ( https://download.nomachine.com/download/${MY_V}/Arm/${PN}_${MY_PV}_aarch64.tar.gz )"
|
||||
S="${WORKDIR}/NX/etc/NX/server/packages"
|
||||
|
||||
LICENSE="nomachine"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="+nxserver +nxnode +nxrunner +nxplayer"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
BDEPEND=""
|
||||
RDEPEND="dev-libs/glib:2
|
||||
sys-libs/libudev-compat
|
||||
virtual/libcrypt:0
|
||||
dev-libs/openssl:0"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
local NXROOT=/opt/NX
|
||||
###doicon "${NXROOT}/share/icons/48x48/NoMachine-desktop.png"
|
||||
dodir /opt
|
||||
|
||||
if use nxserver ; then
|
||||
tar xzof nxserver.tar.gz -C "${D}"/opt
|
||||
make_desktop_entry "/opt/bin/nxserver" "nxserver" "${NXROOT}/share/icons/48x48/NoMachine-desktop.png" "Network" ""
|
||||
make_wrapper nxserver ${NXROOT}/bin/nxserver ${NXROOT} ${NXROOT}/lib /opt/bin
|
||||
fi
|
||||
if use nxnode ; then
|
||||
tar xzof nxnode.tar.gz -C "${D}"/opt
|
||||
make_desktop_entry "/opt/bin/nxnode" "nxnode" "${NXROOT}/share/icons/48x48/NoMachine-desktop.png" "Network" ""
|
||||
make_wrapper nxnode ${NXROOT}/bin/nxnode ${NXROOT} ${NXROOT}/lib /opt/bin
|
||||
fi
|
||||
if use nxrunner ; then
|
||||
tar xzof nxrunner.tar.gz -C "${D}"/opt
|
||||
make_desktop_entry "/opt/bin/nxrunner" "nxrunner" "${NXROOT}/share/icons/48x48/NoMachine-desktop.png" "Network" ""
|
||||
make_wrapper nxrunner ${NXROOT}/bin/nxrunner ${NXROOT} ${NXROOT}/lib /opt/bin
|
||||
fi
|
||||
if use nxplayer ; then
|
||||
tar xzof nxplayer.tar.gz -C "${D}"/opt
|
||||
make_desktop_entry "/opt/bin/nxplayer" "nxplayer" "${NXROOT}/share/icons/48x48/NoMachine-desktop.png" "Network" ""
|
||||
make_wrapper nxplayer ${NXROOT}/bin/nxplayer ${NXROOT} ${NXROOT}/lib /opt/bin
|
||||
fi
|
||||
}
|
132
www-client/brave-bin/brave-bin-1.61.101.ebuild
Normal file
132
www-client/brave-bin/brave-bin-1.61.101.ebuild
Normal file
|
@ -0,0 +1,132 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=*
|
||||
|
||||
BRAVE_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
|
||||
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
|
||||
"
|
||||
|
||||
inherit chromium-2 xdg-utils desktop
|
||||
|
||||
DESCRIPTION="Brave Web Browser"
|
||||
HOMEPAGE="https://brave.com"
|
||||
SRC_URI="amd64? ( https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser-${PV}-linux-amd64.zip )
|
||||
arm64? ( https://github.com/brave/brave-browser/releases/download/v${PV}/brave-browser-${PV}-linux-arm64.zip )"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64"
|
||||
IUSE="gnome-keyring"
|
||||
|
||||
# gconf is deprecated.
|
||||
# DEPEND="gnome-base/gconf:2"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-libs/libpthread-stubs
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libxkbcommon
|
||||
dev-libs/glib
|
||||
dev-libs/nss
|
||||
dev-libs/nspr
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
dev-libs/expat
|
||||
media-libs/alsa-lib
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
dev-libs/gobject-introspection
|
||||
dev-libs/atk
|
||||
app-accessibility/at-spi2-core
|
||||
app-accessibility/at-spi2-atk
|
||||
x11-libs/gtk+
|
||||
x11-libs/gdk-pixbuf
|
||||
dev-libs/libffi
|
||||
dev-libs/libpcre
|
||||
net-libs/gnutls
|
||||
sys-libs/zlib
|
||||
dev-libs/fribidi
|
||||
media-libs/harfbuzz
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/pixman
|
||||
>=media-libs/libpng-1.6.34
|
||||
media-libs/libepoxy
|
||||
dev-libs/libbsd
|
||||
dev-libs/libunistring
|
||||
dev-libs/libtasn1
|
||||
dev-libs/nettle
|
||||
dev-libs/gmp
|
||||
net-dns/libidn2
|
||||
media-gfx/graphite2
|
||||
app-arch/bzip2
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
pushd "${S}/locales" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() (
|
||||
shopt -s extglob
|
||||
|
||||
declare BRAVE_HOME=/opt/${BRAVE_PN}
|
||||
|
||||
dodir ${BRAVE_HOME%/*}
|
||||
|
||||
insinto ${BRAVE_HOME}
|
||||
doins -r *
|
||||
# Brave has a bug in 1.27.105 where it needs crashpad_handler chmodded
|
||||
# Delete crashpad_handler when https://github.com/brave/brave-browser/issues/16985 is resolved.
|
||||
exeinto ${BRAVE_HOME}
|
||||
doexe brave chrome_crashpad_handler
|
||||
|
||||
dosym ${BRAVE_HOME}/brave /usr/bin/${PN} || die
|
||||
|
||||
# Install Icons for Brave.
|
||||
newicon "${WORKDIR}/product_logo_128.png" "${PN}.png" || die
|
||||
newicon -s 128 "${WORKDIR}/product_logo_128.png" "${PN}.png" || die
|
||||
|
||||
# install-xattr doesnt approve using domenu or doins from FILESDIR
|
||||
cp "${FILESDIR}"/${PN}.desktop "${S}"
|
||||
domenu "${S}"/${PN}.desktop
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
elog "If upgrading from an 0.25.x release or earlier, note that Brave has changed configuration folders."
|
||||
elog "you will have to import your browser data from Settings -> People -> Import Bookmarks and Settings"
|
||||
elog "then choose \"Brave (old)\". All your settings, bookmarks, and passwords should return."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Loading…
Reference in a new issue