Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-08-02 09:49:05 +00:00
18 changed files with 291 additions and 63 deletions

View File

@@ -1 +1,2 @@
DIST dune-rpc-3.13.1.tar.gz 2891852 BLAKE2B 88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57 SHA512 910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
DIST dune-rpc-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23

View File

@@ -25,10 +25,8 @@ RESTRICT="test"
RDEPEND="
dev-ml/csexp:=
dev-ml/ordering:=
dev-ml/dyn:=
dev-ml/xdg:=
~dev-ml/stdune-${PV}:=
~dev-ml/dune-private-libs-${PV}:=
>=dev-ml/pp-1.1.0:=
"

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Communicate with dune using rpc"
HOMEPAGE="
https://opam.ocaml.org/packages/dune-rpc/
https://github.com/ocaml/dune/
"
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/dune-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
dev-ml/csexp:=
dev-ml/xdg:=
~dev-ml/dune-private-libs-${PV}:=
>=dev-ml/pp-1.1.0:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
>=dev-ml/dune-3.12:=
"
src_configure() {
:
}
src_compile() {
dune-compile dune-rpc
}

View File

@@ -1 +1,2 @@
DIST jsonrpc-1.18.0.tar.gz 908930 BLAKE2B 9b58b7a09442e6f63d914561de14693e6a9557636b14d0c440739c2eb11ba6cabf282ee5e049ec579ba65bd84cebba8b653b5ccef8e9419886bec37dcfcf7cab SHA512 cdf4178015ef1058b148d4d682e329eae1ac8c1e3783eba983a353e7219e657d255dd013989ece4a31d28a0b969720642f1557d324d35adaf12919a46a1b0386
DIST jsonrpc-1.19.0.tar.gz 916311 BLAKE2B 8d04f40aa59215d50596c12fc958d618464048883c7c2a291dba4d6cd49a44571cdefb3328ff98b876dfdfb6fc0b993d53229aa50357fd677d59656455186555 SHA512 ffba27e8b902eab82b0d181e190483b5f52ca4c37086ae7d1a35a5775743a33848580decac56df5d788e3cc5a9c9078390e8089a757842fdfaee21b9d81a7d27

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Jsonrpc protocol implementation"
HOMEPAGE="
https://opam.ocaml.org/packages/jsonrpc/
https://github.com/ocaml/ocaml-lsp
"
SRC_URI="https://github.com/ocaml/ocaml-lsp/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-lsp-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
>=dev-lang/ocaml-4.08:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
>=dev-ml/dune-3.0:=
"
src_compile() {
dune-compile jsonrpc
}

View File

@@ -1 +1,2 @@
DIST lsp-1.18.0.tar.gz 908930 BLAKE2B 9b58b7a09442e6f63d914561de14693e6a9557636b14d0c440739c2eb11ba6cabf282ee5e049ec579ba65bd84cebba8b653b5ccef8e9419886bec37dcfcf7cab SHA512 cdf4178015ef1058b148d4d682e329eae1ac8c1e3783eba983a353e7219e657d255dd013989ece4a31d28a0b969720642f1557d324d35adaf12919a46a1b0386
DIST lsp-1.19.0.tar.gz 916311 BLAKE2B 8d04f40aa59215d50596c12fc958d618464048883c7c2a291dba4d6cd49a44571cdefb3328ff98b876dfdfb6fc0b993d53229aa50357fd677d59656455186555 SHA512 ffba27e8b902eab82b0d181e190483b5f52ca4c37086ae7d1a35a5775743a33848580decac56df5d788e3cc5a9c9078390e8089a757842fdfaee21b9d81a7d27

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="LSP protocol implementation in OCaml"
HOMEPAGE="
https://opam.ocaml.org/packages/lsp/
https://github.com/ocaml/ocaml-lsp/
"
SRC_URI="https://github.com/ocaml/ocaml-lsp/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-lsp-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
>=dev-lang/ocaml-4.14:=
~dev-ml/jsonrpc-${PV}:=
dev-ml/yojson:=
>=dev-ml/ppx_yojson_conv_lib-0.14:=
>=dev-ml/uutf-1.0.2:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
>=dev-ml/dune-3.0:=
"
src_compile() {
dune-compile lsp
}

