Merge remote-tracking branch 'upstream/master' into master
This commit is contained in:
commit
ce00f5e2fc
@ -1,3 +1,4 @@
|
||||
DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47
|
||||
DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9
|
||||
DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1
|
||||
DIST vscodium-bin-1.50.0.tar.gz 97501359 BLAKE2B d018ccc6f74bcb641070332934b32796c4b82b56c9865f5d56772ea7dfa71d3ff99697bde7e2a3c2d3bb2243c26c881abd20a9ab28ddd0b250b2112cee929cf3 SHA512 63281fe8c3d3fb4a816162a6483552b289e3f8738dc00e979e50baa9e8fba28ed84909adbad228cd3f249f3c7b295ec13da5c64ff8beb69f3a630e78ffca14de
|
||||
|
63
app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild
Normal file
63
app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild
Normal file
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Open Source Software Binaries of VSCode"
|
||||
HOMEPAGE="https://github.com/VSCodium/vscodium"
|
||||
SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="libsecret"
|
||||
|
||||
DEPEND="
|
||||
>=media-libs/libpng-1.2.46:0
|
||||
>=x11-libs/gtk+-3.0:3
|
||||
x11-libs/cairo
|
||||
x11-libs/libXtst
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=net-print/cups-2.0.0
|
||||
dev-libs/nss
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libnotify
|
||||
libsecret? (
|
||||
app-crypt/libsecret[crypt]
|
||||
)
|
||||
"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
opt/${PN}/code
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
|
||||
dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin"
|
||||
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
|
||||
newicon "resources/app/resources/linux/code.png" codium-bin.png
|
||||
fperms +x "/opt/${PN}/codium"
|
||||
fperms +x "/opt/${PN}/bin/codium"
|
||||
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
|
||||
insinto "/usr/share/licenses/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST ONLYOFFICE-DesktopEditors-5.6.0_amd64.deb 180022552 BLAKE2B 841c1876f8d6713dcd1102e37989d4908cfe889f247e887f71b231810f35d0fb974177dfaa083c12276b56f318307c02cd411a40a73eba383915c9ccbb7129e7 SHA512 6a757d547d5bcd7b4c6e112fdb67d308d0e26e75d5e13fdea0767e2a5778f4cafd71821cc950cf191bcc4c91d7d5c32c0e7e935709b8572a19ac5937e05141c3
|
||||
DIST ONLYOFFICE-DesktopEditors-5.6.4_amd64.deb 179286302 BLAKE2B 8339b2a0717561f12b35efaba02fa0ff505e1f391f3d4694e2b199c72c4e87be7d5de4df0e6ae08a7eb232146ded5c5eca742202c651da69d36b94ced29e188f SHA512 ae3e1401c6f0ed266475468ab38c6507788005bb234afb79e9bccaf379b6b0d1bfe0fdbe25c8eaf78f35ee0d3e5548dff968e8659e55a6f9d1a6e0ffc25ccfcd
|
||||
DIST ONLYOFFICE-DesktopEditors-6.0.0_amd64.deb 200973674 BLAKE2B 95c8dd8878778190b0e8221d6196027090a43ad722807f0c1f25979ca2d1cf88baafb7d3f8685a7aa6a0b60da6f45a3d2bf4207ff8b52c95a9c86e5418119add SHA512 59dcd4046dfb303b90ca1ef79fe71a3013a529db8a716a8d22a90b71596c1eef51358f7a309559a00fade100b13e4a7b104328593effeac09ce104358279e8c0
|
||||
|
@ -1,116 +0,0 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop gnome2-utils multilib unpacker xdg-utils
|
||||
|
||||
MY_PN="ONLYOFFICE-DesktopEditors"
|
||||
MY_P="${MY_PN}-${PVR//r}"
|
||||
|
||||
DESCRIPTION="onlyoffice is an office productivity suite (binary version)"
|
||||
HOMEPAGE="https://www.onlyoffice.com/"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||
)
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
RESTRICT="mirror strip"
|
||||
LICENSE="AGPL-3"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/libffi
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/nss
|
||||
dev-libs/atk
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtmultimedia:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtx11extras:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
media-libs/fontconfig:1.0
|
||||
media-libs/freetype:2
|
||||
media-libs/glu
|
||||
media-libs/gst-plugins-base
|
||||
media-libs/gstreamer
|
||||
net-misc/curl
|
||||
virtual/opengl
|
||||
media-libs/tiff
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
x11-libs/libdrm
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXxf86vm
|
||||
media-libs/libmng
|
||||
media-fonts/dejavu
|
||||
media-fonts/crosextrafonts-carlito
|
||||
net-print/cups
|
||||
net-misc/wget
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-db/sqlite:3
|
||||
net-libs/libcurl-gnutls
|
||||
!app-office/onlyoffice
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/fixshellsyntax.patch" )
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack(){
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"
|
||||
cp -r . "${D}"
|
||||
local res
|
||||
for res in 16 24 32 48 64 128 256; do
|
||||
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
||||
done
|
||||
dosym "${EPREFIX}/usr/$(get_libdir)/libcurl-gnutls.so.4" "${EPREFIX}/opt/onlyoffice/desktopeditors/libcurl-gnutls.so.4"
|
||||
}
|
||||
|
||||
pkg_preinst(){
|
||||
gnome2_gconf_savelist
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_gconf_install
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_gconf_uninstall
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
54
app-office/onlyoffice-bin/onlyoffice-bin-6.0.0.ebuild
Normal file
54
app-office/onlyoffice-bin/onlyoffice-bin-6.0.0.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop gnome2-utils multilib unpacker xdg
|
||||
|
||||
MY_PN="ONLYOFFICE-DesktopEditors"
|
||||
MY_P="${MY_PN}-${PVR//r}"
|
||||
|
||||
DESCRIPTION="onlyoffice is an office productivity suite (binary version)"
|
||||
HOMEPAGE="https://www.onlyoffice.com/"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/ONLYOFFICE/DesktopEditors/releases/download/${MY_P}/${PN/bin/desktopeditors}_amd64.deb -> ${MY_P}_amd64.deb
|
||||
)
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
RESTRICT="mirror strip"
|
||||
LICENSE="AGPL-3"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:3
|
||||
dev-libs/nss
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pixman
|
||||
media-gfx/graphite2
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
dev-db/sqlite:3
|
||||
net-libs/libcurl-gnutls
|
||||
!app-office/onlyoffice
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack(){
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"
|
||||
cp -r . "${D}"
|
||||
local res
|
||||
for res in 16 24 32 48 64 128 256; do
|
||||
doicon -s ${res} opt/onlyoffice/desktopeditors/asc-de-${res}.png
|
||||
done
|
||||
}
|
@ -5,7 +5,9 @@ EAPI=7
|
||||
|
||||
MY_PN="scripts"
|
||||
|
||||
inherit eutils git-r3
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
inherit eutils git-r3 python-r1
|
||||
|
||||
DESCRIPTION="Small scripts from src_prepare group"
|
||||
HOMEPAGE="https://gitlab.com/src_prepare/scripts"
|
||||
@ -18,14 +20,26 @@ RESTRICT="
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-admin/eselect
|
||||
app-portage/eix
|
||||
app-portage/repoman
|
||||
app-shells/bash:*
|
||||
dev-lang/perl
|
||||
dev-util/pkgcheck
|
||||
sys-apps/portage
|
||||
|| (
|
||||
app-portage/euscan
|
||||
app-portage/euscan-ng
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pylint
|
||||
dev-python/pylint[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-util/shellcheck
|
||||
dev-util/shellcheck-bin
|
||||
|
@ -1 +1,2 @@
|
||||
DIST pandoc-2.10.1-linux-amd64.tar.gz 24738243 BLAKE2B b139274bbce6c8ee57ab9a29d6bd1bab23b543a8e93841dfa2f5640b944a5e927360517d9e9f840c73a6ca1455d678ef780577279f9cea34ea985ba2298de2c9 SHA512 5de8bcdf4c008e4521432cd4af86e7b8f6e309b8373a43b8d51b91825a1cc7e05fd59c24ef606b5ea92403383c9c5cb565f3c5f4335148b30cd4bc92211a7b83
|
||||
DIST pandoc-2.11.0.2-linux-amd64.tar.gz 16461694 BLAKE2B 28c318d4afdc3e320772c5b7048868b4d94fae40d9237e030eeefc104344f9669796c1828a9e3bffe311708235b0d637886606a56cde9480f2dc60c3647d0148 SHA512 fa3ffaba6e1686840d91e0b6c37d34734d4b11664cd0a898d1338f2379f0fa09b02989432b3bdaa9df08ea4baee092b1ec6b98ecb48f8680f0a2f4ebba104a11
|
||||
|
42
app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild
Normal file
42
app-text/pandoc-bin/pandoc-bin-2.11.0.2.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN//-bin/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Universal markup converter"
|
||||
HOMEPAGE="https://pandoc.org"
|
||||
SRC_URI="https://github.com/jgm/${MY_PN}/releases/download/${PV}/${MY_P}-linux-amd64.tar.gz"
|
||||
|
||||
RESTRICT="mirror bindist"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
!app-text/${MY_PN}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_PRESTRIPPED="
|
||||
usr/bin/${MY_PN}
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
# manpages are gzipped
|
||||
find . -name "*.gz" | xargs gunzip
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${S}/bin" || die
|
||||
dobin "${MY_PN}"
|
||||
|
||||
cd "${S}/share/man/man1" || die
|
||||
doman "${MY_PN}.1"
|
||||
}
|
1
dev-lang/lci/Manifest
Normal file
1
dev-lang/lci/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST lci-0.11.2.tar.gz 312257 BLAKE2B 91b8f11fb7ad68f3774f3cda324f4ae120552cb735a96db517331efc0a8bc61e9d24b4316dc074129913c09a4ed162d337a8ea9a0e9b6366ce6692abc4107b5a SHA512 37e94cb6c51c0a41e6cc8953c5314b0f25a898f853053f748ad09af82f9c1948054866f7f2cee8e9f9c517a05bd7b367ea44f73aa74f63719ea25d9e0f507a73
|
25
dev-lang/lci/lci-0.11.2.ebuild
Normal file
25
dev-lang/lci/lci-0.11.2.ebuild
Normal file
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="LOLCODE interpreter written in C"
|
||||
HOMEPAGE="http://www.lolcode.org/"
|
||||
SRC_URI="https://github.com/justinmeza/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? (
|
||||
app-doc/doxygen
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
use doc && cmake_src_compile docs
|
||||
}
|
4
dev-lang/lci/metadata.xml
Normal file
4
dev-lang/lci/metadata.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
1
games-arcade/tetrio-desktop/Manifest
Normal file
1
games-arcade/tetrio-desktop/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST TETR.IO%20Setup.tar.gz 72765864 BLAKE2B 1b3e3673cb5ea460f6097b8732ac2cb6fd8298474560484b4d1bd3b086338a574db17dd32c3e7bca98d0a59ad581ba78acba9658eff4d7398a85a4ce9d34e651 SHA512 b8240b19654a4b5be012ce192407f090c73866fdf93fbddf45fac2aab7b59bfc3356cb83374298e0ee057f31d2aa0dd82ec215b5c1b9357d659bb7e82bc2946d
|
4
games-arcade/tetrio-desktop/metadata.xml
Normal file
4
games-arcade/tetrio-desktop/metadata.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
24
games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild
Normal file
24
games-arcade/tetrio-desktop/tetrio-desktop-4.0.0.ebuild
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="TETR.IO desktop client"
|
||||
HOMEPAGE="https://tetr.io/"
|
||||
SRC_URI="https://tetr.io/about/desktop/builds/TETR.IO%20Setup.tar.gz"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install(){
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
dosym "../../opt/${PN}/tetrio-desktop" "/usr/bin/tetrio-desktop"
|
||||
make_desktop_entry "tetrio-desktop" "TETR.IO Desktop" "" "Game;ArcadeGame"
|
||||
fperms +x "/opt/${PN}/tetrio-desktop"
|
||||
insinto "/usr/share/licenses/${PN}"
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
DIST sensu-5.19.3.tar.gz 2823471 BLAKE2B 8f9578285695d2d3890940a61aada03a30ee8649277fd9fa3ce651ddb0eeefae758acdb05247a346488b69e5b21fb41d50c41c868bf663406410d9995c31c663 SHA512 9084bb7ee434d9dcfd291106bc13657590bef943e08be0b7687e26730a125c1ba4ea6045d62cb946e5fa224022fcd029c208b99ce6b95abbf908f3f72b45d0ce
|
||||
DIST sensu-5.21.3.tar.gz 2906142 BLAKE2B 5a03f1893b6a6f2715630cf61db829ee4920b63fedf5def4d82ddd8330dcb547c9fd12be98927c57f2be4f1704320bc29c0a68d1c0df1ccba2f8153bb9e0992e SHA512 609c3e14a6d2e5e89c65e535bf560ffaa055b93406a183c3a9221569de07dc6443087ba81c9b564b29c9267ea18e9a39a009107348ec03c23b91de6e6349afe4
|
||||
DIST sensu_5.19.3_agent.yml 1379 BLAKE2B b1145ec12c85950c6cae834a666bc9e8186d8072184f56b4129d9c9ab8a98454080effdbbf87bcd777d852c78acf96b53fdf865306e3d984cbdc21a2dee832dc SHA512 d70899325f16231d88ca1c1a5660b4bb2444f42ec12c11b4cb68aabc0f23a2d1e2a068362e711b1fc1b14efdc7db033ca2fc069944b554a40f35a2a160dda353
|
||||
DIST sensu_5.19.3_backend.yml 1771 BLAKE2B 4c2745f601a84e4aa444dedd4dbc2445652a94f48a784b7237038864c111b40f0370aefa9cbd7922c9881a437f0cf97d8aecb07a85d2b6723a6af3ce3555e8e2 SHA512 d6adc6180585f1505e5807a7be743b8f2e405a16aab0e54b5de0e1e64276cd8a0d93be66e72ca48f9fb8f2aebf8169b2d70ab17fc1a3aeb81e4b32a4bf757264
|
||||
DIST sensu_5.21.3_agent.yml 1379 BLAKE2B b1145ec12c85950c6cae834a666bc9e8186d8072184f56b4129d9c9ab8a98454080effdbbf87bcd777d852c78acf96b53fdf865306e3d984cbdc21a2dee832dc SHA512 d70899325f16231d88ca1c1a5660b4bb2444f42ec12c11b4cb68aabc0f23a2d1e2a068362e711b1fc1b14efdc7db033ca2fc069944b554a40f35a2a160dda353
|
||||
DIST sensu_5.21.3_backend.yml 1768 BLAKE2B e23f87262dca21dadb42b7c7148e5bce011e4486b584d270590c39c66e01afd65820d102c87cc3c8bd8c8da46ab893829ee0a6a576d0a29e235fdf80df79a14a SHA512 43a5ffe5218992acfdecf61ab4e8d46ec88ed6c9926b5e24080735e4ad1a032841643b98fdeb7c359451be5c756a9708bd015c043b9cf28f746ca10dd8f192a9
|
||||
|
185
net-analyzer/sensu/sensu-5.21.3.ebuild
Normal file
185
net-analyzer/sensu/sensu-5.21.3.ebuild
Normal file
@ -0,0 +1,185 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
#inherit go-module
|
||||
|
||||
EGO_SUM=(
|
||||
"github.com/AlecAivazis/survey v1.4.1"
|
||||
"github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78"
|
||||
"github.com/NYTimes/gziphandler v0.0.0-20180227021810-5032c8878b9d"
|
||||
"github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f"
|
||||
"github.com/ash2k/stager v0.0.0-20170622123058-6e9c7b0eacd4"
|
||||
"github.com/atlassian/gostatsd v0.0.0-20180514010436-af796620006e"
|
||||
"github.com/coreos/bbolt v1.3.3"
|
||||
"github.com/coreos/etcd v3.3.17+incompatible"
|
||||
"github.com/coreos/go-semver v0.3.0"
|
||||
"github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f"
|
||||
"github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f"
|
||||
"github.com/dave/jennifer v0.0.0-20171207062344-d8bdbdbee4e1"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible"
|
||||
"github.com/docker/docker v0.0.0-20180409082103-cbde00b44273"
|
||||
"github.com/echlebek/crock v1.0.1"
|
||||
"github.com/echlebek/timeproxy v1.0.0"
|
||||
"github.com/emicklei/proto v1.1.0"
|
||||
"github.com/frankban/quicktest v1.7.2"
|
||||
"github.com/ghodss/yaml v1.0.0"
|
||||
"github.com/go-ole/go-ole v0.0.0-20170209151332-de8695c8edbf"
|
||||
"github.com/go-resty/resty/v2 v2.1.0"
|
||||
"github.com/gogo/protobuf v1.3.1"
|
||||
"github.com/golang/groupcache v0.0.0-20191002201903-404acd9df4cc"
|
||||
"github.com/golang/protobuf v1.3.2"
|
||||
"github.com/google/uuid v1.1.1"
|
||||
"github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f"
|
||||
"github.com/gorilla/mux v1.6.2"
|
||||
"github.com/gorilla/websocket v1.4.1"
|
||||
"github.com/gotestyourself/gotestyourself v2.2.0+incompatible"
|
||||
"github.com/graph-gophers/dataloader v0.0.0-20180104184831-78139374585c"
|
||||
"github.com/graphql-go/graphql v0.7.9-0.20191125031726-2e2b648ecbe4"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.1.0"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.11.3"
|
||||
"github.com/gxed/GoEndian v0.0.0-20160916112711-0f5c6873267e"
|
||||
"github.com/gxed/eventfd v0.0.0-20160916113412-80a92cca79a8"
|
||||
"github.com/hashicorp/go-version v1.2.0"
|
||||
"github.com/ipfs/go-log v0.0.0-20180416040000-7ecd3df29a4a"
|
||||
"github.com/jbenet/go-reuseport v0.0.0-20180416043609-15a1cd37f050"
|
||||
"github.com/json-iterator/go v1.1.7"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.2"
|
||||
"github.com/libp2p/go-reuseport v0.0.0-20180416043609-15a1cd37f050"
|
||||
"github.com/libp2p/go-sockaddr v0.0.0-20180329070516-f3e9f73a53d1"
|
||||
"github.com/mattn/go-colorable v0.0.9"
|
||||
"github.com/mattn/go-isatty v0.0.2"
|
||||
"github.com/mattn/go-runewidth v0.0.2"
|
||||
"github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b"
|
||||
"github.com/mholt/archiver/v3 v3.3.1-0.20191129193105-44285f7ed244"
|
||||
"github.com/mitchellh/go-homedir v1.1.0"
|
||||
"github.com/mitchellh/mapstructure v1.1.2"
|
||||
"github.com/olekukonko/tablewriter v0.0.0-20180506121414-d4647c9c7a84"
|
||||
"github.com/prometheus/client_golang v1.2.0"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4"
|
||||
"github.com/robertkrimen/otto v0.0.0-20180617131154-15f95af6e78d"
|
||||
"github.com/robfig/cron/v3 v3.0.0"
|
||||
"github.com/sensu/lasr v1.2.1"
|
||||
"github.com/shirou/gopsutil v0.0.0-20180801053943-8048a2e9c577"
|
||||
"github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4"
|
||||
"github.com/sirupsen/logrus v1.4.2"
|
||||
"github.com/spf13/cobra v0.0.5"
|
||||
"github.com/spf13/pflag v1.0.5"
|
||||
"github.com/spf13/viper v1.4.0"
|
||||
"github.com/stretchr/testify v1.4.0"
|
||||
"github.com/whyrusleeping/go-logging v0.0.0-20170515211332-0457bb6b88fc"
|
||||
"github.com/willf/pad v0.0.0-20160331131008-b3d780601022"
|
||||
"go.etcd.io/bbolt v1.3.2"
|
||||
"go.uber.org/multierr v1.2.0"
|
||||
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550"
|
||||
"golang.org/x/net v0.0.0-20191014212845-da9a3fd4c582"
|
||||
"golang.org/x/sys v0.0.0-20191113165036-4c7a9d0fe056"
|
||||
"golang.org/x/text v0.3.2"
|
||||
"golang.org/x/time v0.0.0-20190921001708-c4c64cad1fd0"
|
||||
"google.golang.org/genproto v0.0.0-20191009194640-548a555dbc03"
|
||||
"google.golang.org/grpc v1.24.0"
|
||||
"gopkg.in/AlecAivazis/survey.v1 v1.4.0"
|
||||
"gopkg.in/h2non/filetype.v1 v1.0.3"
|
||||
"gopkg.in/sourcemap.v1 v1.0.5"
|
||||
"gopkg.in/yaml.v2 v2.2.4"
|
||||
"gotest.tools v2.2.0+incompatible"
|
||||
"sigs.k8s.io/yaml v1.1.0"
|
||||
)
|
||||
|
||||
#go-module_set_globals
|
||||
|
||||
DESCRIPTION="Simple. Scalable. Multi-cloud monitoring."
|
||||
HOMEPAGE="https://sensu.io"
|
||||
#SRC_URI="
|
||||
# https://github.com/${PN}/${PN}-go/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
# ${EGO_SUM_SRC_URI}"
|
||||
|
||||
MAJOR_MINOR_VERSION="5.21"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}-go/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
backend? ( https://docs.sensu.io/sensu-go/${MAJOR_MINOR_VERSION}/files/backend.yml -> ${PN}_${PV}_backend.yml )
|
||||
agent? ( https://docs.sensu.io/sensu-go/${MAJOR_MINOR_VERSION}/files/agent.yml -> ${PN}_${PV}_agent.yml )
|
||||
"
|
||||
|
||||
PROPERTIES+=" live"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
|
||||
IUSE="agent backend gcc systemd"
|
||||
|
||||
BDEPEND+="
|
||||
!gcc? ( dev-lang/go )
|
||||
gcc? ( sys-devel/gcc[go] )
|
||||
sys-apps/coreutils
|
||||
app-arch/tar
|
||||
app-arch/gzip
|
||||
"
|
||||
|
||||
RDEPEND+="
|
||||
virtual/libc
|
||||
acct-group/sensu
|
||||
acct-user/sensu
|
||||
"
|
||||
|
||||
#S="${S}/${PN}"
|
||||
#S="${WORKDIR}/${PN}-go-${PV}"
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
if [ -z ${I_KNOW_WHAT_IM_DOING} ]; then
|
||||
local I_KNOW_WHAT_IM_DOING=0
|
||||
fi
|
||||
if use gcc; then
|
||||
die "Compilation with GCC is not supported yet."
|
||||
fi
|
||||
if use systemd; then
|
||||
die "We don't have systemd unit files yet."
|
||||
fi
|
||||
if use backend && (use x86 || use arm) && [ ${I_KNOW_WHAT_IM_DOING} -eq 0 ]; then
|
||||
die "Backend does not work reliably on 32bit hosts. If you really want this, re-emerge with I_KNOW_WHAT_IM_DOING=1"
|
||||
fi
|
||||
tar -xf "${DISTDIR}"/sensu-${PV}.tar.gz
|
||||
cd ${PN}-go-${PV}
|
||||
local TODAY=$(date +%Y-%m-%d)
|
||||
local BUILD_SIGNATURE="-X github.com/sensu/sensu-go/version.Version=${PV} -X github.com/sensu/sensu-go/version.BuildDate=${TODAY}"
|
||||
if use agent; then
|
||||
go build -ldflags "${BUILD_SIGNATURE}" -o bin/sensu-agent ./cmd/sensu-agent >/dev/null
|
||||
cp "${DISTDIR}"/"${PN}"_"${PV}"_agent.yml "${S}"/agent.yml.example
|
||||
fi
|
||||
if use backend; then
|
||||
go build -ldflags "${BUILD_SIGNATURE}" -o bin/sensu-backend ./cmd/sensu-backend >/dev/null
|
||||
cp "${DISTDIR}"/"${PN}"_"${PV}"_backend.yml "${S}"/backend.yml.example
|
||||
fi
|
||||
go build -ldflags "${BUILD_SIGNATURE}" -o bin/sensuctl ./cmd/sensuctl >/dev/null
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use agent; then
|
||||
doinitd "${FILESDIR}"/init.d/sensu-agent
|
||||
doconfd "${FILESDIR}"/conf.d/sensu-agent
|
||||
insinto /etc/sensu
|
||||
doins agent.yml.example
|
||||
dosbin "${PN}-go-${PV}"/bin/sensu-agent
|
||||
fi
|
||||
if use backend; then
|
||||
doexe "${FILESDIR}"/init.d/sensu-backend
|
||||
doins "${FILESDIR}"/conf.d/sensu-backend
|
||||
insinto /etc/sensu
|
||||
doins backend.yml.example
|
||||
dosbin "${PN}-go-${PV}"/bin/sensu-backend
|
||||
fi
|
||||
dosbin "${PN}-go-${PV}"/bin/sensuctl
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use backend; then
|
||||
elog "If this is your first installation of sensu backend,"
|
||||
elog "you have to initialize your administrative credentials."
|
||||
elog "Simply run the following: (change admin_user and admin_password)"
|
||||
elog "su -s /bin/bash - sensu -c 'SENSU_BACKEND_CLUSTER_ADMIN_USERNAME=admin_user SENSU_BACKEND_CLUSTER_ADMIN_PASSWORD=admin_pass sensu-backend init'"
|
||||
elog "Remember that this command has to be run WHILE sensu-backend service is running."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libcurl-gnutls-7.71.1-1-x86_64.pkg.tar.zst 236395 BLAKE2B 4771999b7336deadee1667592558a38be8a068bc01763473c2a7dc83a34de0b461b7cf4354d9fe6416eed6952ca2f89fa84ce9f0768182903fd7ff2230efef99 SHA512 4b706788c80d43f99f5e598345dcb6015eaddd4722b9a32a0a2120976ff291c37396d5e4351ca8562f4f18b3036f682238e1523017d4bad82c55690af1b5b835
|
||||
DIST libcurl-gnutls-7.73.0-1-x86_64.pkg.tar.zst 243589 BLAKE2B 7fc4ab1ea12a4b1c372d515aedb40f7f24e61fe2fef94f1bc176b15e4ff29cb2517d808e940b0a24eaa87e17e4c76385af4676117d17334550dd504e618a6649 SHA512 df41245d9db064060ac1c2b5e56c3b596970652414c7f42e26f5e18640e9202450d7f34ccb03c8a34346275c656ca480e9ea34619cfbbcb2fcc6c8bbb884b2ee
|
||||
|
47
net-libs/libcurl-gnutls/libcurl-gnutls-7.73.0.ebuild
Normal file
47
net-libs/libcurl-gnutls/libcurl-gnutls-7.73.0.ebuild
Normal file
@ -0,0 +1,47 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="libcurl libraries linked with gnutls"
|
||||
HOMEPAGE="https://curl.haxx.se"
|
||||
MIRROR_URI="https://mirror.rackspace.com/archlinux"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
${MIRROR_URI}/community/os/x86_64/${PN}-${PV}-1-x86_64.pkg.tar.zst
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
COMMON_DEPEND="net-misc/curl[-curl_ssl_gnutls]"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
app-arch/zstd
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
net-libs/nghttp2
|
||||
>=dev-libs/nettle-3.6
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
#QA_PRESTRIPPED="
|
||||
# /usr/lib/libcurl-gnutls-4.5.0
|
||||
# /usr/lib64/libcurl-gnutls-4.5.0
|
||||
# /usr/lib/libcurl-gnutls-4.6.0
|
||||
# /usr/lib64/libcurl-gnutls-4.6.0
|
||||
#"
|
||||
|
||||
src_install(){
|
||||
mkdir -p "${D}/usr/$(get_libdir)"
|
||||
cp -r usr/lib/. "${D}/usr/$(get_libdir)"
|
||||
}
|
252
www-client/palemoon/palemoon-28.14.2.ebuild
Normal file
252
www-client/palemoon/palemoon-28.14.2.ebuild
Normal file
@ -0,0 +1,252 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
GCC_SUPPORTED_VERSIONS="4.9 5.4 7.3 8.2 8.3 9.2 9.3"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
REQUIRED_BUILDSPACE='9G'
|
||||
|
||||
inherit palemoon-v1 git-r3 flag-o-matic pax-utils python-any-r1
|
||||
|
||||
DESCRIPTION="Pale Moon Web Browser"
|
||||
HOMEPAGE="https://www.palemoon.org/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/MoonchildProductions/Pale-Moon.git"
|
||||
EGIT_COMMIT="${PV}_Release"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="
|
||||
cpu_flags_x86_sse
|
||||
cpu_flags_x86_sse2
|
||||
dbus
|
||||
+devtools
|
||||
debug
|
||||
gnome
|
||||
-gtk2
|
||||
+gtk3
|
||||
jemalloc
|
||||
pulseaudio
|
||||
-necko-wifi
|
||||
official-branding
|
||||
+optimize
|
||||
threads
|
||||
-valgrind
|
||||
"
|
||||
REQUIRED_USE="
|
||||
optimize? (
|
||||
!debug
|
||||
)
|
||||
jemalloc? (
|
||||
!valgrind
|
||||
)
|
||||
^^ (
|
||||
gtk2
|
||||
gtk3
|
||||
)
|
||||
necko-wifi? (
|
||||
dbus
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-lang/perl-5.6
|
||||
>=sys-devel/autoconf-2.13:2.1
|
||||
dev-lang/yasm
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/zip
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
virtual/ffmpeg[x264]
|
||||
x11-libs/libXt
|
||||
dbus? (
|
||||
>=sys-apps/dbus-0.60
|
||||
>=dev-libs/dbus-glib-0.60
|
||||
)
|
||||
gnome? (
|
||||
gnome-base/gconf
|
||||
)
|
||||
gtk2? (
|
||||
>=x11-libs/gtk+-2.18.0:2
|
||||
)
|
||||
gtk3? (
|
||||
>=x11-libs/gtk+-3.4.0:3
|
||||
)
|
||||
necko-wifi? (
|
||||
net-wireless/wireless-tools
|
||||
)
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
)
|
||||
valgrind? (
|
||||
dev-util/valgrind
|
||||
)
|
||||
optimize? (
|
||||
sys-libs/glibc
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# Ensure that our plugins dir is enabled by default:
|
||||
sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 32bit!"
|
||||
sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
|
||||
"${S}/platform/xpcom/io/nsAppFileLocationProvider.cpp" \
|
||||
|| die "sed failed to replace plugin path for 64bit!"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Does not build with -fno-common
|
||||
filter-flags -fno-common
|
||||
append-flags -fcommon
|
||||
|
||||
# Basic configuration:
|
||||
mozconfig_init
|
||||
|
||||
mozconfig_disable updater install-strip accessibility
|
||||
|
||||
if use official-branding; then
|
||||
official-branding_warning
|
||||
mozconfig_enable official-branding
|
||||
fi
|
||||
|
||||
if use optimize; then
|
||||
O='-O2'
|
||||
if use cpu_flags_x86_sse && use cpu_flags_x86_sse2; then
|
||||
O="${O} -msse2 -mfpmath=sse"
|
||||
fi
|
||||
mozconfig_enable "optimize=\"${O}\""
|
||||
filter-flags '-O*' '-msse2' '-mfpmath=sse'
|
||||
else
|
||||
mozconfig_disable optimize
|
||||
fi
|
||||
|
||||
if use threads; then
|
||||
mozconfig_with pthreads
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
mozconfig_var MOZ_DEBUG_SYMBOLS 1
|
||||
mozconfig_enable "debug-symbols=\"-gdwarf-2\""
|
||||
fi
|
||||
|
||||
if use jemalloc; then
|
||||
mozconfig_enable jemalloc
|
||||
fi
|
||||
|
||||
if use valgrind; then
|
||||
mozconfig_enable valgrind
|
||||
fi
|
||||
|
||||
if ! use dbus; then
|
||||
mozconfig_disable dbus
|
||||
fi
|
||||
|
||||
if ! use gnome; then
|
||||
mozconfig_disable gconf
|
||||
fi
|
||||
|
||||
if use gtk2; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk2\"
|
||||
fi
|
||||
|
||||
if use gtk3; then
|
||||
mozconfig_enable default-toolkit=\"cairo-gtk3\"
|
||||
fi
|
||||
|
||||
if ! use necko-wifi; then
|
||||
mozconfig_disable necko-wifi
|
||||
fi
|
||||
|
||||
if ! use pulseaudio; then
|
||||
mozconfig_disable pulseaudio
|
||||
fi
|
||||
|
||||
if use devtools; then
|
||||
mozconfig_enable devtools
|
||||
fi
|
||||
|
||||
# Enabling this causes xpcshell to hang during the packaging process,
|
||||
# so disabling it until the cause can be tracked down. It most likely
|
||||
# has something to do with the sandbox since the issue goes away when
|
||||
# building with FEATURES="-sandbox -usersandbox".
|
||||
mozconfig_disable precompiled-startupcache
|
||||
|
||||
# Mainly to prevent system's NSS/NSPR from taking precedence over
|
||||
# the built-in ones:
|
||||
append-ldflags -Wl,-rpath="${EPREFIX}/usr/$(get_libdir)/palemoon"
|
||||
|
||||
export MOZBUILD_STATE_PATH="${WORKDIR}/mach_state"
|
||||
mozconfig_var PYTHON "$(which python2)"
|
||||
mozconfig_var AUTOCONF "$(which autoconf-2.13)"
|
||||
mozconfig_var MOZ_MAKE_FLAGS "\"${MAKEOPTS}\""
|
||||
|
||||
# Shorten obj dir to limit some errors linked to the path size hitting
|
||||
# a kernel limit (127 chars):
|
||||
mozconfig_var MOZ_OBJDIR "@TOPSRCDIR@/o"
|
||||
|
||||
# Disable mach notifications, which also cause sandbox access violations:
|
||||
export MOZ_NOSPAM=1
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Prevents portage from setting its own XARGS which messes with the
|
||||
# Pale Moon build system checks:
|
||||
# See: https://gitweb.gentoo.org/proj/portage.git/tree/bin/isolated-functions.sh
|
||||
XARGS="$(which xargs)"
|
||||
export XARGS
|
||||
|
||||
python2 "${S}/platform/mach" build || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# obj_dir changes depending on arch, compiler, etc:
|
||||
local obj_dir="$(echo */config.log)"
|
||||
obj_dir="${obj_dir%/*}"
|
||||
|
||||
# Disable MPROTECT for startup cache creation:
|
||||
pax-mark m "${obj_dir}"/dist/bin/xpcshell
|
||||
|
||||
# Set the backspace behaviour to be consistent with the other platforms:
|
||||
set_pref "browser.backspace_action" 0
|
||||
|
||||
# Gotta create the package, unpack it and manually install the files
|
||||
# from there not to miss anything (e.g. the statusbar extension):
|
||||
einfo "Creating the package..."
|
||||
python2 "${S}/platform/mach" mozpackage || die
|
||||
local extracted_dir="${T}/package"
|
||||
mkdir -p "${extracted_dir}"
|
||||
cd "${extracted_dir}"
|
||||
einfo "Extracting the package..."
|
||||
find "${S}/${obj_dir}/dist/" -name "*.bz2" -printf "${S}/${obj_dir}/dist/%P" | xargs tar xjpf || die
|
||||
einfo "Installing the package..."
|
||||
local dest_libdir="/usr/$(get_libdir)"
|
||||
mkdir -p "${D}/${dest_libdir}"
|
||||
cp -rL "${PN}" "${D}/${dest_libdir}"
|
||||
dosym "${dest_libdir}/${PN}/${PN}" "/usr/bin/${PN}"
|
||||
einfo "Done installing the package."
|
||||
|
||||
# Until JIT-less builds are supported,
|
||||
# also disable MPROTECT on the main executable:
|
||||
pax-mark m "${D}/${dest_libdir}/${PN}/"{palemoon,palemoon-bin,plugin-container}
|
||||
|
||||
# Install icons and .desktop for menu entry:
|
||||
install_branding_files
|
||||
}
|
Loading…
Reference in New Issue
Block a user