Compare commits
3 Commits
6aee7a4667
...
c8dcc7b6e6
Author | SHA1 | Date | |
---|---|---|---|
|
c8dcc7b6e6 | ||
|
ac5879327f | ||
|
1bac18eddb |
4
gui-apps/deskflow/Manifest
Normal file
4
gui-apps/deskflow/Manifest
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
DIST deskflow-1.23.0.tar.gz 1825112 BLAKE2B 4ff04858f75abeff121a4599bbd90b13dfad261d773abfc4d5f6784d56e7fae722ac2c3d28ea9d1e9feee892b5be7f862a7157b0868cfc5fe50f9616d4d54be7 SHA512 b65aa09374ae40b74336fbef851e3aa4334573f6935dbd15c01cfd29637440e46d8815dbb137a382f89e6bf99d4a9c371740140b5a49f534dc856fbae3182d86
|
||||||
|
EBUILD deskflow-1.23.0.ebuild 1420 BLAKE2B 09a11a85ce95db1ac0dc3df3c0f4ddab70174e065744632198e4794b219d822a79c54fb859cf6565c31371d44295548392d7c99354459151112614d795e5b06f SHA512 9d1d1cdb6e8018f67219039f0ba09e9f712bce45b8bc1ab3dd554126451be243c5eaeb884876dd66e570fe06632bf6163600d620fec008a8121cc26c4b1ef31a
|
||||||
|
MISC metadata.xml 330 BLAKE2B c48d2d45fcfce50cb12db8c7aa1ad95a247a72930ec3066931c6ea76c250fb4f2749089dbb461dd4dd4d6c281d88d37c1a5aacb9acc00cc49be9d633e5c6bba9 SHA512 8a1e1e856b76fc5d5789af2254313c936f7eb71288de6d996d13e8d398a77734703e478200585b9e927c69e9bf0a1d4284ca9e5e3806bb9123f4ecc6e36e07e1
|
||||||
|
MISC pkg 341 BLAKE2B 9fdc544e1712393c5e0e12287958bb60c2914a1594567be8be6da40eccdb60018fc25c900b892f547deebb0ef89621662216304f757f8cb9b74be0e5111b0dab SHA512 2386cfb9868a58deef2805f48ca9aa5718115b9e5a16fc8a2e540a633ae8ec6686618a40de634866e390075b624207cdbfae0688a6ebf9a5d92b721cd0d41033
|
73
gui-apps/deskflow/deskflow-1.23.0.ebuild
Normal file
73
gui-apps/deskflow/deskflow-1.23.0.ebuild
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake virtualx xdg
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999* ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/deskflow/deskflow.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/deskflow/deskflow/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Share a mouse and keyboard between computers (FOSS version of Synergy)"
|
||||||
|
HOMEPAGE="https://github.com/deskflow/deskflow"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="gui test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-cpp/tomlplusplus
|
||||||
|
dev-libs/glib:2
|
||||||
|
>=dev-libs/libei-0.99.1
|
||||||
|
dev-libs/libportal:=
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
dev-qt/qtbase:6[dbus,network,xml]
|
||||||
|
x11-libs/libxkbcommon
|
||||||
|
x11-libs/libxkbfile
|
||||||
|
gui? (
|
||||||
|
dev-qt/qtbase:6[gui,widgets]
|
||||||
|
)
|
||||||
|
x11-libs/libICE
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXinerama
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libXtst
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
dev-cpp/cli11
|
||||||
|
x11-base/xorg-proto
|
||||||
|
test? ( dev-cpp/gtest )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
gui? ( dev-qt/qttools:6[linguist] )
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
README.md
|
||||||
|
doc/user/configuration.md
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBUILD_GUI=$(usex gui)
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
$(usex test -DSKIP_BUILD_TESTS=ON "")
|
||||||
|
)
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
"${BUILD_DIR}"/bin/legacytests || die
|
||||||
|
BUILD_DIR+=/src/unittests virtx cmake_src_test
|
||||||
|
}
|
11
gui-apps/deskflow/metadata.xml
Normal file
11
gui-apps/deskflow/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>chewi@gentoo.org</email>
|
||||||
|
<name>James Le Cuirot</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">deskflow/deskflow</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@@ -1,3 +1,3 @@
|
|||||||
DIST qt6ct-kde-0.10.tar.gz 160189 BLAKE2B f49819a0eac5161d260e96b98e501787abc0e953e0026f1b05649a9c03d346f37df185f62b20a318038e542a192e047c9294e8788e92cfe5868ed5e8f807627f SHA512 4a64ebe79cab0660178693bddce15bcf87c36b0331cd93578c1f09987c49ca28bb30cb39a1973338981d69c50976c2a37dec55b3f8f9d4520ffcbf0e73757ccd
|
DIST qt6ct-kde-0.10.tar.gz 160189 BLAKE2B f49819a0eac5161d260e96b98e501787abc0e953e0026f1b05649a9c03d346f37df185f62b20a318038e542a192e047c9294e8788e92cfe5868ed5e8f807627f SHA512 4a64ebe79cab0660178693bddce15bcf87c36b0331cd93578c1f09987c49ca28bb30cb39a1973338981d69c50976c2a37dec55b3f8f9d4520ffcbf0e73757ccd
|
||||||
EBUILD qt6ct-kde-0.10.ebuild 1355 BLAKE2B 0ff1084d38cb698db18f0e065fcf0f2fef40a69603e30cf33a1eea2b20ef5571daf20d2276d2e8c4f8abb64e698f5ec74ca54639d2598974fafc53d29b3a15d5 SHA512 35a038bf63dc0a307d653217a82d056f2de067c13fa1c2d3e96ab704fde966650e7a203a626c90ea138abd219b85115da6568de7bcd3bdfd592bd63b4a3829df
|
EBUILD qt6ct-kde-0.10.ebuild 1348 BLAKE2B efa5d963ecc09b495f887d87587af0d55f8cfef9576435ea8a3f4cdf82d9a7e75bdf395594d4a5df8d112a872335ffb4c8f9955cd92a5cae9c97bba968d8c230 SHA512 14278db85541239ee47d9c754b74a5bb9ac0ee21a5f6640329edff911c20c039c71870a60c7625ac4a021c371cd82ba87614b3104d192d1e2acf24c4095f22a4
|
||||||
MISC metadata.xml 340 BLAKE2B ce472ffbb116e947b9f663bb07273752e29070c313768667ac6c8f5fa2ea1a3d614a59fe551f059add543d5b4154bb22330b0319125a050ac47039b0b483bd18 SHA512 aa6543ff88769478e7fc0680d25519778c0178c9caf5b4125d99717b18e64ca82cb1680a4dbdd25b56ebfab3678372d3a4740217fbba1131aa2620a21ccca889
|
MISC metadata.xml 471 BLAKE2B a2021714574ce0ac3cf571ed8038d5fcbc0e5fdba8575396ef9220d870672da076b1b18ddc6a44f553304aa683208f284f9afd0db9effe387d810284d70a883c SHA512 24ab0e19b9d3c0f202d44f94cff971c4dac2331c927e52af5fda5b44826d0ba4d8d13b20470cd2b0952f3a192708321a867fa9197f62992f066b11b121e295eb
|
||||||
|
@@ -5,7 +5,8 @@
|
|||||||
<email>pierre.saundersgb@gmail.com</email>
|
<email>pierre.saundersgb@gmail.com</email>
|
||||||
<name>Pierre Saunders</name>
|
<name>Pierre Saunders</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<longdescription lang="en">
|
||||||
<remote-id type="github">ilya-fedin/qt6ct</remote-id>
|
qt6ct-kde allows users to configure Qt6 settings (theme, font, icons, etc.)
|
||||||
</upstream>
|
under DE/WM without Qt integration patched to work correctly with KDE applications
|
||||||
|
</longdescription>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@@ -5,9 +5,9 @@ EAPI=8
|
|||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
DESCRIPTION="Qt6 Configuration Tool (for DE/WM without Qt integration) patched to work correctly with KDE applications"
|
DESCRIPTION="Qt 6 Configuration Utility, patched to work correctly with KDE applications"
|
||||||
HOMEPAGE="https://github.com/ilya-fedin/qt6ct/"
|
HOMEPAGE="https://www.opencode.net/trialuser/qt6ct"
|
||||||
SRC_URI="https://github.com/ilya-fedin/qt6ct/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://www.opencode.net/trialuser/qt6ct/-/archive/${PV}/qt6ct-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}/qt6ct-${PV}"
|
S="${WORKDIR}/qt6ct-${PV}"
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
|
17
metadata/md5-cache/gui-apps/deskflow-1.23.0
Normal file
17
metadata/md5-cache/gui-apps/deskflow-1.23.0
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
BDEPEND=virtual/pkgconfig gui? ( dev-qt/qttools:6[linguist] ) app-alternatives/ninja >=dev-build/cmake-3.20.5 test? ( x11-base/xorg-server[xvfb] x11-apps/xhost )
|
||||||
|
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||||
|
DEPEND=dev-cpp/tomlplusplus dev-libs/glib:2 >=dev-libs/libei-0.99.1 dev-libs/libportal:= dev-libs/openssl:0= dev-qt/qtbase:6[dbus,network,xml] x11-libs/libxkbcommon x11-libs/libxkbfile gui? ( dev-qt/qtbase:6[gui,widgets] ) x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXinerama x11-libs/libXrandr x11-libs/libXtst dev-cpp/cli11 x11-base/xorg-proto test? ( dev-cpp/gtest )
|
||||||
|
DESCRIPTION=Share a mouse and keyboard between computers (FOSS version of Synergy)
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://github.com/deskflow/deskflow
|
||||||
|
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||||
|
INHERIT=cmake virtualx xdg
|
||||||
|
IUSE=gui test test
|
||||||
|
KEYWORDS=~amd64
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=dev-cpp/tomlplusplus dev-libs/glib:2 >=dev-libs/libei-0.99.1 dev-libs/libportal:= dev-libs/openssl:0= dev-qt/qtbase:6[dbus,network,xml] x11-libs/libxkbcommon x11-libs/libxkbfile gui? ( dev-qt/qtbase:6[gui,widgets] ) x11-libs/libICE x11-libs/libSM x11-libs/libX11 x11-libs/libXext x11-libs/libXi x11-libs/libXinerama x11-libs/libXrandr x11-libs/libXtst
|
||||||
|
RESTRICT=!test? ( test ) !test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/deskflow/deskflow/archive/refs/tags/v1.23.0.tar.gz -> deskflow-1.23.0.tar.gz
|
||||||
|
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a virtualx 9741d451eb64ea8bb9faee90d68a9b68 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||||
|
_md5_=4ce96dfa70bc3216d08cec8a1e912cf4
|
@@ -1,14 +1,14 @@
|
|||||||
BDEPEND=dev-qt/qtbase:6 dev-qt/qttools:6[linguist] app-alternatives/ninja >=dev-build/cmake-3.20.5
|
BDEPEND=dev-qt/qtbase:6 dev-qt/qttools:6[linguist] app-alternatives/ninja >=dev-build/cmake-3.20.5
|
||||||
DEFINED_PHASES=compile configure install postinst prepare test
|
DEFINED_PHASES=compile configure install postinst prepare test
|
||||||
DEPEND=dev-qt/qtbase:6=[gui,widgets]
|
DEPEND=dev-qt/qtbase:6=[gui,widgets]
|
||||||
DESCRIPTION=Qt6 Configuration Tool (for DE/WM without Qt integration) patched to work correctly with KDE applications
|
DESCRIPTION=Qt 6 Configuration Utility, patched to work correctly with KDE applications
|
||||||
EAPI=8
|
EAPI=8
|
||||||
HOMEPAGE=https://github.com/ilya-fedin/qt6ct/
|
HOMEPAGE=https://www.opencode.net/trialuser/qt6ct
|
||||||
INHERIT=cmake
|
INHERIT=cmake
|
||||||
KEYWORDS=amd64
|
KEYWORDS=amd64
|
||||||
LICENSE=BSD-2
|
LICENSE=BSD-2
|
||||||
RDEPEND=dev-qt/qtbase:6=[gui,widgets] dev-qt/qtsvg:6
|
RDEPEND=dev-qt/qtbase:6=[gui,widgets] dev-qt/qtsvg:6
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=https://github.com/ilya-fedin/qt6ct/archive/0.10.tar.gz -> qt6ct-kde-0.10.tar.gz
|
SRC_URI=https://www.opencode.net/trialuser/qt6ct/-/archive/0.10/qt6ct-0.10.tar.gz
|
||||||
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a
|
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 460729dc36f68cf03b044bc1d367e34a
|
||||||
_md5_=c0b1ce1354d57694bdf9ae35f979673b
|
_md5_=21d798d72adc3e239a8b7d164ff59601
|
||||||
|
17
metadata/md5-cache/net-libs/nodejs-24.5.0
Normal file
17
metadata/md5-cache/net-libs/nodejs-24.5.0
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
BDEPEND=|| ( dev-lang/python:3.13[threads(+)] dev-lang/python:3.12[threads(+)] dev-lang/python:3.11[threads(+)] ) app-alternatives/ninja sys-apps/coreutils virtual/pkgconfig test? ( net-misc/curl ) pax-kernel? ( sys-apps/elfix )
|
||||||
|
DEFINED_PHASES=compile configure install postinst prepare pretend setup test
|
||||||
|
DEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-3.10.1:= >=net-dns/c-ares-1.34.4:= >=net-libs/nghttp2-1.64.0:= >=net-libs/nghttp3-1.7.0:= sys-libs/zlib corepack? ( !sys-apps/yarn ) system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.9.1:= >=dev-libs/openssl-1.1.1:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] ) || ( sys-devel/gcc:* llvm-runtimes/libatomic-stub )
|
||||||
|
DESCRIPTION=A JavaScript runtime built on Chrome's V8 JavaScript engine
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://nodejs.org/
|
||||||
|
INHERIT=bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
|
||||||
|
IUSE=corepack cpu_flags_x86_sse2 debug doc +icu +inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos
|
||||||
|
LICENSE=Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 )
|
||||||
|
RDEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-libs/libuv-1.51.0:= >=dev-libs/simdjson-3.10.1:= >=net-dns/c-ares-1.34.4:= >=net-libs/nghttp2-1.64.0:= >=net-libs/nghttp3-1.7.0:= sys-libs/zlib corepack? ( !sys-apps/yarn ) system-icu? ( >=dev-libs/icu-73:= ) system-ssl? ( >=net-libs/ngtcp2-1.9.1:= >=dev-libs/openssl-1.1.1:0= ) !system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] ) || ( sys-devel/gcc:* llvm-runtimes/libatomic-stub )
|
||||||
|
REQUIRED_USE=inspector? ( icu ssl ) npm? ( ssl ) system-icu? ( icu ) system-ssl? ( ssl ) x86? ( cpu_flags_x86_sse2 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0/24
|
||||||
|
SRC_URI=https://nodejs.org/dist/v24.5.0/node-v24.5.0.tar.xz
|
||||||
|
_eclasses_=toolchain-funcs a0b29008c671a362b505f96fa80ce9c0 bash-completion-r1 767861f3744f589ee5291c1698b1c082 check-reqs 2a9731073c152554078a9a8df8fc0f1b flag-o-matic a7afe42e95fb46ce9691605acfb24672 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 pax-utils 5555f2e75744739fe100ee62c22d28fe python-utils-r1 8a006695bc0db22490452dd06914dda5 python-any-r1 891415dfe39ad9b41b461f2b86354af0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
|
||||||
|
_md5_=c5107e98192c12df516bed45abe52a28
|
@@ -1,4 +1,6 @@
|
|||||||
AUX nodejs-24.1.0-paxmarking.patch 3496 BLAKE2B 128a05fb3bc040edfd53221d5744a0626a0f64b7ba46dac94dc0df0d57631017f2da839e06ce769194a8519dcb7feebbede7cef9743323fded5044694a8eb4cc SHA512 3fae2c3bb0f90bd84e147a7fb740f12fab93843ef8f3a2ecf07359582222f86e9793b49b624894fa244f4d9159ac897e1b32d014a6fffbd0d687a1c0996e4240
|
AUX nodejs-24.1.0-paxmarking.patch 3496 BLAKE2B 128a05fb3bc040edfd53221d5744a0626a0f64b7ba46dac94dc0df0d57631017f2da839e06ce769194a8519dcb7feebbede7cef9743323fded5044694a8eb4cc SHA512 3fae2c3bb0f90bd84e147a7fb740f12fab93843ef8f3a2ecf07359582222f86e9793b49b624894fa244f4d9159ac897e1b32d014a6fffbd0d687a1c0996e4240
|
||||||
DIST node-v24.4.1.tar.xz 50266728 BLAKE2B 79461f2ea24e919ce7b27c06ebd3978befa2e2b3ce5277655a5ce8c807e1351efd0400c21e6f993f5e65d12b6353c0bf6d97ff04ecd75248711aa2a9637924fd SHA512 d01a579f2d16b6d7a5d07d58579aa204e2602df13be80b6eb3772ac6f0e28bcbc1e6a68142c2e1c8bc75f397e7ae12ce339f03e46ba4cc6008a938c5a88dcae8
|
DIST node-v24.4.1.tar.xz 50266728 BLAKE2B 79461f2ea24e919ce7b27c06ebd3978befa2e2b3ce5277655a5ce8c807e1351efd0400c21e6f993f5e65d12b6353c0bf6d97ff04ecd75248711aa2a9637924fd SHA512 d01a579f2d16b6d7a5d07d58579aa204e2602df13be80b6eb3772ac6f0e28bcbc1e6a68142c2e1c8bc75f397e7ae12ce339f03e46ba4cc6008a938c5a88dcae8
|
||||||
|
DIST node-v24.5.0.tar.xz 52281988 BLAKE2B 6d5829c1891e59066aded4dbe9a6a872835e052e007e392991ca01deb877a2bc126a98843ee74946d9a96bd5fa072f80e8aabe9f83964499bdd0726a95116e48 SHA512 8aebac41a273f6208579500e2c393c175233d771165dfbf76a360ddcba0ed341b27489fe5829a9ce9bcaf3d3ceaf3bb0a14ba7aecabc7adf7f8b2ef8071d57f8
|
||||||
EBUILD nodejs-24.4.1.ebuild 8422 BLAKE2B 9f8a38f95be24ef5fb21c953f308f59a3eee0def4d120faab71d666a583eacf568db5a4b5b89e588ffd2be6f0a18de569998c1fa2f0946fb19f1783dd0a79671 SHA512 6d700bde90405850d64f7b0a53d60a62368215c20fbb490146b83fa7aa8c87857a9337705e62bed194d7ae29c3b634117dc56aa0c80052eb8ddb3be9643b304a
|
EBUILD nodejs-24.4.1.ebuild 8422 BLAKE2B 9f8a38f95be24ef5fb21c953f308f59a3eee0def4d120faab71d666a583eacf568db5a4b5b89e588ffd2be6f0a18de569998c1fa2f0946fb19f1783dd0a79671 SHA512 6d700bde90405850d64f7b0a53d60a62368215c20fbb490146b83fa7aa8c87857a9337705e62bed194d7ae29c3b634117dc56aa0c80052eb8ddb3be9643b304a
|
||||||
|
EBUILD nodejs-24.5.0.ebuild 8422 BLAKE2B 9f8a38f95be24ef5fb21c953f308f59a3eee0def4d120faab71d666a583eacf568db5a4b5b89e588ffd2be6f0a18de569998c1fa2f0946fb19f1783dd0a79671 SHA512 6d700bde90405850d64f7b0a53d60a62368215c20fbb490146b83fa7aa8c87857a9337705e62bed194d7ae29c3b634117dc56aa0c80052eb8ddb3be9643b304a
|
||||||
MISC metadata.xml 919 BLAKE2B fec5e1a55653b516865d2b0f7788ba520fc46029276f6584be3bfa579fb9852119b3a7fb907e1977279227627cc65c085dbffc4a06ca11cd4dd031325a423468 SHA512 658d82da53e3b701d0ed5a2ba4f515744240ebcdf8392c0a40c9b9e9808f89357ea270a2b742dd0045628ff0d87baf9c26f60ac0d046d75808cb97add192c8a3
|
MISC metadata.xml 919 BLAKE2B fec5e1a55653b516865d2b0f7788ba520fc46029276f6584be3bfa579fb9852119b3a7fb907e1977279227627cc65c085dbffc4a06ca11cd4dd031325a423468 SHA512 658d82da53e3b701d0ed5a2ba4f515744240ebcdf8392c0a40c9b9e9808f89357ea270a2b742dd0045628ff0d87baf9c26f60ac0d046d75808cb97add192c8a3
|
||||||
|
292
net-libs/nodejs/nodejs-24.5.0.ebuild
Normal file
292
net-libs/nodejs/nodejs-24.5.0.ebuild
Normal file
@@ -0,0 +1,292 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
CONFIG_CHECK="~ADVISE_SYSCALLS"
|
||||||
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit bash-completion-r1 check-reqs flag-o-matic linux-info ninja-utils pax-utils python-any-r1 toolchain-funcs xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A JavaScript runtime built on Chrome's V8 JavaScript engine"
|
||||||
|
HOMEPAGE="https://nodejs.org/"
|
||||||
|
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT npm? ( Artistic-2 )"
|
||||||
|
|
||||||
|
if [[ ${PV} == *9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/nodejs/node"
|
||||||
|
SLOT="0"
|
||||||
|
else
|
||||||
|
SRC_URI="https://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz"
|
||||||
|
SLOT="0/$(ver_cut 1)"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x64-macos"
|
||||||
|
S="${WORKDIR}/node-v${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
IUSE="corepack cpu_flags_x86_sse2 debug doc +icu +inspector lto npm pax-kernel +snapshot +ssl +system-icu +system-ssl test"
|
||||||
|
REQUIRED_USE="inspector? ( icu ssl )
|
||||||
|
npm? ( ssl )
|
||||||
|
system-icu? ( icu )
|
||||||
|
system-ssl? ( ssl )
|
||||||
|
x86? ( cpu_flags_x86_sse2 )"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND=">=app-arch/brotli-1.1.0:=
|
||||||
|
dev-db/sqlite:3
|
||||||
|
>=dev-libs/libuv-1.51.0:=
|
||||||
|
>=dev-libs/simdjson-3.10.1:=
|
||||||
|
>=net-dns/c-ares-1.34.4:=
|
||||||
|
>=net-libs/nghttp2-1.64.0:=
|
||||||
|
>=net-libs/nghttp3-1.7.0:=
|
||||||
|
sys-libs/zlib
|
||||||
|
corepack? ( !sys-apps/yarn )
|
||||||
|
system-icu? ( >=dev-libs/icu-73:= )
|
||||||
|
system-ssl? (
|
||||||
|
>=net-libs/ngtcp2-1.9.1:=
|
||||||
|
>=dev-libs/openssl-1.1.1:0=
|
||||||
|
)
|
||||||
|
!system-ssl? ( >=net-libs/ngtcp2-1.9.1:=[-gnutls] )
|
||||||
|
|| (
|
||||||
|
sys-devel/gcc:*
|
||||||
|
llvm-runtimes/libatomic-stub
|
||||||
|
)"
|
||||||
|
BDEPEND="${PYTHON_DEPS}
|
||||||
|
app-alternatives/ninja
|
||||||
|
sys-apps/coreutils
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? ( net-misc/curl )
|
||||||
|
pax-kernel? ( sys-apps/elfix )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
# These are measured on a loong machine with -ggdb on, and only checked
|
||||||
|
# if debugging flags are present in CFLAGS.
|
||||||
|
#
|
||||||
|
# The final link consumed a little more than 7GiB alone, so 8GiB is the lower
|
||||||
|
# limit for memory usage. Disk usage was 19.1GiB for the build directory and
|
||||||
|
# 1.2GiB for the installed image, so we leave some room for architectures with
|
||||||
|
# fatter binaries and set the disk requirement to 22GiB.
|
||||||
|
CHECKREQS_MEMORY="8G"
|
||||||
|
CHECKREQS_DISK_BUILD="22G"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ ${MERGE_TYPE} != "binary" ]]; then
|
||||||
|
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||||
|
einfo "Checking for sufficient disk space and memory to build ${PN} with debugging CFLAGS"
|
||||||
|
check-reqs_pkg_pretend
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
linux-info_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tc-export AR CC CXX PKG_CONFIG
|
||||||
|
export V=1
|
||||||
|
export BUILDTYPE=Release
|
||||||
|
|
||||||
|
# fix compilation on Darwin
|
||||||
|
# https://code.google.com/p/gyp/issues/detail?id=260
|
||||||
|
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die
|
||||||
|
|
||||||
|
# proper libdir, hat tip @ryanpcmcquen https://github.com/iojs/io.js/issues/504
|
||||||
|
local LIBDIR=$(get_libdir)
|
||||||
|
sed -i -e "s|lib/|${LIBDIR}/|g" tools/install.py || die
|
||||||
|
sed -i -e "s/'lib'/'${LIBDIR}'/" deps/npm/lib/npm.js || die
|
||||||
|
|
||||||
|
# Avoid writing a depfile, not useful
|
||||||
|
sed -i -e "/DEPFLAGS =/d" tools/gyp/pylib/gyp/generator/make.py || die
|
||||||
|
|
||||||
|
sed -i -e "/'-O3'/d" common.gypi node.gypi || die
|
||||||
|
|
||||||
|
# debug builds. change install path, remove optimisations and override buildtype
|
||||||
|
if use debug; then
|
||||||
|
sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
|
||||||
|
BUILDTYPE=Debug
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We need to disable mprotect on two files when it builds Bug 694100.
|
||||||
|
use pax-kernel && PATCHES+=( "${FILESDIR}"/${PN}-24.1.0-paxmarking.patch )
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
xdg_environment_reset
|
||||||
|
|
||||||
|
# LTO compiler flags are handled by configure.py itself
|
||||||
|
filter-lto
|
||||||
|
# The warnings are *so* noisy and make build.logs massive
|
||||||
|
append-cxxflags $(test-flags-CXX -Wno-template-id-cdtor)
|
||||||
|
# https://bugs.gentoo.org/931514
|
||||||
|
use arm64 && append-flags $(test-flags-CXX -mbranch-protection=none)
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--ninja
|
||||||
|
# ada is not packaged yet
|
||||||
|
# https://github.com/ada-url/ada
|
||||||
|
# --shared-ada
|
||||||
|
--shared-brotli
|
||||||
|
--shared-cares
|
||||||
|
--shared-libuv
|
||||||
|
--shared-nghttp2
|
||||||
|
--shared-nghttp3
|
||||||
|
--shared-ngtcp2
|
||||||
|
--shared-simdjson
|
||||||
|
# sindutf is not packaged yet
|
||||||
|
# https://github.com/simdutf/simdutf
|
||||||
|
# --shared-simdutf
|
||||||
|
--shared-sqlite
|
||||||
|
--shared-zlib
|
||||||
|
)
|
||||||
|
use debug && myconf+=( --debug )
|
||||||
|
use lto && myconf+=( --enable-lto )
|
||||||
|
if use system-icu; then
|
||||||
|
myconf+=( --with-intl=system-icu )
|
||||||
|
elif use icu; then
|
||||||
|
myconf+=( --with-intl=full-icu )
|
||||||
|
else
|
||||||
|
myconf+=( --with-intl=none )
|
||||||
|
fi
|
||||||
|
use corepack || myconf+=( --without-corepack )
|
||||||
|
use inspector || myconf+=( --without-inspector )
|
||||||
|
use npm || myconf+=( --without-npm )
|
||||||
|
use snapshot || myconf+=( --without-node-snapshot )
|
||||||
|
if use ssl; then
|
||||||
|
use system-ssl && myconf+=( --shared-openssl --openssl-use-def-ca-store )
|
||||||
|
else
|
||||||
|
myconf+=( --without-ssl )
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myarch=""
|
||||||
|
case "${ARCH}:${ABI}" in
|
||||||
|
*:amd64) myarch="x64";;
|
||||||
|
*:arm) myarch="arm";;
|
||||||
|
*:arm64) myarch="arm64";;
|
||||||
|
loong:lp64*) myarch="loong64";;
|
||||||
|
riscv:lp64*) myarch="riscv64";;
|
||||||
|
*:ppc64) myarch="ppc64";;
|
||||||
|
*:x32) myarch="x32";;
|
||||||
|
*:x86) myarch="ia32";;
|
||||||
|
*) myarch="${ABI}";;
|
||||||
|
esac
|
||||||
|
|
||||||
|
GYP_DEFINES="linux_use_gold_flags=0
|
||||||
|
linux_use_bundled_binutils=0
|
||||||
|
linux_use_bundled_gold=0" \
|
||||||
|
"${EPYTHON}" configure.py \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
--dest-cpu=${myarch} \
|
||||||
|
"${myconf[@]}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export NINJA_ARGS=" $(get_NINJAOPTS)"
|
||||||
|
emake -Onone
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local LIBDIR="${ED}/usr/$(get_libdir)"
|
||||||
|
default
|
||||||
|
|
||||||
|
pax-mark -m "${ED}"/usr/bin/node
|
||||||
|
|
||||||
|
# set up a symlink structure that node-gyp expects..
|
||||||
|
dodir /usr/include/node/deps/{v8,uv}
|
||||||
|
dosym . /usr/include/node/src
|
||||||
|
for var in deps/{uv,v8}/include; do
|
||||||
|
dosym ../.. /usr/include/node/${var}
|
||||||
|
done
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
docinto html
|
||||||
|
dodoc -r "${S}"/doc/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use npm; then
|
||||||
|
keepdir /etc/npm
|
||||||
|
echo "NPM_CONFIG_GLOBALCONFIG=${EPREFIX}/etc/npm/npmrc" > "${T}"/50npm
|
||||||
|
doenvd "${T}"/50npm
|
||||||
|
|
||||||
|
# Install bash completion for `npm`
|
||||||
|
local tmp_npm_completion_file="$(TMPDIR="${T}" mktemp -t npm.XXXXXXXXXX)"
|
||||||
|
"${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"
|
||||||
|
newbashcomp "${tmp_npm_completion_file}" npm
|
||||||
|
|
||||||
|
# Move man pages
|
||||||
|
doman "${LIBDIR}"/node_modules/npm/man/man{1,5,7}/*
|
||||||
|
|
||||||
|
# Clean up
|
||||||
|
rm -f "${LIBDIR}"/node_modules/npm/{.mailmap,.npmignore,Makefile}
|
||||||
|
|
||||||
|
local find_exp="-or -name"
|
||||||
|
local find_name=()
|
||||||
|
for match in "AUTHORS*" "CHANGELOG*" "CONTRIBUT*" "README*" \
|
||||||
|
".travis.yml" ".eslint*" ".wercker.yml" ".npmignore" \
|
||||||
|
"*.bat" "*.cmd"; do
|
||||||
|
find_name+=( ${find_exp} "${match}" )
|
||||||
|
done
|
||||||
|
|
||||||
|
# Remove various development and/or inappropriate files and
|
||||||
|
# useless docs of dependend packages.
|
||||||
|
find "${LIBDIR}"/node_modules \
|
||||||
|
\( -type d -name examples \) -or \( -type f \( \
|
||||||
|
-iname "LICEN?E*" \
|
||||||
|
"${find_name[@]}" \
|
||||||
|
\) \) -exec rm -rf "{}" \;
|
||||||
|
fi
|
||||||
|
|
||||||
|
use corepack &&
|
||||||
|
"${D}"/usr/bin/corepack enable --install-directory "${D}"/usr/bin
|
||||||
|
|
||||||
|
mv "${ED}"/usr/share/doc/node "${ED}"/usr/share/doc/${PF} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local drop_tests=(
|
||||||
|
test/parallel/test-dns.js
|
||||||
|
test/parallel/test-dns-resolveany-bad-ancount.js
|
||||||
|
test/parallel/test-dns-setserver-when-querying.js
|
||||||
|
test/parallel/test-dotenv.js
|
||||||
|
test/parallel/test-fs-mkdir.js
|
||||||
|
test/parallel/test-fs-read-stream.js
|
||||||
|
test/parallel/test-fs-utimes-y2K38.js
|
||||||
|
test/parallel/test-fs-watch-recursive-add-file.js
|
||||||
|
test/parallel/test-http2-client-set-priority.js
|
||||||
|
test/parallel/test-http2-priority-event.js
|
||||||
|
test/parallel/test-process-euid-egid.js
|
||||||
|
test/parallel/test-process-get-builtin.mjs
|
||||||
|
test/parallel/test-process-initgroups.js
|
||||||
|
test/parallel/test-process-setgroups.js
|
||||||
|
test/parallel/test-process-uid-gid.js
|
||||||
|
test/parallel/test-release-npm.js
|
||||||
|
test/parallel/test-socket-write-after-fin-error.js
|
||||||
|
test/parallel/test-strace-openat-openssl.js
|
||||||
|
test/sequential/test-tls-session-timeout.js
|
||||||
|
test/sequential/test-util-debug.js
|
||||||
|
)
|
||||||
|
use inspector ||
|
||||||
|
drop_tests+=(
|
||||||
|
test/parallel/test-inspector-emit-protocol-event.js
|
||||||
|
test/parallel/test-inspector-network-arbitrary-data.js
|
||||||
|
test/parallel/test-inspector-network-domain.js
|
||||||
|
test/parallel/test-inspector-network-fetch.js
|
||||||
|
test/parallel/test-inspector-network-http.js
|
||||||
|
test/sequential/test-watch-mode.mjs
|
||||||
|
)
|
||||||
|
rm -f "${drop_tests[@]}" || die "disabling tests failed"
|
||||||
|
|
||||||
|
out/${BUILDTYPE}/cctest || die
|
||||||
|
"${EPYTHON}" tools/test.py --mode=${BUILDTYPE,,} --flaky-tests=dontcare -J message parallel sequential || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use npm; then
|
||||||
|
ewarn "remember to run: source /etc/profile if you plan to use nodejs"
|
||||||
|
ewarn " in your current shell"
|
||||||
|
fi
|
||||||
|
}
|
Reference in New Issue
Block a user