View File

@@ -1 +1,2 @@
DIST ocamlc-loc-3.13.1.tar.gz 2891852 BLAKE2B 88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57 SHA512 910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5
DIST ocamlc-loc-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23

View File

@@ -24,7 +24,7 @@ IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
~dev-ml/dyn-${PV}:=
~dev-ml/dune-private-libs-${PV}:=
"
DEPEND="

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Parse ocaml compiler output into structured form"
HOMEPAGE="
https://opam.ocaml.org/packages/ocamlc-loc/
https://github.com/ocaml/dune
"
SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/dune-${PV}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
>=dev-lang/ocaml-4.08.0:=
~dev-ml/dune-private-libs-${PV}:=
"
DEPEND="
${RDEPEND}
"
BDEPEND="
>=dev-ml/dune-3.12:=
"
src_configure() {
:
}
src_compile() {
dune-compile ocamlc-loc
}

View File

@@ -1,3 +1,2 @@
DIST whatsapp-for-linux-1.5.3.tar.gz 352927 BLAKE2B 0af7dde3840b2d42c92256e0edd3fcfc461e3dc818d2330088c603bbcf99cd095e81b78068d579b21fcc1a458eebe325c492f6d036136b96812205f94a6f2cad SHA512 7ef6b0135668b90f256a07c4d273d2732e79213be81bb6b0ee819107211e603a8d0b7fc7aaca6e7746de650f831955f4f560891f1bc2d5acdb0210bad79d91e9
DIST whatsapp-for-linux-1.6.2.tar.gz 354926 BLAKE2B c70c1ae9b6c8f74f801a52c4b95d0548c14368e874148cde8a028e3e55fc824fe17b527fd724b05bd5302abb762cad241a0d4321b5527bd3d6d35e544572fe32 SHA512 3ff54d202975a91177f5803312f09a71c23c39447063efa8c5e8e10eeea69f83e8e5397edeb7be1bcba5433ed0733b69728bfeeb5eaccbe7d605be362952d056
DIST whatsapp-for-linux-1.6.4.tar.gz 361480 BLAKE2B a7daab0336c82eabb8c1dc3bf01888873dbea4389343af852f0f9dc0e7d8e1d0fc0f742464d8135a68a29e51a83b265e0bb334ac9bac26414c88c98ee85cca5a SHA512 d9da95684efbe6239d6a476808220a38c3df3a3096496342348934f745b0f6f53a7d723e27ce52ec746518e6f76880dcd52e433aee78ff566cd8fac6083ef395
DIST whatsapp-for-linux-1.6.5.tar.gz 362857 BLAKE2B 28eda1c4d081d5652b495fce730d321c7f29aeea723ec63f9e0aab5b560787ef92ea6775f1bd11cfb36c1f82c2700399250ae5864cb8475a43c0722b354a02fc SHA512 2768bb82fe7e2bf7bc0e442be7d14bb5f7f9a9aafd6b5a7e5063e3967b32f6d352ce16d042449a6a16165fab7c4cba7fb673a1e5584637434363f1e2efe89c29

View File

@@ -1,47 +0,0 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="An unofficial WhatsApp desktop application for Linux"
HOMEPAGE="https://github.com/eneshecan/whatsapp-for-linux"
SRC_URI="https://github.com/eneshecan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
LANGUAGES="en es it ka nl pt-BR ru tr"
for lang in ${LANGUAGES}; do
IUSE+=" +l10n_${lang}"
done
RDEPEND="
dev-cpp/atkmm
dev-cpp/glibmm:2
dev-cpp/gtkmm:3.0
dev-libs/glib
dev-libs/libayatana-appindicator
dev-libs/libsigc++:2
media-libs/libcanberra
|| (
net-libs/webkit-gtk:4
net-libs/webkit-gtk:4.1
)
x11-libs/gtk+:3
"
DEPEND="${RDEPEND}"
BDEPEND="dev-util/intltool"
src_prepare() {
cmake_src_prepare
for lang in ${LANGUAGES}; do
if ! use l10n_${lang}; then
rm "${S}/po/${lang,,}.po" || die "Failed to remove localization"
sed -i -e "/${lang,,}/d" "${S}/po/LINGUAS" || die
fi
done
}

