mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 11:04:10 -04:00
Merge updates from master
This commit is contained in:
@@ -11,6 +11,8 @@ ACCT_USER_HOME=/var/lib/ollama
|
||||
ACCT_USER_HOME_PERMS=0750
|
||||
ACCT_USER_GROUPS=( ollama )
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="cuda"
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -1,9 +1,8 @@
|
||||
DIST WlxOverlay-S-v25.4.1-crates.tar.xz 50665744 BLAKE2B eb3dea74dd283f67342aefef94cc9781bda485b9aa0884caafd7665fee19d7090f6b5fc898e1b25c797d94ace448a21706062899676648df4fbcca5172db75b7 SHA512 a1ca549cafbf43eb5ae9a101d62e571135ec5c59a62e9ea4e4e12c770748fec9281ef295045c156eb418e2be44a2e60c4673f635153ecb4b6624cee6a8dff3f0
|
||||
DIST WlxOverlay-S-v25.4.2-crates.tar.xz 50665744 BLAKE2B eb3dea74dd283f67342aefef94cc9781bda485b9aa0884caafd7665fee19d7090f6b5fc898e1b25c797d94ace448a21706062899676648df4fbcca5172db75b7 SHA512 a1ca549cafbf43eb5ae9a101d62e571135ec5c59a62e9ea4e4e12c770748fec9281ef295045c156eb418e2be44a2e60c4673f635153ecb4b6624cee6a8dff3f0
|
||||
DIST libmonado-rs-256895b18c8f9368174fad8a6232ff07764eeacb.gh.tar.gz 7263 BLAKE2B c5f3b3a1ea375f85b61c6b09073df2cc1ccdc602367f7e93785be40d7b2df418d92e1dac03659c5c6936b1ead8105dd773012401b75198fe631b3c2276edaeea SHA512 902cd2c8e997c64f9cb069ea7ba64ce7a193fff703df36a956b807f70386c5c0ed70d3a5f957f1edb6964b037f1a587d4ef7e2ad16e9862572fa1a22c297d78f
|
||||
DIST openxrs-af4a55df60125491c80c61464c824219c6019b76.gh.tar.gz 169832 BLAKE2B 21a60aa4589f3170e60b6d5ee4a7ca7a7907863ed6698f566ba4a2645b6d23ef95584deae9559dda108e577efdad3431247af48547a416c3559770c0ef66b58a SHA512 6273cd725dfe9478fec51f1ba7e12637d6b465cde7f24ac2c17f23d1f83ee6589e4d2c2010eca0384f3abd8b6f40ec7765ce7e7dc2ca6820bf7d74f0f536a3de
|
||||
DIST ovr_overlay_oyasumi-49b0d856c282d1f696b87e85a55674f4db913872.gh.tar.gz 22983 BLAKE2B 5fc684fa95467b5e8981d87876d9c32cd7557ec089ec07f5eafb2d477f2eaa63c3bdd383230e440b63e6ce6ceea4e0ca86923a4f1552990fd7dcff12379f73fb SHA512 b8ece885c8098070e71deb7119e47f5caa8b0d869bf0b5dfb0ceee79989c10b6cc39a664bd6bb6911d4a3eece53b89c383f225fc17d3e1778be998fd8ef4effc
|
||||
DIST pipewire-rs-ba32202c3c391004c3bb533b58fa75a50e47ff57.gl.tar.gz 114999 BLAKE2B 346df1c77ad134b98bb482d02c82b0d25aa8e22041e850b8362e75b5972e48693b82144c9ea766436d803a7d69490745732c5ad18fffc496e7c80dd017765e87 SHA512 28bcd265721747f41b234e6a3c6a3922e91348a46e192bda3d9a370d24caa1eb56d3335294fc6d4e35ea3655e6aa2069c5add357770d3465f5306705b1ca3917
|
||||
DIST smithay-0cd3345c59f7cb139521f267956a1a4e33248393.gh.tar.gz 769463 BLAKE2B 8a0272f0874b10fdcbf33db30977c472dea69b38338b91a1695706ae00a5eecf45edd9f70c5d630bc6ba50b8af3dff613788496566c46071564d2368467daed3 SHA512 83a6a042e361285c8f0e7474f8a7097f95cf548e6e611b690b40ba5acaf9b35d4325ca5c25258595435588a02b777fac85dda51e781af722143c768caa190abf
|
||||
DIST wayvr-ipc-a72587d23f3bb8624d9aeb1f13c0a21e65350f51.gh.tar.gz 10534 BLAKE2B d57e81e30199e05ad033bc639ebc33e3d2173cd22e7cb7b619cd40420532cbc59ff012934ccbf930bb08833886704dc3d88e9d2a76757f2caf32dd05d82fb51c SHA512 b2fe903cd922aa588034f2de4b85bccf7cf8825bb80457e20bbf956f0110d8818bc0a38b084da82784b32b5adbb87e62db26c39eba347f67aff33e8fcb144090
|
||||
DIST wlx-capture-fc77da75dcf8c9d59cdeea384da21bdab685d18b.gh.tar.gz 40542 BLAKE2B a0705d1a524cbeb707efbac29269ff60b2a66b3311526024c38a1d1fc8c6e2d23eed8f71f943b2d6b1aad132f359a21bd05644573eae2653e89a6eea6bae95ae SHA512 c4547a663e3c5ecad5082d33ec66882006f7fa86d053cdf05b94ac5c396720c06853ec58d3a0d33cab13e96ad065825e16fc65e1d38f7f808aad7eb738d653bf
|
||||
DIST wlx-overlay-s-25.4.1.tar.gz 5197094 BLAKE2B e96b6638219fd156369759d20c2a196a7d8b9d263b630a86b5ef575af022b27e290e84451100086354a7e45128c753e495da1bbf92217fa976207374f41b1498 SHA512 4b91fb34d0087a5deae80d070fb10dd61f0d8dbe6274b936b714777db6e643014adf51f15acfd42a24e947ceb4fc75d5b7322790ddb92d1e317e870041e72d13
|
||||
DIST wlx-capture-c68c66d487ef0f57bab23b5c780472a31a01ecab.gh.tar.gz 40441 BLAKE2B 4420c6a088d11cdf60bdbd0233e7d2b79bee1640f7c7235e643587322f58b7ef30006b82ac1e04094d81d06df0dd4350cbfc20965ba71d60f9aa51659f672879 SHA512 f92ebed458544c0dadc7af510dc4210037afcc97b7ebd72c2a2e8b4eee4fd2e2a8140170abca4d767e5ae07ac14786c7acd9c12b0e74be54682658e60805f5a6
|
||||
DIST wlx-overlay-s-25.4.2.tar.gz 5199373 BLAKE2B 9dfffa0afcf4e9aeee817ba8bb38d940ddb4413d9a0db957984a1b9d8d57955d30fe1b246a2d83a2709c54a48c7c65b9a91e8caead40846a5af1dacd83796110 SHA512 8d7474aa9714f27d67d313bbf1dfb245ff1921c1ecc0453132f1c55cc0d4a1ac84305ab176c3c8762059ca1f4058e551b10f8430e6532611801ad131ad771e1a
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
<email>sam@binarycake.ca</email>
|
||||
<name>Sam Wilson</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>patricknicolas@laposte.net</email>
|
||||
<name>Patrick Nicolas</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="openvr">Support Valve's SteamVR SDK.</flag>
|
||||
<flag name="openxr">Support Khronos Group's OpenXR API.</flag>
|
||||
|
||||
@@ -18,9 +18,8 @@ declare -A GIT_CRATES=(
|
||||
[ovr_overlay_sys]='https://github.com/galister/ovr_overlay_oyasumi;49b0d856c282d1f696b87e85a55674f4db913872;ovr_overlay_oyasumi-%commit%/sys'
|
||||
[pipewire-sys]='https://gitlab.freedesktop.org/galister/pipewire-rs;ba32202c3c391004c3bb533b58fa75a50e47ff57;pipewire-rs-%commit%/pipewire-sys;gitlab'
|
||||
[pipewire]='https://gitlab.freedesktop.org/galister/pipewire-rs;ba32202c3c391004c3bb533b58fa75a50e47ff57;pipewire-rs-%commit%/pipewire;gitlab'
|
||||
[smithay]='https://github.com/Smithay/smithay;0cd3345c59f7cb139521f267956a1a4e33248393;smithay-%commit%'
|
||||
[wayvr_ipc]='https://github.com/olekolek1000/wayvr-ipc;a72587d23f3bb8624d9aeb1f13c0a21e65350f51;wayvr-ipc-%commit%'
|
||||
[wlx-capture]='https://github.com/galister/wlx-capture;fc77da75dcf8c9d59cdeea384da21bdab685d18b;wlx-capture-%commit%'
|
||||
[wlx-capture]='https://github.com/galister/wlx-capture;c68c66d487ef0f57bab23b5c780472a31a01ecab;wlx-capture-%commit%'
|
||||
)
|
||||
|
||||
LLVM_COMPAT=({15..19})
|
||||
@@ -1,2 +1 @@
|
||||
DIST komikku-1.70.0.tar.gz 5006221 BLAKE2B 640712432ba6eae9f022ba8a530c72c7cf4e2b39451e7d2296129c8a349fbe9ee411c28415e7b835c6f148c105436933f4bdab639d4d82fed88af6bd4523ae21 SHA512 8b0926e446a6b8127018b3ff35607ce9a9fd65acb86fec1159e69b2d4e1f81997b55b013a36ba0dcf9bfe9d15b9d5f896138a446f89201dc3d23c79e04dc68fe
|
||||
DIST komikku-1.72.0.tar.gz 4392472 BLAKE2B 6fad446e395e2cf1104e0807fab0cb73b3bedb754d927c5716d18dcb7fdb73877bf37122b9dff43e98dd21b1bf04e09a91415d9b48b129c591d11caa72d62333 SHA512 3df8eb6c82b67dcae31c83df97e8956d4a25701a6ded0cf35c1b1eeb8229ebb2c5a0be41f9defafb4e550d576ba8fe0fb25fe77766ca8a35fe535b6f165a7296
|
||||
|
||||
@@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_REQ_USE="sqlite(+),ssl(+)"
|
||||
DISTUTILS_USE_PEP517=no
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit distutils-r1 meson gnome2-utils xdg
|
||||
|
||||
DESCRIPTION="Manga reader for GNOME"
|
||||
HOMEPAGE="https://apps.gnome.org/Komikku/"
|
||||
SRC_URI="https://codeberg.org/valos/Komikku/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="test"
|
||||
# Depend on a random server that may or may not be accessible.
|
||||
#PROPERTIES="test_network"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
>=gui-libs/gtk-4.12:4
|
||||
>=gui-libs/libadwaita-1.6:1[introspection]
|
||||
net-libs/webkit-gtk:6[introspection]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
x11-libs/libnotify[introspection]
|
||||
$(python_gen_cond_dep '
|
||||
app-arch/brotli[python,${PYTHON_USEDEP}]
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/colorthief[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/dateparser[${PYTHON_USEDEP}]
|
||||
dev-python/emoji[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/natsort[${PYTHON_USEDEP}]
|
||||
dev-python/piexif[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pillow-heif[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/rarfile[compressed,${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/blueprint-compiler
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pytest-steps[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# fix broken shebang
|
||||
sed "s|py_installation.full_path()|'${PYTHON}'|" -i bin/meson.build || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake setup
|
||||
emake develop
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
PYTHON_REQ_USE="sqlite(+),ssl(+)"
|
||||
DISTUTILS_USE_PEP517=no
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {15..19} )
|
||||
LLVM_COMPAT=( {15..21} )
|
||||
|
||||
inherit cmake llvm-r1
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {15..19} )
|
||||
LLVM_COMPAT=( {15..21} )
|
||||
|
||||
inherit cmake llvm-r1
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ DEPEND="
|
||||
app-text/ford[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
test? ( dev-util/fortran-test-drive )
|
||||
test? ( ~dev-util/fortran-test-drive-0.4.0 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -32,7 +32,7 @@ DEPEND="
|
||||
app-text/ford[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
test? ( dev-util/fortran-test-drive )
|
||||
test? ( ~dev-util/fortran-test-drive-0.4.0 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -32,7 +32,7 @@ DEPEND="
|
||||
app-text/ford[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
test? ( dev-util/fortran-test-drive )
|
||||
test? ( ~dev-util/fortran-test-drive-0.4.0 )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@@ -16,6 +16,9 @@ LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pydub[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -16,6 +16,9 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pydub[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
@@ -28,6 +28,11 @@ BDEPEND="
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-python12.patch" )
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# fails with whitespace differences in python 3.13
|
||||
tests/test_doc.py::test_doc_add_tag_function
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
|
||||
@@ -16,6 +16,9 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
media-video/ffmpeg[lame,vorbis]
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST pytest-cases-3.8.2.tar.gz 1094993 BLAKE2B 2a5b1dd57dca9b159756287b8bd4d2a54fa1f48e2256959343bb196867ab57ff6852826744f166ac39dbb0f06bcce4918a718a1097d5d2e3841b0a516838bf40 SHA512 5da2b8db56e91d3f0948b90b9225d21fad5c4cf2c319388844aca9b74b69ec9c91f7a661e28cc06b9ab8a85a11272fc4d5fc81d0d9d4b0abff80fb83d34744ad
|
||||
DIST pytest_cases-3.8.6.tar.gz 1092150 BLAKE2B 6db9e9e2116a5b961c615eec344439dd5afd86f6727e22ecdcce903368768886a89818a29766212b4ad663f9e7c2c004e3fb439937ce2a468dd7a3ac2adf7f04 SHA512 fe887a09ea63772c0c624afc35601c398b47884bf6f7571ffd5856a4c00df8633acdf6562972329c12ba27d54307c58435d1dcbd661fe7d32483e64fba40aff5
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND=(
|
||||
@@ -31,11 +30,9 @@ RDEPEND="
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
# https://github.com/smarie/python-pytest-cases/issues/330
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
<dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-harvest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-steps[${PYTHON_USEDEP}]
|
||||
@@ -1 +1 @@
|
||||
DIST pytest-harvest-1.10.4.tar.gz 77384 BLAKE2B 93acd363b9874ef0a8e776c3472cde27417776850d004e83f00ecd52c7c9acbf1758d0062bd14fb83889c9b688a1f92352e42afe2dd6a9b01c567e8afe9d2f1c SHA512 61e371478b0fe809cb5e39040596a241ef3630641d7465799a5e24a953453924f3f6b5b8b94e67a51f1f5b2cb744bb2a698a7d50b6d638dc866a856bf74abe7a
|
||||
DIST pytest-harvest-1.10.5.tar.gz 81064 BLAKE2B 3c45a2e0779fed3c8a8e6e8e340b1e5752ffc257d39c5d64a976da680340a954d92206cd0fa33bcd03c2453600ed96924c5d733c7005dc333e927cf82c2ba862 SHA512 292b6daa75cc0e54b0c74feb75fc5b7f1745390865c8868439ac8a89c74fc1589a9794749f501f6af76ad46a3aa8d2e72076b827e6eddbd75ae5fb908fc35cf0
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
https://www.mkdocs.org/about/release-notes/#stricter-directory-validation
|
||||
|
||||
diff --git a/docs/mkdocs.yml b/mkdocs.yml
|
||||
similarity index 95%
|
||||
rename from docs/mkdocs.yml
|
||||
rename to mkdocs.yml
|
||||
index 7819dac..4a6d73e 100644
|
||||
--- a/docs/mkdocs.yml
|
||||
+++ b/mkdocs.yml
|
||||
@@ -1,8 +1,8 @@
|
||||
site_name: pytest_harvest
|
||||
# site_description: 'A short description of my project'
|
||||
repo_url: https://github.com/smarie/python-pytest-harvest
|
||||
-docs_dir: .
|
||||
-site_dir: ../site
|
||||
+docs_dir: ./docs
|
||||
+site_dir: ./site
|
||||
nav:
|
||||
- Home: index.md
|
||||
- API reference: api_reference.md
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
@@ -24,20 +24,16 @@ RDEPEND="
|
||||
>=dev-python/makefun-1.5[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
# https://github.com/smarie/python-pytest-cases/issues/330
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cases[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-strict-mkdocs.patch" )
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
"pytest_harvest/tests/test_all_raw_with_meta_check.py::test_run_all_tests[test_get_session_results.py]"
|
||||
"pytest_harvest/tests/test_all_raw_with_meta_check.py::test_run_all_tests[test_get_session_results_indirect_and_noparam.py]"
|
||||
@@ -45,11 +41,6 @@ EPYTEST_DESELECT=(
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
sed "/pytest-runner/d" -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
docs_compile
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
|
||||
@@ -23,13 +23,11 @@ RDEPEND="
|
||||
>=dev-python/makefun-1.5[${PYTHON_USEDEP}]
|
||||
dev-python/wrapt[${PYTHON_USEDEP}]
|
||||
"
|
||||
# https://github.com/smarie/python-pytest-cases/issues/330
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
<dev-python/pytest-8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cases[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-harvest[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
DIST deblob-0.8.tar.gz 48230 BLAKE2B c00bf903c7704f0d86adbb641effcb34cef232fe0565a19e96579449ccfeff99ed8f8e15ea2e3de010af91cf0d4cc0afb2c20fae67f49908919e225536dd1d1b SHA512 fe40710344fd5ea24121114cd7f6435993f7fe4fc45412253bc71e5b54483d02a548be5eab379eb4581979e458177b6a9e341fb5652dccd35d71cb28484c8e97
|
||||
DIST deblob-0.8.tar.gz.sign 305 BLAKE2B f1eb227d36b196e562501fe7a471c647608ac0e1a4724f77be7fb4386a7994a5594008e90fcf0a3977ee3a960958eeb6fae0ca9405f6566589a68d0ddf99a9ca SHA512 09b8916bbe5e3d4202de8724f12d57ef56ce896d4d2f4caab7eef28370b7bd951efe40ee88051a89857273362675d6cffecfb5ec45a86fb72273daaff1a80e97
|
||||
DIST deblob-0.10.tar.gz 9015 BLAKE2B f7776e6a939116f9f0836d3204c9a6ddab34433dd2b609cc0ad5eb3581682e534980baf586aac22e65e5e85af455602d4d93ca461025a68560ede62ea867af75 SHA512 879fb822f4dec357e99a2d5db61608362735018b59aa4aee1f952f6525769667149f0c406862e6b542184c74efc261db75408469d6c1c70ff18a086878658dd6
|
||||
DIST deblob-0.10.tar.gz.sign 141 BLAKE2B 03256b22f17b8c88d9f6ef95591156e2c7904b8fadc97b2163379000a526106f56908da6d3cbb19a8ea5a97566bcbf1a7fab3cfb1f13fbabbd699d57cba2d0ba SHA512 ceb3fc5a1021686e287fd95602ae78cb616c53e3945f6eea9d56a8ebff49d5ff37634a6b4cda5487140514ec3dd864e88bbb5d98007f4421e2e2a04aa9f6d139
|
||||
DIST deblob-0.9.tar.gz 2062509 BLAKE2B 47170649958cf6a9ad77d8d803aacac7ba20bfb3f8a89cb3e3907d576596ad818a45b7e527583d5deed33acfc667d25f32abc48caa3f91ebd9a4f183ec2857f1 SHA512 8b0521e8cbce0cd861f67f63ba5e9dc8df2c39410771e56b6bb74f144dee156307e2eba72a6cc671a6d53e2cec17801c84c35df553fbdd3e08ff44f76913c549
|
||||
DIST deblob-0.9.tar.gz.sign 305 BLAKE2B 1b2b81f1567c2a217db9bf958ba586e85f5343d7e1f2aa047a4b1cbf9e7728e541a4c02373a4433fcfa113c3ddb365440f81289d9b9ea69a19e12aa0c830ee22 SHA512 1ec3b366a0cacd28ae38d0f68b4ffa40bfd1268fba9d93796a0c1e2fcc9042e9b132c014d960d67736300020d4baed77250ccaa1fce3f01b68935a795bb7b447
|
||||
DIST deblob-test-0.10.tar.gz 2054850 BLAKE2B e4420fdf7076bde62c431862397ee0deeb0a6b79a8f8f4e51b88a1b5b7e23390629c05c2f54b77a2263c22146bf6cb8ed18c51cc01cb9576d29f1f4126699d96 SHA512 bdd5cb4998ae5c0bc39a903f5cbf0f93783d590e8d4a397442aa78a50605cd39a5c6195623706445b7a24e938c9f4861138a75f935924c0930ff3f82bb511443
|
||||
DIST deblob-test-0.10.tar.gz.sign 141 BLAKE2B fc4121172a0cff87cf264097813b52ee4a4f5334bcab09756cbc9aef4b335beed31fb9f44ecd6269231783b0e9ad3de2e8c2fac543ff7158f0f9be55ff9e6008 SHA512 c51f8aa9f403ede2288cb64a9433eecb657f357fefe810fc813ee8d3e7bdd37fe0d3dff0f5fd6239ab1a496f0dc1402406d7c052a746e1004ca9a75aefb09a6b
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
# Copyright 2021-2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Copyright 2021-2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ "$PV" == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.sr.ht/~lanodan/deblob"
|
||||
EGIT_REPO_URI="https://anongit.hacktivis.me/git/deblob.git"
|
||||
else
|
||||
VERIFY_SIG_METHOD=signify
|
||||
inherit verify-sig
|
||||
|
||||
SRC_URI="
|
||||
https://distfiles.hacktivis.me/releases/${P}.tar.gz
|
||||
verify-sig? ( https://distfiles.hacktivis.me/releases/${P}.tar.gz.sign )
|
||||
https://distfiles.hacktivis.me/releases/deblob/${P}.tar.gz
|
||||
test? ( https://distfiles.hacktivis.me/releases/deblob-test/deblob-test-${PV}.tar.gz )
|
||||
verify-sig? (
|
||||
https://distfiles.hacktivis.me/releases/deblob/${P}.tar.gz.sign
|
||||
test? ( https://distfiles.hacktivis.me/releases/deblob-test/deblob-test-${PV}.tar.gz.sign )
|
||||
)
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
fi
|
||||
@@ -23,8 +27,13 @@ HOMEPAGE="https://hacktivis.me/projects/deblob"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/hare-0.24.2:=
|
||||
dev-hare/hare-json
|
||||
"
|
||||
|
||||
# built by hare
|
||||
@@ -32,9 +41,9 @@ QA_FLAGS_IGNORED="usr/bin/deblob"
|
||||
|
||||
if [[ "${PV}" != "9999" ]]
|
||||
then
|
||||
BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2024 )"
|
||||
BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2025 )"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2024.pub"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2025.pub"
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
@@ -42,9 +51,17 @@ then
|
||||
cd "${DISTDIR}" || die
|
||||
cp ${A} "${WORKDIR}" || die
|
||||
cd "${WORKDIR}" || die
|
||||
|
||||
verify-sig_verify_detached "${P}.tar.gz" "${P}.tar.gz.sign"
|
||||
use test && verify-sig_verify_detached "deblob-test-${PV}.tar.gz" "deblob-test-${PV}.tar.gz.sign"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use test; then
|
||||
rm -r "${WORKDIR}/${P}/test" || die
|
||||
mv "${WORKDIR}/deblob-test-${PV}" "${WORKDIR}/${P}/test" || die
|
||||
fi
|
||||
}
|
||||
fi
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
# Copyright 2021-2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Copyright 2021-2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
if [[ "$PV" == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.hacktivis.me/git/deblob"
|
||||
EGIT_REPO_URI="https://anongit.hacktivis.me/git/deblob.git"
|
||||
else
|
||||
VERIFY_SIG_METHOD=signify
|
||||
inherit verify-sig
|
||||
|
||||
SRC_URI="
|
||||
https://distfiles.hacktivis.me/releases/${P}.tar.gz
|
||||
verify-sig? ( https://distfiles.hacktivis.me/releases/${P}.tar.gz.sign )
|
||||
https://distfiles.hacktivis.me/releases/deblob/${P}.tar.gz
|
||||
test? ( https://distfiles.hacktivis.me/releases/deblob-test/deblob-test-${PV}.tar.gz )
|
||||
verify-sig? (
|
||||
https://distfiles.hacktivis.me/releases/deblob/${P}.tar.gz.sign
|
||||
test? ( https://distfiles.hacktivis.me/releases/deblob-test/deblob-test-${PV}.tar.gz.sign )
|
||||
)
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
fi
|
||||
@@ -23,8 +27,12 @@ HOMEPAGE="https://hacktivis.me/projects/deblob"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/hare:=
|
||||
>=dev-lang/hare-0.24.2:=
|
||||
dev-hare/hare-json
|
||||
"
|
||||
|
||||
@@ -33,9 +41,9 @@ QA_FLAGS_IGNORED="usr/bin/deblob"
|
||||
|
||||
if [[ "${PV}" != "9999" ]]
|
||||
then
|
||||
BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2023 )"
|
||||
BDEPEND="${BDEPEND} verify-sig? ( sec-keys/signify-keys-lanodan:2025 )"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2023.pub"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/signify-keys-lanodan-2025.pub"
|
||||
|
||||
src_unpack() {
|
||||
if use verify-sig; then
|
||||
@@ -43,9 +51,17 @@ then
|
||||
cd "${DISTDIR}" || die
|
||||
cp ${A} "${WORKDIR}" || die
|
||||
cd "${WORKDIR}" || die
|
||||
|
||||
verify-sig_verify_detached "${P}.tar.gz" "${P}.tar.gz.sign"
|
||||
use test && verify-sig_verify_detached "deblob-test-${PV}.tar.gz" "deblob-test-${PV}.tar.gz.sign"
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
if use test; then
|
||||
rm -r "${WORKDIR}/${P}/test" || die
|
||||
mv "${WORKDIR}/deblob-test-${PV}" "${WORKDIR}/${P}/test" || die
|
||||
fi
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST lazygit-0.45.2.tar.gz 4770243 BLAKE2B b8373edfb5b39d4bacc3e8656bdfb3b02c237654562e223ffeb5d486ded943bd16c3cdc5cd07c134b831c376dd1fe67c37c6baf8d40aa1777e3c7a7a786c935e SHA512 129eeb99de46364361c916d545222b3bd376ac3ca5ec362ebc00c06d08dd450230aed0b797acf8270f20d5e00e9d6f9cb644b94f7fdfa27c617612639913865c
|
||||
DIST lazygit-0.46.0.tar.gz 4790974 BLAKE2B b493fb985645b19e82ba710740d29aeec5c4725adc780609bf4183cd0164c2d06c8b7ccc48f7216722ccc7e80f6392e035a0fa4afea5e001b44d2e30f9aaddfd SHA512 bdbe151922d396ef526acc049830c21bf0396623fc344d2aa989272275cb353b57bd7533f3700db234be7e84a665dbef5e401c3aa8ec249e4e355b3750a5dff0
|
||||
DIST lazygit-0.47.1.tar.gz 4797543 BLAKE2B 2b2842328ccaf171c8ce6e48a82af1ac1f8f023877abed032a486f1a365c2afdca66f42749b1fe9329d9c68286575581cd02948601de74e6e4548ccbc2200991 SHA512 fcef6bd5ee4e9092434ad9f7b39dfbb75a59004f384504e9407dc4a6f35b2cb38029c75adba465fc6cb4c43e1676e996cf8ca00d24acec4c6211776003f6ab47
|
||||
DIST lazygit-0.47.2.tar.gz 4795000 BLAKE2B 669ca5a32767326766fd7d2d312bd078a39d5aaa96a8437f165e0368463d56f1d0256aa4934d6329e123bc2bd522821a3e535ffc8c634c7c713a6cab1cf5da74 SHA512 c9a911f0bddce79005df7352aa47ce759b6cc835a4ba3581093e0cbb62fbcc1edbb1a2d256a38f2052ae410298785c476005ff88b5f1643b9fcb42dd1990b037
|
||||
DIST lazygit-0.48.0.tar.gz 4802588 BLAKE2B 839ba27d523843c2252b23c7f0d11dabbc2935c50320bccdc1e566374fd953441fc88e02724e615576b4977a1f5c9311b2c234bb7e38839b12085fec37e46a86 SHA512 11ccc07a82cc9fb11d36df4166001aff007e70e0af2941317bcd983acacaa89716c337aab7190415da7a49917ef62080b6cee0175cc9ac2b1624280b1635837b
|
||||
DIST lazygit-0.49.0.tar.gz 5307185 BLAKE2B 82f83bebd4f56863baf148253824cecb48a97a28199c20f86248950858fb214c9beff51364cc1a7a1c731b4bf4b38deca91ec948bab977faa5e2cc2aa3f03bef SHA512 164c17d4f7a646147233234658793c20e754a9fe73137fad5b414e9fcd692b6ed17a26fefd176b9b715be2d60b580fb0627b11260e1e9e26f5d900cceee353e1
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Simple terminal UI for git commands"
|
||||
HOMEPAGE="https://github.com/jesseduffield/lazygit"
|
||||
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
|
||||
|
||||
src_compile() {
|
||||
ego build -o bin/lazygit \
|
||||
-ldflags "-X main.version=${PV}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./... -short
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/lazygit
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Simple terminal UI for git commands"
|
||||
HOMEPAGE="https://github.com/jesseduffield/lazygit"
|
||||
SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD ISC MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
|
||||
|
||||
src_compile() {
|
||||
ego build -o bin/lazygit \
|
||||
-ldflags "-X main.version=${PV}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./... -short
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/lazygit
|
||||
einstalldocs
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
DIST bambustudio-bin-02.00.01.50.AppImage 128120000 BLAKE2B 3aa9f97fbe07c4a9e7f7123d6a71fce44db35558aa367837c134957cae88dacd1d40d6e42f8220f9e7f60f3ff1003b06937904cf91c7d1c315ec9ac1de821e5c SHA512 2afc6792defebf11c4d12b1d537d9c53f2084714193dd5a70ef12fa2a87897706a36b705ea1453661e9ada4a362127a83fd03d6a2f48877aa19979a02e308e02
|
||||
DIST bambustudio-bin-02.00.02.57.AppImage 131212480 BLAKE2B 733c911013e4d717608414d18f4624a8320ac0641b54d02d339c9f987b1721e7281eb91b077a05968fa2a437c307a1aac2496222a9f1275c454b8a388bed2890 SHA512 d8d1ab59eef1a46fa5b66653050b400e2e46610831a18849d80864b8f3682d0c19af15f8baf62622a9cc03b0acb2a487a79b0e2cb01acea617689d988b821af4
|
||||
|
||||
@@ -12,7 +12,7 @@ DESCRIPTION="Bambu Studio is a cutting-edge, feature-rich slicing software"
|
||||
HOMEPAGE="https://bambulab.com"
|
||||
|
||||
SRC_URI="
|
||||
https://github.com/bambulab/${MY_PN}/releases/download/v${PV}/Bambu_Studio_linux_fedora-v${PV}.AppImage \
|
||||
https://github.com/bambulab/${MY_PN}/releases/download/v${PV}/Bambu_Studio_linux_v${PV}_ubuntu_24.04.AppImage \
|
||||
-> ${P}.AppImage
|
||||
"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
DIST Beeper-4.0.570.AppImage 185525524 BLAKE2B 0ad2029576bb194b9655e357babea5554108a1626325bce87022211b16d0c99f5e1eba563acc7ec3f9511dc5e42114abf0dd10b44be4f419636addc6f8c440f3 SHA512 f5b7a504cf86da613caccc8779178c3f572686b5a74776ccdd91cb18d6f56ca97df600be799cdb67bb6b865a1513f69581535326d99ac4f5722e8cb5a85c7f84
|
||||
DIST Beeper-4.0.584.AppImage 185621014 BLAKE2B d0aef3b84a2c954a488ad5a4d26759ff7a96bf5165d5e886ee6a1850a4adc9b463e557a5f46f840e0df855b36c1637368c7a8e0a78272a31239ec95d4bf5b7a7 SHA512 f0763d316e7cfea34d346f7c3d1a6ca100aed43911fe10c1e4e3267ecfe154b3a61976e3f8f14ee7e42e18766ecaf54f13452dccb33bc7fd9f1655cce4e19dce
|
||||
DIST Beeper-4.0.604.AppImage 187674804 BLAKE2B 46289378e3ade33f274af6ad9c8582d09d66d4118f50a43ef9200bdd2717793eba1d96da02ebc250287e8353f4f6fc9b3854679e5fceed48bdd6a8f0751476b3 SHA512 ea93d87a379d77d469bfaf589e7976622dbd221b01e26131d5b97f98a44a9fe4cbf9a5ef8f325c7036e489957484c993ed05ce5086b924adc480306c80e7146b
|
||||
DIST beeper-3.109.1-build-240923466rji1i4-amd64.deb 123803512 BLAKE2B 54c811fdb7df499fac04ac15aab5124f83082c276a03bcbd114153fcce3896c0878c198708a796963b6bbf9dd50c5755de5dd05e2d2297f8e864d31cabd50ab1 SHA512 04cb09d013e84557015d33cad12d17d98a09a52d658cbfa8ac1db45aa0a786ea65d59479271496e77964d6c0f3126681ae8097d7ce70a83308078f57af55bf8f
|
||||
DIST beeper-3.110.1-build-241031sx3gh9lyl-amd64.deb 125355116 BLAKE2B 47702200205eb0a026b28e1103b0652e1bf2523d0de8d2e62246850b5355fc67b6d88c9366c69f5cd95af049d41315918fd121979e5c902ca577d5f3a6b59e8f SHA512 898e42696c45ce7ea593ea4b4d2e93413b11c79ed985ee947142c866c9f3dbdce005d905504b3c2acac56f98228219f3db28acfee8a0f17093405c83f35d2409
|
||||
|
||||
@@ -103,6 +103,7 @@ src_install() {
|
||||
LICENSES.chromium.html
|
||||
beepertexts.desktop
|
||||
beepertexts.png
|
||||
resources/app/node_modules/classic-level/prebuilds/linux-x64/classic-level.musl.node
|
||||
usr
|
||||
)
|
||||
rm -f -r "${toremove[@]}" || die
|
||||
@@ -1 +1 @@
|
||||
DIST discord-canary-0.0.633.deb 104898300 BLAKE2B 323640072c1ca716428f962cbc0e724a37f38205c90b084ae00cdbda717a0b887bc966b040164dcb3b8e08e6b2cebe5d715b96b8de60982f64c1d52fdc32a379 SHA512 1a0855dfc5b09e85ad1774b3fe7dbcad41347ef4abe1dc2d5c12c2cb43cb28e2153d04197ae2112527332ecca6d3ff44b961f82fedff50030a1700b8e04550a3
|
||||
DIST discord-canary-0.0.642.deb 104949518 BLAKE2B 4d0d5c5e71e42b05aa245e86497fd6c9cfb0ba2d2f58cb1fff33d5c0209db824b406537b7c20ff76f8e472ac05f36e9b3061a28435d409b4b4a5e21d248022d0 SHA512 a92f1787dc653bc3a1968903ec04019db86d1850d46c5715849f21b75bd59e1128cfa92c3e60ef895f4c80797dbb208b4c3c808f8e4c2b63dac5ef0b8c88cbd3
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -1 +1 @@
|
||||
DIST discord-ptb-0.0.97.deb 103058320 BLAKE2B 5c99f18f54c6eff755d427c15aca3000829a4580c8178d1ce786cd98d1beabed9a28cc6c04940ec8e46e865f78daa436212b7335b3d93811c6a9d3e50086426f SHA512 a8b11e5f4f1f5b14c4cf67b352d3f80ac56289f2f7259c6b5a2177b74e5f14dff6d38b1368e8c1e99ecc86962ba870b1156ea3b9eb23731c1da05dd0ea1c2a73
|
||||
DIST discord-ptb-0.0.137.deb 101963514 BLAKE2B e2da5b64d3a2c32fbfd850b806009112f4503e01a62791b1b815f4c0adc26d69d0ffc081d58f5a393b1fef964c8f6c080303abeebe6130c5adfda71a57ce580f SHA512 2b96d739831e2995847044207b2b1010dc370de7cc1ce43a1259550d566fa644ba59dc34d54c5df5a00be30ad75c05a218e39a10b2a5d35ede1065b5888d482c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -20,7 +20,6 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="mirror bindist"
|
||||
|
||||
# libXScrnSaver is used through dlopen (bug #825370)
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
dev-libs/expat
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST legcord-bin-1.0.8.deb 75993910 BLAKE2B 607763cc381dff3fd95ce57ee6a35ef6158b9420c6cf6dc52f7e7178f8efd560dcfbc77f8a4635c83ecf90ea5bbd9e395660269ad8960cec7e2887f10873231e SHA512 bb3f81dd553b40b2b6eaeacd24c82af88bfb2a22aeee8ba3d90b55119567617b2473bb6a61a5e2aa45a989fcb0a7c831de34056570ef164f1035365e0bda0d58
|
||||
DIST legcord-bin-1.1.0.deb 82450954 BLAKE2B d0e4388f110dad636db9b76d7c85fc18693d4fecd15d7f8d4cdb7caac067909e488be9b6b5ccedc5fba30070a3e70949370831b03c586d75b4b3f6bf251e3f51 SHA512 4769709df97e67c81ef5e9a05241041d332d088200196fb9a0413bdc9c930c7538beb354c94c998b50d70b6aae76cf2441d3a3a45e2efd2027b5c580a9da08fc
|
||||
DIST legcord-bin-1.1.1.deb 81639720 BLAKE2B cdb90aa731893c0d294f5acf9a76563bc12d2fb51ce328e27cb86930bf1067156b975f389275fa2676267fb0455b871b8eeea4a792238411999fbb72580be45c SHA512 d09e6e736c150a50e4c84dbc5a941f53e3862a2b0585c99a990aa2969c8217a8640ebf1958a1f3cd0226076777c9e560df893c0bed498fdc157f44f2be9769a7
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -1 +1,2 @@
|
||||
DIST session-desktop-linux-amd64-1.10.8.deb 67823156 BLAKE2B fa41b44560a22d2244ec99c96f0c50d16d5706912aebef5e5607c908f2f02e5c37255ee371472af64e7d145549de6477c16b4fe32ca4fbd3cc4a38bfb1df1caf SHA512 da5a68904c1e09885bcc880ca98bebdadfd884b7b8447208624c6f2deb469fd5e4f0e3fffd8686bc6919f96a2d06092f3e8b40839df3c565833850bc64945079
|
||||
DIST session-desktop-linux-amd64-1.15.1.deb 87707812 BLAKE2B 0d7573d90a06432330eaca810d715518726fb60d8abc40469a4c2da4d88682d8836a19a14e26408ed65cc41de845735b51ee528da5d6ffb5e028e9d272c1b928 SHA512 76fb09fdb216a4f6ab2ed37f57549c18c0736e92b3efabc49e109195212cd58e2c373cb0528dfc153d62d78d8c2453b02f2383c8d8cc56c8e5837b34385c8230
|
||||
DIST session-desktop-linux-amd64-1.15.2.deb 87715250 BLAKE2B fec07d623a348f9b55c5c998f8a866217f4678010cd1489fcb3d16cfd610da1f3fb4f3e18f8d12098823dd98212bd60e9b01d73092763cf0db344d2d651f76f1 SHA512 0bcce1ec274960e941169971963509d284b809bd2575da5c4ff9503965bdba3efbfcc1d5ed5c2e3644e51154fe4b0ec27598b42eecaf361b9b63ac3b8ca4658c
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
<name>Akash paul</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">oxen-io/session-desktop</remote-id>
|
||||
<remote-id type="github">session-foundation/session-desktop</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -6,30 +6,30 @@ EAPI=8
|
||||
MY_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
|
||||
af 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
|
||||
sw ta te th tr uk ur vi zh-CN zh-TW
|
||||
"
|
||||
|
||||
inherit chromium-2 linux-info unpacker optfeature xdg
|
||||
|
||||
DESCRIPTION="Session Desktop - Onion routing based messenger"
|
||||
HOMEPAGE="https://getsession.org/ https://github.com/oxen-io/session-desktop"
|
||||
SRC_URI="https://github.com/oxen-io/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
SRC_URI="https://github.com/session-foundation/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="splitdebug"
|
||||
RESTRICT="splitdebug bindist mirror strip test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
)
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/glib-2.35
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
@@ -106,12 +106,12 @@ src_install(){
|
||||
pushd "opt/Session/" > /dev/null || die "change dir failed"
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so libvulkan.so.1
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
|
||||
insopts -m0755
|
||||
doins -r locales resources swiftshader
|
||||
doins -r locales resources
|
||||
|
||||
popd > /dev/null || die "change dir reset failed"
|
||||
|
||||
130
net-im/session-desktop-bin/session-desktop-bin-1.15.2.ebuild
Normal file
130
net-im/session-desktop-bin/session-desktop-bin-1.15.2.ebuild
Normal file
@@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN/-bin/}"
|
||||
|
||||
CHROMIUM_LANGS="
|
||||
af 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 ur vi zh-CN zh-TW
|
||||
"
|
||||
|
||||
inherit chromium-2 linux-info unpacker optfeature xdg
|
||||
|
||||
DESCRIPTION="Session Desktop - Onion routing based messenger"
|
||||
HOMEPAGE="https://getsession.org/ https://github.com/oxen-io/session-desktop"
|
||||
SRC_URI="https://github.com/session-foundation/session-desktop/releases/download/v${PV}/session-desktop-linux-amd64-${PV}.deb"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="splitdebug bindist mirror strip test"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
)
|
||||
dev-libs/expat
|
||||
>=dev-libs/glib-2.35
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
dev-libs/wayland
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[X(+)]
|
||||
net-print/cups
|
||||
sys-apps/dbus[X]
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/pango
|
||||
"
|
||||
DESTDIR="/opt/${MY_PN}"
|
||||
|
||||
QA_PREBUILT="
|
||||
${DESTDIR#/}/session-desktop
|
||||
${DESTDIR#/}/chrome_crashpad_handler
|
||||
${DESTDIR#/}/chrome-sandbox
|
||||
${DESTDIR#/}/libffmpeg.so
|
||||
${DESTDIR#/}/libvk_swiftshader.so
|
||||
${DESTDIR#/}/libvulkan.so.1
|
||||
${DESTDIR#/}/libEGL.so
|
||||
${DESTDIR#/}/libGLESv2.so
|
||||
${DESTDIR#/}/libVkICD_mock_icd.so
|
||||
${DESTDIR#/}/swiftshader/libEGL.so
|
||||
${DESTDIR#/}/swiftshader/libGLESv2.so
|
||||
${DESTDIR#/}/resources/app.asar.unpacked/node_modules/*
|
||||
"
|
||||
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
pkg_pretend(){
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_unpack(){
|
||||
default
|
||||
unpack ../work/data.tar.xz
|
||||
unpack ../work/usr/share/doc/session-desktop/changelog.gz
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
default
|
||||
|
||||
pushd "opt/Session/locales/" >/dev/null || die "location change for language cleanup failed"
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die "location reset for language cleanup failed"
|
||||
|
||||
sed -i 's|/opt/Session/session-desktop|/opt/session-desktop/session-desktop|g' \
|
||||
"${S}/usr/share/applications/session-desktop.desktop" || die "error changing .desktop file"
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
default
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /
|
||||
dodoc changelog
|
||||
|
||||
insinto /usr/share
|
||||
doins -r usr/share/applications
|
||||
doins -r usr/share/icons
|
||||
|
||||
pushd "opt/Session/" > /dev/null || die "change dir failed"
|
||||
|
||||
exeinto "${DESTDIR}"
|
||||
doexe "${MY_PN}" chrome-sandbox libEGL.so libGLESv2.so libvk_swiftshader.so libffmpeg.so libvulkan.so.1
|
||||
|
||||
insinto "${DESTDIR}"
|
||||
doins chrome_100_percent.pak chrome_200_percent.pak icudtl.dat resources.pak snapshot_blob.bin v8_context_snapshot.bin
|
||||
insopts -m0755
|
||||
doins -r locales resources
|
||||
|
||||
popd > /dev/null || die "change dir reset failed"
|
||||
|
||||
fowners root "${DESTDIR}/chrome-sandbox"
|
||||
fperms 4711 "${DESTDIR}/chrome-sandbox"
|
||||
|
||||
dosym -r "${DESTDIR}/${MY_PN}" "/usr/bin/${MY_PN}"
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
xdg_pkg_postinst
|
||||
|
||||
optfeature "sound support" \
|
||||
media-sound/pulseaudio media-sound/apulse[sdk] media-video/pipewire
|
||||
optfeature "system tray support" dev-libs/libappindicator
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST vesktop-1.5.4.tar.gz 104471834 BLAKE2B d9e501608894c40e0feaf13d1e84bbca275f7cf90c4277c1867541b928ef921a0e8e7103957e5f808fcdc7b701c1f1ad3b3ab2aea8af7fbdb3181c3b84497aa9 SHA512 e9e708c60d329827fe4f7584f301291ed97f91d96e0dacb59d066eec00b2cee32472e83afe17e4894a605e6c918db32212ac0c0739d4c439311d80783eb92586
|
||||
DIST vesktop-1.5.5.tar.gz 104226509 BLAKE2B dce84adc287c6e941eb3402587dfb8858ef36ece1738e1a0c9fcd7f48eb94c855301ead535167cf8b7efa7a67025aeff02b9c06f105456dfc705e347e0022ddf SHA512 b60b28be69877d0cfcc3057d0565e7ad6107ccd5f5c4ade38f5967a77f7ca75398364309070b99422ea23f79382f51d36c3218040dc3d2c19a16086c6f532b82
|
||||
DIST vesktop-1.5.6.tar.gz 108271525 BLAKE2B 988a4e6e4008891303556c43ef353d767751ae04b40b3c78ccc86d56509f14e8091a1553abd1fb84f4b5148253f1af5314e9eb60e4d2b8f890c7d1c657582c44 SHA512 7b3dda340ffdfb8acb447d3d04abf296708619c96b2177707dbb2819cf72e29d94167211378e8200917a32be0ca0353868231f5eef730b413b94cfbb15e2af32
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_11 )
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
inherit distutils-r1 git-r3
|
||||
|
||||
DESCRIPTION="Interactively authenticate to GlobalProtect VPNs that require SAML"
|
||||
@@ -18,6 +18,6 @@ SLOT="0"
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
net-libs/webkit-gtk:4
|
||||
net-libs/webkit-gtk:4.1
|
||||
net-vpn/openconnect
|
||||
"
|
||||
|
||||
@@ -1,6 +1,2 @@
|
||||
DIST ollama-0.6.3-vendor.tar.xz 4417068 BLAKE2B 33aabb08f8582c7f211ebfc51c95af96d7ce1402c6350b656fb0114fe849901ea65f22bf833175a87aa318a685f35c0941b236dfcbf84c81d7766a91d66f6db3 SHA512 79044b751daba3d463d7890792d5a6581e96317951de763191b128237e90e81dac578b674654d527e70d48fa059cb62f40831554c432a2a424d659790dbd7a10
|
||||
DIST ollama-0.6.3.gh.tar.gz 7950300 BLAKE2B 4a14bab714b11104753caafe58a1301490d6a24d7af90a374741b6977fafb47792a50fa570e0883b13d5275f621ae1516f2d4055f6c32583e42821725d65e59f SHA512 28a0688f1aa35a161e09af19b643b2a53115fa29ce0b522ed2bd76bcaedc710553a266af2370886bc23408025935f786d13f07297ffb3e783b13132237f10712
|
||||
DIST ollama-0.6.4-vendor.tar.xz 4414140 BLAKE2B 72452a0143863afc6a748a78ece63d8e33842b8f53ae041b2a0e5d727765cf452ac95e81fff4af2fddbc86da793864ef1d2489f7feb15092b5732f1bcae1f698 SHA512 acb179bc8816e843cd78858be6af828496932385a4f1c7877af1de1ad38c68f55b789c2b0ab81b7ce92e0aea9e2224bc004d18b3fbce1ff81e2bc904234d9d48
|
||||
DIST ollama-0.6.4.gh.tar.gz 7958849 BLAKE2B 1cc6b1490913c3d11d1abe3ad99f44db0cc953ca58e507949b4cef02e37a1be20e7621627f999426a0d224a5a1a41de6186254730a2507f200540340f621e034 SHA512 ee2de90c51f4c85e6bacab8c570ffe3d0adc59369423127c0875cd328ea1469899f7ee847eb00c5e35856adba50d8c2d2e8de88df2389a043313d6f0edcbf5db
|
||||
DIST ollama-0.6.5-vendor.tar.xz 4416776 BLAKE2B be4ad1df96e17d94d5bd8464113d95518173aeccb998a22ee3bffb8788019b520f18a141d1e1e9c594295c9c4d20a9064eb86905c44520da00f170f769b11fed SHA512 ca8eb19061e6772d79f4f531d610692837334046d906a1c500202bafc3ae48b4c181c9d8a3f79b273bc5e8616012117f7ae248d3505d74bda3db942386923662
|
||||
DIST ollama-0.6.5.gh.tar.gz 7964755 BLAKE2B af059b433e28766988f7a4097fd2774d17331282ea670c588d69d69865b73f5460d0c9d271154228bb1e3488ccbe7fe785ed637acb88fb51f1efb5efed905ac6 SHA512 dc97098b51f215ec5259aece5872fe213aa7b413344aab30b6417754e15f9ce27d2515dd9134edf620d70b8af88d3de5d305ea4020adb7d281b268d26b672adf
|
||||
|
||||
@@ -1,305 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# supports ROCM/HIP >=5.5, but we define 6.1 due to the eclass
|
||||
ROCM_VERSION=6.1
|
||||
inherit cuda rocm
|
||||
inherit cmake
|
||||
inherit go-module systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Get up and running with Llama 3, Mistral, Gemma, and other language models."
|
||||
HOMEPAGE="https://ollama.com"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ollama/ollama.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/ollama/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://github.com/negril/gentoo-overlay-vendored/raw/refs/heads/blobs/${P}-vendor.tar.xz
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
X86_CPU_FLAGS=(
|
||||
avx
|
||||
f16c
|
||||
avx2
|
||||
fma3
|
||||
avx512f
|
||||
avx512vbmi
|
||||
avx512_vnni
|
||||
avx512_bf16
|
||||
avx_vnni
|
||||
amx_tile
|
||||
amx_int8
|
||||
)
|
||||
CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
|
||||
IUSE="${CPU_FLAGS[*]} cuda blas mkl rocm"
|
||||
# IUSE+=" opencl vulkan"
|
||||
|
||||
COMMON_DEPEND="
|
||||
cuda? (
|
||||
dev-util/nvidia-cuda-toolkit:=
|
||||
)
|
||||
blas? (
|
||||
!mkl? (
|
||||
virtual/blas
|
||||
)
|
||||
mkl? (
|
||||
sci-libs/mkl
|
||||
)
|
||||
)
|
||||
rocm? (
|
||||
>=sci-libs/hipBLAS-5.5:=[${ROCM_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/go-1.23.4
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/${PN}
|
||||
acct-user/${PN}[cuda?]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.6.3-use-GNUInstallDirs.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed \
|
||||
-e "/set(GGML_CCACHE/s/ON/OFF/g" \
|
||||
-e "/PRE_INCLUDE_REGEXES.*cu/d" \
|
||||
-e "/PRE_INCLUDE_REGEXES.*hip/d" \
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/-O3/${CFLAGS}/g" \
|
||||
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
|
||||
|
||||
if use amd64; then
|
||||
if ! use cpu_flags_x86_avx; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sandybridge/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(haswell/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(skylakex/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX512)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f ||
|
||||
! use cpu_flags_x86_avx512vbmi ||
|
||||
! use cpu_flags_x86_avx512_vnni; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(icelake/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX512 AVX512_VBMI AVX512_VNNI)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx_vnni; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(alderlake/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX_VNNI)
|
||||
fi
|
||||
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f ||
|
||||
! use cpu_flags_x86_avx512vbmi ||
|
||||
! use cpu_flags_x86_avx512_vnni ||
|
||||
! use cpu_flags_x86_avx512_bf16 ||
|
||||
! use cpu_flags_x86_amx_tile ||
|
||||
! use cpu_flags_x86_amx_int8 ; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sapphirerapids/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
#AVX F16C AVX2 FMA AVX512 AVX512_VBMI AVX512_VNNI AVX512_BF16 AMX_TILE AMX_INT8)
|
||||
fi
|
||||
: # ml/backend/ggml/ggml/src/CMakeLists.txt
|
||||
fi
|
||||
|
||||
# default
|
||||
# return
|
||||
if use cuda; then
|
||||
cuda_src_prepare
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
# --hip-version gets appended to the compile flags which isn't a known flag.
|
||||
# This causes rocm builds to fail because -Wunused-command-line-argument is turned on.
|
||||
# Use nuclear option to fix this.
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name ".go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_POLICY_DEFAULT_CMP0177="OLD"
|
||||
-DGGML_CCACHE="no"
|
||||
|
||||
# -DGGML_CPU="yes"
|
||||
-DGGML_BLAS="$(usex blas)"
|
||||
# -DGGML_CUDA="$(usex cuda)"
|
||||
# -DGGML_HIP="$(usex rocm)"
|
||||
|
||||
# -DGGML_METAL="yes" # apple
|
||||
# missing from ml/backend/ggml/ggml/src/
|
||||
# -DGGML_CANN="yes"
|
||||
# -DGGML_MUSA="yes"
|
||||
# -DGGML_RPC="yes"
|
||||
# -DGGML_SYCL="yes"
|
||||
# -DGGML_KOMPUTE="$(usex kompute)"
|
||||
# -DGGML_OPENCL="$(usex opencl)"
|
||||
# -DGGML_VULKAN="$(usex vulkan)"
|
||||
)
|
||||
|
||||
if use blas; then
|
||||
if use mkl; then
|
||||
mycmakeargs+=(
|
||||
-DGGML_BLAS_VENDOR="Intel"
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DGGML_BLAS_VENDOR="Generic"
|
||||
)
|
||||
fi
|
||||
fi
|
||||
if use cuda; then
|
||||
local -x CUDAHOSTCXX CUDAHOSTLD
|
||||
CUDAHOSTCXX="$(cuda_gccdir)"
|
||||
CUDAHOSTLD="$(tc-getCXX)"
|
||||
|
||||
cuda_add_sandbox -w
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_CUDA_COMPILER="NOTFOUND"
|
||||
)
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_PLATFORM="amd"
|
||||
)
|
||||
|
||||
local -x HIP_ARCHS HIP_PATH
|
||||
HIP_ARCHS="$(get_amdgpu_flags)"
|
||||
HIP_PATH="${ESYSROOT}/usr"
|
||||
|
||||
check_amdgpu
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_COMPILER="NOTFOUND"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --preset Default "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --preset CUDA "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --preset ROCm "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
|
||||
cmake_src_compile
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --build --preset Default -j16
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --build --preset CUDA -j16
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --build --preset ROCm -j16
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ollama
|
||||
|
||||
cmake_src_install
|
||||
|
||||
newinitd "${FILESDIR}/ollama.init" "${PN}"
|
||||
newconfd "${FILESDIR}/ollama.confd" "${PN}"
|
||||
|
||||
systemd_dounit "${FILESDIR}/ollama.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
keepdir /var/log/ollama
|
||||
fperms 750 /var/log/ollama
|
||||
fowners "${PN}:${PN}" /var/log/ollama
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Quick guide:"
|
||||
einfo "\tollama serve"
|
||||
einfo "\tollama run llama3:70b"
|
||||
einfo
|
||||
einfo "See available models at https://ollama.com/library"
|
||||
fi
|
||||
}
|
||||
@@ -68,7 +68,7 @@ DEPEND="
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/${PN}
|
||||
acct-user/${PN}[cuda?]
|
||||
>=acct-user/${PN}-3[cuda?]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
@@ -94,9 +94,22 @@ src_prepare() {
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/-O3/${CFLAGS}/g" \
|
||||
-e "s/ -O3//g" \
|
||||
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
|
||||
|
||||
# fix library location
|
||||
sed \
|
||||
-e "s#lib/ollama#$(get_libdir)/ollama#g" \
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/\"..\", \"lib\"/\"..\", \"$(get_libdir)\"/" \
|
||||
-e "s#\"lib/ollama\"#\"$(get_libdir)/ollama\"#" \
|
||||
-i \
|
||||
ml/backend/ggml/ggml/src/ggml.go \
|
||||
discover/path.go \
|
||||
|| die
|
||||
|
||||
if use amd64; then
|
||||
if ! use cpu_flags_x86_avx; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sandybridge/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
@@ -218,12 +231,11 @@ src_configure() {
|
||||
|
||||
if use rocm; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_ARCHITECTURES="$(get_amdgpu_flags)"
|
||||
-DCMAKE_HIP_PLATFORM="amd"
|
||||
)
|
||||
|
||||
local -x HIP_ARCHS HIP_PATH
|
||||
HIP_ARCHS="$(get_amdgpu_flags)"
|
||||
HIP_PATH="${ESYSROOT}/usr"
|
||||
local -x HIP_PATH="${ESYSROOT}/usr"
|
||||
|
||||
check_amdgpu
|
||||
else
|
||||
@@ -233,48 +245,12 @@ src_configure() {
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --preset Default "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --preset CUDA "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --preset ROCm "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
|
||||
cmake_src_compile
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --build --preset Default -j16
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --build --preset CUDA -j16
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --build --preset ROCm -j16
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -302,4 +278,9 @@ pkg_postinst() {
|
||||
einfo
|
||||
einfo "See available models at https://ollama.com/library"
|
||||
fi
|
||||
|
||||
if use cuda ; then
|
||||
einfo "When using cuda the user running ${PN} has to be in the video group or it won't detect devices."
|
||||
einfo "The ebuild ensures this for user ${PN} via acct-user/${PN}[cuda]"
|
||||
fi
|
||||
}
|
||||
@@ -1,305 +0,0 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# supports ROCM/HIP >=5.5, but we define 6.1 due to the eclass
|
||||
ROCM_VERSION=6.1
|
||||
inherit cuda rocm
|
||||
inherit cmake
|
||||
inherit go-module systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="Get up and running with Llama 3, Mistral, Gemma, and other language models."
|
||||
HOMEPAGE="https://ollama.com"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ollama/ollama.git"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/ollama/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
https://github.com/negril/gentoo-overlay-vendored/raw/refs/heads/blobs/${P}-vendor.tar.xz
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
X86_CPU_FLAGS=(
|
||||
avx
|
||||
f16c
|
||||
avx2
|
||||
fma3
|
||||
avx512f
|
||||
avx512vbmi
|
||||
avx512_vnni
|
||||
avx512_bf16
|
||||
avx_vnni
|
||||
amx_tile
|
||||
amx_int8
|
||||
)
|
||||
CPU_FLAGS=( "${X86_CPU_FLAGS[@]/#/cpu_flags_x86_}" )
|
||||
IUSE="${CPU_FLAGS[*]} cuda blas mkl rocm"
|
||||
# IUSE+=" opencl vulkan"
|
||||
|
||||
COMMON_DEPEND="
|
||||
cuda? (
|
||||
dev-util/nvidia-cuda-toolkit:=
|
||||
)
|
||||
blas? (
|
||||
!mkl? (
|
||||
virtual/blas
|
||||
)
|
||||
mkl? (
|
||||
sci-libs/mkl
|
||||
)
|
||||
)
|
||||
rocm? (
|
||||
>=sci-libs/hipBLAS-5.5:=[${ROCM_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
>=dev-lang/go-1.23.4
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/${PN}
|
||||
acct-user/${PN}[cuda?]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.6.3-use-GNUInstallDirs.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
git-r3_src_unpack
|
||||
go-module_live_vendor
|
||||
else
|
||||
go-module_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed \
|
||||
-e "/set(GGML_CCACHE/s/ON/OFF/g" \
|
||||
-e "/PRE_INCLUDE_REGEXES.*cu/d" \
|
||||
-e "/PRE_INCLUDE_REGEXES.*hip/d" \
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/-O3/$(get-flag O)/g" \
|
||||
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
|
||||
|
||||
if use amd64; then
|
||||
if ! use cpu_flags_x86_avx; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sandybridge/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(haswell/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(skylakex/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX512)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f ||
|
||||
! use cpu_flags_x86_avx512vbmi ||
|
||||
! use cpu_flags_x86_avx512_vnni; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(icelake/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX512 AVX512_VBMI AVX512_VNNI)
|
||||
fi
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx_vnni; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(alderlake/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
# AVX F16C AVX2 FMA AVX_VNNI)
|
||||
fi
|
||||
|
||||
if
|
||||
! use cpu_flags_x86_avx ||
|
||||
! use cpu_flags_x86_f16c ||
|
||||
! use cpu_flags_x86_avx2 ||
|
||||
! use cpu_flags_x86_fma3 ||
|
||||
! use cpu_flags_x86_avx512f ||
|
||||
! use cpu_flags_x86_avx512vbmi ||
|
||||
! use cpu_flags_x86_avx512_vnni ||
|
||||
! use cpu_flags_x86_avx512_bf16 ||
|
||||
! use cpu_flags_x86_amx_tile ||
|
||||
! use cpu_flags_x86_amx_int8 ; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sapphirerapids/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
#AVX F16C AVX2 FMA AVX512 AVX512_VBMI AVX512_VNNI AVX512_BF16 AMX_TILE AMX_INT8)
|
||||
fi
|
||||
: # ml/backend/ggml/ggml/src/CMakeLists.txt
|
||||
fi
|
||||
|
||||
# default
|
||||
# return
|
||||
if use cuda; then
|
||||
cuda_src_prepare
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
# --hip-version gets appended to the compile flags which isn't a known flag.
|
||||
# This causes rocm builds to fail because -Wunused-command-line-argument is turned on.
|
||||
# Use nuclear option to fix this.
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name ".go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_POLICY_DEFAULT_CMP0177="OLD"
|
||||
-DGGML_CCACHE="no"
|
||||
|
||||
# -DGGML_CPU="yes"
|
||||
-DGGML_BLAS="$(usex blas)"
|
||||
# -DGGML_CUDA="$(usex cuda)"
|
||||
# -DGGML_HIP="$(usex rocm)"
|
||||
|
||||
# -DGGML_METAL="yes" # apple
|
||||
# missing from ml/backend/ggml/ggml/src/
|
||||
# -DGGML_CANN="yes"
|
||||
# -DGGML_MUSA="yes"
|
||||
# -DGGML_RPC="yes"
|
||||
# -DGGML_SYCL="yes"
|
||||
# -DGGML_KOMPUTE="$(usex kompute)"
|
||||
# -DGGML_OPENCL="$(usex opencl)"
|
||||
# -DGGML_VULKAN="$(usex vulkan)"
|
||||
)
|
||||
|
||||
if use blas; then
|
||||
if use mkl; then
|
||||
mycmakeargs+=(
|
||||
-DGGML_BLAS_VENDOR="Intel"
|
||||
)
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DGGML_BLAS_VENDOR="Generic"
|
||||
)
|
||||
fi
|
||||
fi
|
||||
if use cuda; then
|
||||
local -x CUDAHOSTCXX CUDAHOSTLD
|
||||
CUDAHOSTCXX="$(cuda_gccdir)"
|
||||
CUDAHOSTLD="$(tc-getCXX)"
|
||||
|
||||
cuda_add_sandbox -w
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_CUDA_COMPILER="NOTFOUND"
|
||||
)
|
||||
fi
|
||||
|
||||
if use rocm; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_PLATFORM="amd"
|
||||
)
|
||||
|
||||
local -x HIP_ARCHS HIP_PATH
|
||||
HIP_ARCHS="$(get_amdgpu_flags)"
|
||||
HIP_PATH="${ESYSROOT}/usr"
|
||||
|
||||
check_amdgpu
|
||||
else
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_COMPILER="NOTFOUND"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --preset Default "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --preset CUDA "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --preset ROCm "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
|
||||
cmake_src_compile
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --build --preset Default -j16
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --build --preset CUDA -j16
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --build --preset ROCm -j16
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ollama
|
||||
|
||||
cmake_src_install
|
||||
|
||||
newinitd "${FILESDIR}/ollama.init" "${PN}"
|
||||
newconfd "${FILESDIR}/ollama.confd" "${PN}"
|
||||
|
||||
systemd_dounit "${FILESDIR}/ollama.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
keepdir /var/log/ollama
|
||||
fperms 750 /var/log/ollama
|
||||
fowners "${PN}:${PN}" /var/log/ollama
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
einfo "Quick guide:"
|
||||
einfo "\tollama serve"
|
||||
einfo "\tollama run llama3:70b"
|
||||
einfo
|
||||
einfo "See available models at https://ollama.com/library"
|
||||
fi
|
||||
}
|
||||
@@ -68,7 +68,7 @@ DEPEND="
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
acct-group/${PN}
|
||||
acct-user/${PN}[cuda?]
|
||||
>=acct-user/${PN}-3[cuda?]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
@@ -94,9 +94,22 @@ src_prepare() {
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/-O3/$(get-flag O)/g" \
|
||||
-e "s/ -O3//g" \
|
||||
-i ml/backend/ggml/ggml/src/ggml-cpu/cpu.go || die sed
|
||||
|
||||
# fix library location
|
||||
sed \
|
||||
-e "s#lib/ollama#$(get_libdir)/ollama#g" \
|
||||
-i CMakeLists.txt || die sed
|
||||
|
||||
sed \
|
||||
-e "s/\"..\", \"lib\"/\"..\", \"$(get_libdir)\"/" \
|
||||
-e "s#\"lib/ollama\"#\"$(get_libdir)/ollama\"#" \
|
||||
-i \
|
||||
ml/backend/ggml/ggml/src/ggml.go \
|
||||
discover/path.go \
|
||||
|| die
|
||||
|
||||
if use amd64; then
|
||||
if ! use cpu_flags_x86_avx; then
|
||||
sed -e "/ggml_add_cpu_backend_variant(sandybridge/s/^/# /g" -i ml/backend/ggml/ggml/src/CMakeLists.txt || die
|
||||
@@ -217,12 +230,11 @@ src_configure() {
|
||||
|
||||
if use rocm; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_HIP_ARCHITECTURES="$(get_amdgpu_flags)"
|
||||
-DCMAKE_HIP_PLATFORM="amd"
|
||||
)
|
||||
|
||||
local -x HIP_ARCHS HIP_PATH
|
||||
HIP_ARCHS="$(get_amdgpu_flags)"
|
||||
HIP_PATH="${ESYSROOT}/usr"
|
||||
local -x HIP_PATH="${ESYSROOT}/usr"
|
||||
|
||||
check_amdgpu
|
||||
else
|
||||
@@ -232,48 +244,12 @@ src_configure() {
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --preset Default "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --preset CUDA "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --preset ROCm "${mycmakeargs[@]}"
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ego build
|
||||
|
||||
cmake_src_compile
|
||||
|
||||
# if ! use cuda && ! use rocm; then
|
||||
# # to configure and build only CPU variants
|
||||
# set -- cmake --build --preset Default -j16
|
||||
# fi
|
||||
|
||||
# if use cuda; then
|
||||
# # to configure and build only CUDA
|
||||
# set -- cmake --build --preset CUDA -j16
|
||||
# fi
|
||||
|
||||
# if use rocm; then
|
||||
# # to configure and build only ROCm
|
||||
# set -- cmake --build --preset ROCm -j16
|
||||
# fi
|
||||
|
||||
# echo "$@" >&2
|
||||
# "$@" || die -n "${*} failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -301,4 +277,9 @@ pkg_postinst() {
|
||||
einfo
|
||||
einfo "See available models at https://ollama.com/library"
|
||||
fi
|
||||
|
||||
if use cuda ; then
|
||||
einfo "When using cuda the user running ${PN} has to be in the video group or it won't detect devices."
|
||||
einfo "The ebuild ensures this for user ${PN} via acct-user/${PN}[cuda]"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -24,3 +24,4 @@ DIST limine-9.0.1.tar.gz 600042 BLAKE2B 39e44bd8daf2ddf763187835d3a5af4ec87c2bb5
|
||||
DIST limine-9.1.3.tar.gz 598867 BLAKE2B 4aeab7e92f06dbcb7476d7aac26e1e29c15e84364cf652bb72a669a3d42ee8b0947304c5f5c8e53ec4f5cd0a0785d9d2174d0445ccb088ea41a092c22713e488 SHA512 0eaafcdaf9ab19ab8bf7609600b929c64c295ce35ae96240bd7e15082d0b1494dc5d89bd8b1e31830b67d7a0b6402aa343d4c12960d29a7079b8ff3c1ee1be86
|
||||
DIST limine-9.2.0.tar.gz 599730 BLAKE2B 1748413935ef4f5ecad0f7e68aad832a616b4d23e0e6b4d8f65de6bf363aa00b28d63b6c7042bb0b967904b95d6af39ed22039756a3fa549f3f176f87674d7b0 SHA512 2347e99cbc01a16bf91a79a1f0e17454443a81dcdd2c520ecbe645bd2b1de09567338047ece9183404151652a333eb0f1170666db17f8e796414d937876dbca5
|
||||
DIST limine-9.2.2.tar.gz 600310 BLAKE2B f3085f67d6ba41eef2e5f34de671a307e6034339d16ce5f0e09b08c5d3a32e332a0cdc55fd78872d92e60797d5a03905c06aa4094930b96be8fc7ca504acee84 SHA512 7a88a3424ffa9aab190f182ae7bc616c7f0c50be55def3805e6c633ed4bf662c9300009e35b2401ac8263dc6a3045085b4cd9ae07f994bcff9f0a88215d4548a
|
||||
DIST limine-9.2.3.tar.gz 591893 BLAKE2B 7ce8f729cf8556ee42a751eef69334da5f2f91cda0006d62caccc2731a74951198bb11a2cf20af387edb9f6320987f929883651737a3a80221cddee616338136 SHA512 9cc5543577d6595770f1217965e404ce7599bb41228ba8c4d335a99aee38ccc53a1bd3c287f82f0dbaa483a7dbb1aba3cb6bf74a280332c6e3cd2b6e9f9539ad
|
||||
|
||||
49
sys-boot/limine/limine-9.2.3.ebuild
Normal file
49
sys-boot/limine/limine-9.2.3.ebuild
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {16..19} )
|
||||
inherit llvm-r1
|
||||
|
||||
DESCRIPTION="Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloader"
|
||||
HOMEPAGE="https://limine-bootloader.org/"
|
||||
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64 +uefiloong64"
|
||||
|
||||
MY_LLVM_TARGETS="AArch64 ARM X86 RISCV LoongArch"
|
||||
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
|
||||
|
||||
BDEPEND="
|
||||
app-alternatives/gzip
|
||||
dev-lang/nasm
|
||||
sys-apps/findutils
|
||||
$(llvm_gen_dep "
|
||||
llvm-core/llvm:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
|
||||
llvm-core/clang:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
|
||||
llvm-core/lld:\${LLVM_SLOT}
|
||||
")
|
||||
cd-efi? ( sys-fs/mtools )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
"$(use_enable bios)"
|
||||
"$(use_enable bios-cd)"
|
||||
"$(use_enable bios-pxe)"
|
||||
|
||||
"$(use_enable uefi32 uefi-ia32)"
|
||||
"$(use_enable uefi64 uefi-x86-64)"
|
||||
"$(use_enable uefiaa64 uefi-aarch64)"
|
||||
"$(use_enable uefirv64 uefi-riscv64)"
|
||||
"$(use_enable uefiloong64 uefi-loongarch64)"
|
||||
"$(use_enable cd-efi uefi-cd)"
|
||||
)
|
||||
|
||||
TOOLCHAIN_FOR_TARGET=llvm \
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST evdi-1.14.7.tar.gz 95158 BLAKE2B ca640c49473b85f59fc5f510a9e59db2579878285ea9bc45ec65d6f464b5937f60cdc96ef3d25bf4e7b06e7478d3cf06b541eda986388418cd077b784db8c0da SHA512 75af080dfb110db1e98a980bba3c7edb892ec1849e368206f8841fc79f947220d8ec5f9ae74c7e3f9164ed2be9cae713270da4bdec10e8af5295d264e55af0d7
|
||||
DIST evdi-1.14.8.tar.gz 96663 BLAKE2B 2c6cb5ecad1d2b3679a08e19a3985b332c4db9a3a4b2a904479d1338e3a45ebd95428c3d751ca80df8dd9628eeb5150c6967391d7d98685fe267a14b9dd755bd SHA512 ec335b848a4ff7ed09927e8ed4cd7edc4c2ae1c25d2cee8db14928b2c93c5d68cb5946249abb0ef07dd1a4db9374b4f45bc5e2b3c5b4258158a54b426a7c2935
|
||||
DIST evdi-1.14.9.tar.gz 97080 BLAKE2B 85dd5543bcc9ff94e69a6e9c2c5bc36748bd62ec5f55dee71831c37369c231d71548610547d74e8d307cf2b32b4117f40c0948edccc3e32f4a35a5203e027e18 SHA512 55d1d424ae637436b5f5937df6dbbb14bc02b4d7b2e8ce24002494d4a935466637987a188b74a7bc6b9f4eeb417dd60a471eceee85d0fd440901a5153a323fe2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="python test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
x11-libs/libdrm
|
||||
python? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pybind11[${PYTHON_USEDEP}]
|
||||
@@ -29,6 +28,7 @@ RDEPEND="${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
x11-libs/libdrm
|
||||
sys-kernel/linux-headers
|
||||
"
|
||||
|
||||
@@ -41,8 +41,6 @@ CONFIG_CHECK="~FB_VIRTUAL ~I2C ~DRM ~USB_SUPPORT ~USB_ARCH_HAS_HCD MODULES"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.14.4-format-truncation.patch"
|
||||
"${FILESDIR}/${PN}-1.14.7-removed-output_poll_changed.patch"
|
||||
"${FILESDIR}/${PN}-1.14.7-drm_fb_helper.info.patch" # backport from 1.14.8
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
Reference in New Issue
Block a user