View File

@@ -13,7 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
LANGUAGES="en es it ka nl pt-BR ru tr"
LANGUAGES="es it ka nl pt-BR ru tr"
for lang in ${LANGUAGES}; do
IUSE+=" +l10n_${lang}"
done

View File

@@ -1,4 +1,4 @@
# Copyright 2022 Gentoo Authors
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
LANGUAGES="en es it ka nl pt-BR ru tr"
LANGUAGES="es it ka nl pt-BR ru tr"
for lang in ${LANGUAGES}; do
IUSE+=" +l10n_${lang}"
done
@@ -27,7 +27,6 @@ RDEPEND="
dev-libs/libsigc++:2
media-libs/libcanberra
|| (
net-libs/webkit-gtk:4
net-libs/webkit-gtk:4.1
)
x11-libs/gtk+:3
@@ -36,11 +35,15 @@ DEPEND="${RDEPEND}"
BDEPEND="dev-util/intltool"
#PATCHES=(
# "${FILESDIR}/${PN}-1.6.5-webkitgtk.patch"
#)
src_prepare() {
cmake_src_prepare
for lang in ${LANGUAGES}; do
if ! use l10n_${lang}; then
rm "${S}/po/${lang,,}.po" || die "Failed to remove localization"
rm -v "${S}/po/${lang,,}.po" || die "Failed to remove localization"
sed -i -e "/${lang,,}/d" "${S}/po/LINGUAS" || die
fi
done

View File

@@ -24,14 +24,15 @@ RESTRICT="network-sandbox"
BDEPEND="
<dev-lang/erlang-27:=
<dev-lang/elixir-1.15:=
<dev-lang/elixir-1.16:=
dev-build/cmake
>=dev-util/rebar-3.20.0-r1
dev-elixir/hex
"
DEPEND="
sys-libs/ncurses:=
media-libs/vips:=
sys-apps/file
sys-libs/ncurses:=
"
RDEPEND="
${DEPEND}
@@ -57,7 +58,9 @@ src_prepare() {
sed -i "s!source_url: .*!source_url: \"${EGIT_OVERRIDE_REPO}\",!" mix.exs || die
fi
sed -i -e '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
# strip_beams: Keep debug information in Erlang BEAM bytecode
# include_erts: Depend on system erlang for the runtime
sed -i '/include_executables_for:/a\ strip_beams: false,\n\ include_erts: false,' mix.exs || die
sed -i \
-e '/update \[OPTIONS\]/,/--tmp-dir/d' \
@@ -72,6 +75,9 @@ src_prepare() {
src_compile() {
mkdir -p pleroma || die
export VIX_COMPILATION_MODE="PLATFORM_PROVIDED_LIBVIPS"
emix release --overwrite --path pleroma
}
@@ -80,7 +86,8 @@ src_install() {
mkdir -p "${ED}/opt" || die
cp -pr ./pleroma "${ED}/opt/pleroma" || die
fperms 0750 /opt/pleroma
fowners 0:pleroma /opt/pleroma
fperms -R g-w,o= /opt/pleroma
fowners -R 0:pleroma /opt/pleroma
doinitd ./pleroma/installation/init.d/pleroma

View File

@@ -24,7 +24,7 @@ RESTRICT="network-sandbox"
BDEPEND="
<dev-lang/erlang-27:=
<dev-lang/elixir-1.15:=
<dev-lang/elixir-1.16:=
dev-build/cmake
>=dev-util/rebar-3.20.0-r1
dev-elixir/hex

View File

@@ -2,3 +2,4 @@ DIST nyxt-3.11.4.gh.tar.xz 18095472 BLAKE2B 04aa9378efbf23153044c8e64f303240a9c4
DIST nyxt-3.11.5.gh.tar.xz 18100684 BLAKE2B 190ca6087cd781253bb08818072122bd720b423981621b5c94eb525816893ac9438bf278068378a60f3514b806f4681f697d7ff2061e2b71daf00b722c33b5c4 SHA512 1991c4c16e45df08b0630f003ca52213697a569e7545e412ede0a72af67337076c0e2605f4d85388717505513438bfcc2401db8a49c0d5a3c6e734669ac56661
DIST nyxt-3.11.6.gh.tar.xz 18092664 BLAKE2B ec540c4d751cb3d85df3c39fac6b48cb4355975c43f14391565fc72ec3aba9281001919251cb3d62800ac58501f33193ce96eedc720a6b41b2a5d4257c323202 SHA512 29aece8bf7c5d0ac47ab33e3f3387da7e62d669be1f2b7d08b27897982dcf07470c9d0cc59c58eee3bb174429d0f08226e51735162b87b37a2cf69148ec45f26
DIST nyxt-3.11.7.gh.tar.xz 18094656 BLAKE2B 6e7dbe65601525fafa493cc86689062a3157812f8d7991bee42926291efeaddb699596d6eaa7207c633ec2e6beb3cd32884ba1ab0990aafeace8080b5cb242c1 SHA512 853cb4ec7fe0e04a9f4672170965d6e71c9c81d77382b08f3abe8bb68ce6d44b6ba2a8c3ed6d7d47b2a0a6a92cc3c312189ea7a0635f1a7a3c1ebcea8f710a40
DIST nyxt-3.11.8.gh.tar.xz 18101916 BLAKE2B b90d7967367ce0628e1451a04cab1fde3608a8f2137d5907a1247379a711e19168b2b7d04852f831a5f0ecb5680a79b4a31a235b7002ffd4de4dc99f8c70f2b7 SHA512 f6b1fcbb4bc4436cc39b0766f7a6a4e57cee81b785e04b1897c04836c6f349a8b5149118869fe36c8cc4c89518c88df75a47118f422149149f25b606a192cdf2

View File

@@ -0,0 +1,87 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop optfeature xdg
DESCRIPTION="Nyxt - the hacker's power-browser"
HOMEPAGE="https://nyxt.atlas.engineer/"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/atlas-engineer/${PN}.git"
EGIT_SUBMODULES=( '*' )
EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${S}"
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/atlas-engineer/${PN}/releases/download/${PV}/nyxt-${PV}-source-with-submodules.tar.xz -> ${PF}.gh.tar.xz"
fi
LICENSE="BSD CC-BY-SA-3.0"
SLOT="0"
IUSE="doc"
# Portage replaces the nyxt binary with sbcl when stripping
RESTRICT="mirror strip"
RDEPEND="
dev-libs/gobject-introspection
gnome-base/gsettings-desktop-schemas
net-libs/glib-networking
net-libs/webkit-gtk:4.1
sys-libs/libfixposix
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-lisp/sbcl-2.0.0[threads,unicode]
"
QA_FLAGS_IGNORED="usr/bin/${PN}"
if [[ "${PV}" != 9999 ]]; then
src_unpack() {
mkdir "${WORKDIR}/${P}" || die
cd "${WORKDIR}/${P}"
default
}
fi
src_compile() {
emake all
use doc && emake doc
}
src_install(){
dobin "${S}/nyxt"
if [ "$(use doc)" ]
then
docinto "/usr/share/doc/${P}"
dodoc "${S}/manual.html"
fi
for icon in 16x16 32x32 128x128 256x256 512x512; do
newicon -s ${icon} "${S}/assets/nyxt_${icon}.png" ${PN}.png
done
domenu "${S}/assets/nyxt.desktop"
}
pkg_postinst() {
xdg_pkg_postinst
optfeature "for X11 clipboard support" "x11-misc/xclip"
optfeature "for spellchecking" "app-text/enchant"
optfeature "for HTML5 audio/video" "media-libs/gstreamer"
optfeature "for HTML5 audio/video" "media-libs/gst-plugins-bad"
optfeature "for HTML5 audio/video" "media-libs/gst-plugins-base"
optfeature "for HTML5 audio/video" "media-libs/gst-plugins-good"
optfeature "for HTML5 audio/video" "media-libs/gst-plugins-ugly"
optfeature "for HTML5 audio/video" "media-plugins/gst-plugins-libav"
}
pkg_postrm() {
xdg_pkg_postrm
}