Compare commits

...

6 Commits

Author SHA1 Message Date
saundersp
92bf8cfd1e Added sci-mathematics/scilab-bin-2025.0.0 2025-02-01 16:10:16 +01:00
saundersp
551ae69d5a Added app-misc/ollama-bin-0.5.7 2025-02-01 16:04:42 +01:00
saundersp
47e09f9280 Added app-office/notesnook-bin-3.0.24 2025-02-01 16:03:56 +01:00
saundersp
4c51ec5924 Changed dev-libs/libportal maintainer in metadata.xml 2025-02-01 16:01:51 +01:00
saundersp
483f6e5635 Removed dev-vcs/lazygit-0.45.0 2025-02-01 16:01:11 +01:00
saundersp
a607e440ff Added app-misc/deskflow-1.19.0 2025-02-01 15:59:11 +01:00
22 changed files with 358 additions and 51 deletions

View File

@ -0,0 +1 @@
DIST deskflow-1.19.0.tar.gz 3166330 BLAKE2B c30f297ead9bfe119e3335ce832ad7c13dbcb9f5e93dac97a1bae5ae32c5499e9e0406ee6d135ebf302549945b95db819a8505611458780ecfe7f3ce64e5014a SHA512 7cc9d00ebd6be394a52a07cd707fe1b0f4ddfd66ffe97faad015433acc36a5517862c87aff0014a6e776f071d503d4721957e4687df71e018465ddeca8049982

View File

@ -0,0 +1,78 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop xdg-utils
CP="deskflow-${P/-r/+r}"
DESCRIPTION='Deskflow lets you share one mouse and keyboard between multiple computers'
HOMEPAGE='https://github.com/deskflow/deskflow'
SRC_URI="https://github.com/deskflow/deskflow/archive/refs/tags/v${PVR/-r/+r}.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/${PF}
LICENSE='GPL-2'
SLOT='0'
KEYWORDS='~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux'
IUSE='gui'
RDEPEND='
>=dev-libs/libportal-0.8.0
dev-cpp/cli11
dev-cpp/tomlplusplus
dev-libs/glib
dev-libs/libei
dev-libs/openssl:=
dev-libs/pugixml
gui? ( dev-qt/qtbase:6 )
sys-libs/glibc
x11-libs/gdk-pixbuf
x11-libs/libICE:=
x11-libs/libSM:=
x11-libs/libX11:=
x11-libs/libXext:=
x11-libs/libXi:=
x11-libs/libXinerama:=
x11-libs/libXrandr:=
x11-libs/libXtst:=
x11-libs/libnotify
x11-libs/libxkbcommon
'
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
BDEPEND='gui? ( dev-qt/linguist-tools:5 )'
src_configure() {
local mycmakeargs=(
-DBUILD_GUI=$(usex gui)
-DBUILD_INSTALLER=OFF
-DBUILD_TESTS=OFF
-DENABLE_COVERAGE=OFF
)
cmake_src_configure
}
src_install() {
if use gui; then
newicon -s 512 "${S}/deploy/linux/deskflow.png" deskflow.png
make_desktop_entry deskflow Deskflow deskflow 'Utility;'
fi
einstalldocs
cmake_src_install
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View 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>bartlomiej.burdukiewicz@gmail.com</email>
<name>Bartłomiej Burdukiewicz</name>
</maintainer>
<use>
<flag name="gui">Build with GUI support</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
DIST ollama-bin-0.5.7.amd64.tgz 1682401421 BLAKE2B 3c1c1e883428d5ace28d848d59cc9dcadf3a1872cf2c000ba966e61ec89f0533ad097d319684a332d91a7fb8fe7f5aeba8eb75d68243ac10550809f0cf1c08ba SHA512 7e653a6cdc97792f509fe8fb9e3c995c8359150c706759b1e9f19b438647c5bafd1c771673809303fff7c572a3cdbf26100edea3058dd780ad3490c9c9239905
DIST ollama-bin-0.5.7.arm64.tgz 1540370409 BLAKE2B e42fd66d2caadea2e4b1de062ef9d4c76d42b92df6975a66c4c0a169578fbbc2ecc8cd2aca4fccc06711b98b7c62e99989f6c1367aed1a781a4cf7c6edef57bc SHA512 db2b729e880e6355a98513bcaeb58051f0f959966ed29c9f3966ed8390e96f43781416b92b82b821fccd1a4720fa488019c7f1c765a4df37075374a6623cc310
DIST ollama-bin-0.5.7.rocm.tgz 1214464647 BLAKE2B 94368dc0c0dbdcdaff0a5c340bf0794be371de7f4f3b59d11f1152459d3eda14e0703923135c603e8fd8016664ef7e01d2a414dd08eed931e9716eeb3f2f06f8 SHA512 90994d1863c3867eb4f86a777008d98a2f20d751d19e86577847ee3119a3588a1356fde1e2964a52ccebce15b48f9339ea935f477aac2c564375ec521c3f7fd7

View File

@ -0,0 +1,71 @@
EAPI=8
DESCRIPTION='Get up and running with Llama 3, Mistral, Gemma, and other large language models.'
HOMEPAGE='https://ollama.com'
LICENSE='MIT'
SLOT='0'
KEYWORDS='~amd64 ~arm64'
IUSE='+systemd -rocm'
DEPEND='acct-user/ollama acct-group/ollama'
RDEPEND='acct-user/ollama acct-group/ollama'
S="${WORKDIR}"
RESTRICT='strip'
inherit xdg-utils
SRC_URI="
amd64? ( https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64.tgz -> $P.amd64.tgz )
arm64? ( https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-arm64.tgz -> $P.arm64.tgz )
rocm? ( https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64-rocm.tgz -> $P.rocm.tgz )
"
src_unpack() {
if use rocm; then
tar -xzvf "${DISTDIR}/${P}.rocm.tgz" -C "${WORKDIR}" || die "Can't extract rocm tgz"
elif use amd64; then
tar -xzvf "${DISTDIR}/${P}.amd64.tgz" -C "${WORKDIR}" || die 'Failed to extract binary'
elif use arm64; then
tar -xzvf "${DISTDIR}/${P}.arm64.tgz" -C "${WORKDIR}" || die 'Failed to extract binary'
fi
}
src_install() {
exeinto /opt/Ollama/bin
doexe "${WORKDIR}/bin/ollama" || die 'Failed to install binary'
insinto /opt/Ollama/lib/
doins -r "${WORKDIR}/lib/ollama/" || die 'Failed to install libraries'
dosym /opt/Ollama/bin/ollama /opt/bin/ollama
}
src_prepare() {
eapply_user
}
pkg_postinst() {
einfo 'Quick guide:'
einfo 'ollama serve'
einfo 'ollama run llama3:70b'
einfo 'See available models at https://ollama.com/library'
if use systemd; then
einfo 'Creating systemd service file...'
{
echo '[Unit]'
echo 'Description=Ollama Service'
echo 'After=network-online.target'
echo ''
echo '[Service]'
echo 'ExecStart=/opt/Ollama/bin/ollama serve'
echo 'User=ollama'
echo 'Group=ollama'
echo 'Restart=always'
echo 'RestartSec=3'
echo ''
echo '[Install]'
echo 'WantedBy=default.target'
} > /usr/lib/systemd/system/ollama.service
einfo 'Service file created at /etc/systemd/system/ollama.service'
einfo 'Making service user-startable...'
mkdir -p /etc/systemd/user
ln -s /usr/lib/systemd/system/ollama.service /etc/systemd/user/ollama.service
ln -s /usr/lib/systemd/system/ollama.service /etc/systemd/system/ollama.service
fi
}

View File

@ -0,0 +1,2 @@
DIST notesnook-bin-3.0.24.amd64.AppImage 107747451 BLAKE2B ee91ba2bd78de574de7b1748d56850f8a8549807c4efc592985030deec5f56f80090aa223740d469f8a69189c22af4f07b6717387d8cb2596663d07694194240 SHA512 ddae02cc4b6d21e238d83626c45ec177c2c96a3cb27a882250db40b7b22fc35cd9a522786f167712106b8e1b916b2b019d63d7ab58af45fe84e8145937efe33d
DIST notesnook-bin-3.0.24.arm64.AppImage 108015837 BLAKE2B 6edbcf3184cee8c2f174112e3a360db8bd5cd30debacce35401dfa017ed80325cd0aaa467d0b2d539aeb878aa7639fa0d69dfd6783f5c50c9e4a644e7b18acd9 SHA512 10dc89bb69d4f5bdeb8acbabbd0f454703da1f6df4374843365da4bae5a9830a480c296bcf0bc9c3ff68cb1154617d4a23b540f2b2ee416f90f43e37d52ade03

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Vitaly Zdanevich</name>
<email>zdanevich.vitaly@ya.ru</email>
</maintainer>
<longdescription lang="en">
Notesnook is a free (as in speech) and open-source note-taking app focused on user privacy and ease of use.
To ensure zero knowledge principles, Notesnook encrypts everything on your device using XChaCha20-Poly1305 and Argon2.
Notesnook is our proof that privacy does not (always) have to come at the cost of convenience.
We aim to provide users peace of mind and 100% confidence that their notes are safe and secure.
The decision to go fully open source is one of the most crucial steps towards that.
</longdescription>
<upstream>
<remote-id type="github">streetwriters/notesnook</remote-id>
<bugs-to>https://github.com/streetwriters/notesnook/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION='End-to-end encrypted note taking alternative to Evernote'
HOMEPAGE='https://notesnook.com/ https://github.com/streetwriters/notesnook'
RELEASE_URI=https://github.com/streetwriters/notesnook/releases
SRC_URI="
amd64? ( ${RELEASE_URI}/download/v${PV}/notesnook_linux_x86_64.AppImage -> ${P}.amd64.AppImage )
arm64? ( ${RELEASE_URI}/download/v${PV}/notesnook_linux_arm64.AppImage -> ${P}.arm64.AppImage )
"
S="${WORKDIR}"
LICENSE='GPL-3'
SLOT='0'
KEYWORDS='~amd64 ~arm64'
RESTRICT='strip'
RDEPEND='sys-fs/fuse:0'
QA_PREBUILT='*'
inherit desktop
src_install() {
if use amd64; then
newbin "${DISTDIR}/${P}.amd64.AppImage" notesnook
elif use arm64; then
newbin "${DISTDIR}/${P}.arm64.AppImage" notesnook
fi
doicon "${FILESDIR}"/notesnook.png
make_desktop_entry "${PN}" Notesnook notesnook 'Office;'
}

View File

@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="project"> <maintainer type="project">
<email>pierre.saundersps@gmail.com</email> <email>gnome@gentoo.org</email>
<name>Pierre Saunders</name> <name>Gentoo GNOME Desktop</name>
</maintainer> </maintainer>
<upstream> <upstream>
<remote-id type="github">flatpak/libportal</remote-id> <remote-id type="github">flatpak/libportal</remote-id>

View File

@ -1,2 +1 @@
DIST lazygit-0.45.0.tar.gz 4762115 BLAKE2B 0c341599b721a742362919f80c7e75f40b3fd97b238f54b3599f07896f876ad87b971a341eeea954ba840a57dbe0f0e52c6b775c7088238ca7cdaf1dcd22f6d9 SHA512 cf91a32b2d505d36c4e84bfa4d3d98a901845ce9e9f6c1aebaf680d7a861bcabd737fad4119f33881198a63fcee879f534fa597f12ae32e6c689fc60276ccf8c
DIST lazygit-0.45.2.tar.gz 4770243 BLAKE2B b8373edfb5b39d4bacc3e8656bdfb3b02c237654562e223ffeb5d486ded943bd16c3cdc5cd07c134b831c376dd1fe67c37c6baf8d40aa1777e3c7a7a786c935e SHA512 129eeb99de46364361c916d545222b3bd376ac3ca5ec362ebc00c06d08dd450230aed0b797acf8270f20d5e00e9d6f9cb644b94f7fdfa27c617612639913865c DIST lazygit-0.45.2.tar.gz 4770243 BLAKE2B b8373edfb5b39d4bacc3e8656bdfb3b02c237654562e223ffeb5d486ded943bd16c3cdc5cd07c134b831c376dd1fe67c37c6baf8d40aa1777e3c7a7a786c935e SHA512 129eeb99de46364361c916d545222b3bd376ac3ca5ec362ebc00c06d08dd450230aed0b797acf8270f20d5e00e9d6f9cb644b94f7fdfa27c617612639913865c

View File

@ -1,32 +0,0 @@
# Copyright 1999-2024 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 ~arm64"
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
}

View File

@ -0,0 +1,15 @@
BDEPEND=gui? ( dev-qt/linguist-tools:5 ) app-alternatives/ninja >=dev-build/cmake-3.20.5
DEFINED_PHASES=compile configure install postinst postrm prepare test
DEPEND=>=dev-libs/libportal-0.8.0 dev-cpp/cli11 dev-cpp/tomlplusplus dev-libs/glib dev-libs/libei dev-libs/openssl:= dev-libs/pugixml gui? ( dev-qt/qtbase:6 ) sys-libs/glibc x11-libs/gdk-pixbuf x11-libs/libICE:= x11-libs/libSM:= x11-libs/libX11:= x11-libs/libXext:= x11-libs/libXi:= x11-libs/libXinerama:= x11-libs/libXrandr:= x11-libs/libXtst:= x11-libs/libnotify x11-libs/libxkbcommon x11-base/xorg-proto
DESCRIPTION=Deskflow lets you share one mouse and keyboard between multiple computers
EAPI=8
HOMEPAGE=https://github.com/deskflow/deskflow
INHERIT=cmake desktop xdg-utils
IUSE=gui
KEYWORDS=~amd64
LICENSE=GPL-2
RDEPEND=>=dev-libs/libportal-0.8.0 dev-cpp/cli11 dev-cpp/tomlplusplus dev-libs/glib dev-libs/libei dev-libs/openssl:= dev-libs/pugixml gui? ( dev-qt/qtbase:6 ) sys-libs/glibc x11-libs/gdk-pixbuf x11-libs/libICE:= x11-libs/libSM:= x11-libs/libX11:= x11-libs/libXext:= x11-libs/libXi:= x11-libs/libXinerama:= x11-libs/libXrandr:= x11-libs/libXtst:= x11-libs/libnotify x11-libs/libxkbcommon
SLOT=0
SRC_URI=https://github.com/deskflow/deskflow/archive/refs/tags/v1.19.0.tar.gz -> deskflow-1.19.0.tar.gz
_eclasses_=toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic 357f1a896fbedcd06e5ce55419c49eb9 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 10a50dfaf728b802fcfd37f8d0da9056 desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed
_md5_=79146fea1362f7f6979ff123258a5327

View File

@ -0,0 +1,15 @@
DEFINED_PHASES=install postinst prepare unpack
DEPEND=acct-user/ollama acct-group/ollama
DESCRIPTION=Get up and running with Llama 3, Mistral, Gemma, and other large language models.
EAPI=8
HOMEPAGE=https://ollama.com
INHERIT=xdg-utils
IUSE=+systemd -rocm
KEYWORDS=~amd64 ~arm64
LICENSE=MIT
RDEPEND=acct-user/ollama acct-group/ollama
RESTRICT=strip
SLOT=0
SRC_URI=amd64? ( https://github.com/ollama/ollama/releases/download/v0.5.7/ollama-linux-amd64.tgz -> ollama-bin-0.5.7.amd64.tgz ) arm64? ( https://github.com/ollama/ollama/releases/download/v0.5.7/ollama-linux-arm64.tgz -> ollama-bin-0.5.7.arm64.tgz ) rocm? ( https://github.com/ollama/ollama/releases/download/v0.5.7/ollama-linux-amd64-rocm.tgz -> ollama-bin-0.5.7.rocm.tgz )
_eclasses_=xdg-utils 42869b3c8d86a70ef3cf75165a395e09
_md5_=26da341ee10214bf82979efddfefa143

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=install
DESCRIPTION=End-to-end encrypted note taking alternative to Evernote
EAPI=8
HOMEPAGE=https://notesnook.com/ https://github.com/streetwriters/notesnook
INHERIT=desktop
KEYWORDS=~amd64 ~arm64
LICENSE=GPL-3
RDEPEND=sys-fs/fuse:0
RESTRICT=strip
SLOT=0
SRC_URI=amd64? ( https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_x86_64.AppImage -> notesnook-bin-3.0.24.amd64.AppImage ) arm64? ( https://github.com/streetwriters/notesnook/releases/download/v3.0.24/notesnook_linux_arm64.AppImage -> notesnook-bin-3.0.24.arm64.AppImage )
_eclasses_=desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed
_md5_=f88cacd8fbaa471e9970b9bf2906a72a

View File

@ -13,5 +13,5 @@ REQUIRED_USE=gtk-doc? ( introspection ) vala? ( introspection )
RESTRICT=!test? ( test ) !test? ( test ) RESTRICT=!test? ( test ) !test? ( test )
SLOT=0/1-1-1-1 SLOT=0/1-1-1-1
SRC_URI=https://github.com/flatpak/libportal/releases/download/0.9.0/libportal-0.9.0.tar.xz SRC_URI=https://github.com/flatpak/libportal/releases/download/0.9.0/libportal-0.9.0.tar.xz
_eclasses_=toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 meson 99466844dd8d4fcfb07578a76f5a9922 python-any-r1 6ddb5e75c10db046f89ebe39c85e1d82 vala e477903dbe0105930c51f170a592dc16 virtualx 9741d451eb64ea8bb9faee90d68a9b68 _eclasses_=toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic 357f1a896fbedcd06e5ce55419c49eb9 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 42c5abe4a656a4993a06a4fc61dbdd12 meson 99466844dd8d4fcfb07578a76f5a9922 python-any-r1 6ddb5e75c10db046f89ebe39c85e1d82 vala e477903dbe0105930c51f170a592dc16 virtualx 9741d451eb64ea8bb9faee90d68a9b68
_md5_=69449dd28870084d1fea67013b9b622e _md5_=69449dd28870084d1fea67013b9b622e

View File

@ -1,14 +0,0 @@
BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip
DEFINED_PHASES=compile install test unpack
DESCRIPTION=Simple terminal UI for git commands
EAPI=8
HOMEPAGE=https://github.com/jesseduffield/lazygit
INHERIT=go-module
KEYWORDS=~amd64 ~arm64
LICENSE=Apache-2.0 BSD ISC MIT Unlicense
RDEPEND=dev-vcs/git
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/jesseduffield/lazygit/archive/v0.45.0.tar.gz -> lazygit-0.45.0.tar.gz
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467
_md5_=0bac9dced99b1fff4702aa6ea02d7791

View File

@ -10,5 +10,5 @@ RDEPEND=dev-vcs/git
RESTRICT=strip RESTRICT=strip
SLOT=0 SLOT=0
SRC_URI=https://github.com/jesseduffield/lazygit/archive/v0.45.2.tar.gz -> lazygit-0.45.2.tar.gz SRC_URI=https://github.com/jesseduffield/lazygit/archive/v0.45.2.tar.gz -> lazygit-0.45.2.tar.gz
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 _eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic 357f1a896fbedcd06e5ce55419c49eb9 go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467
_md5_=0bac9dced99b1fff4702aa6ea02d7791 _md5_=0bac9dced99b1fff4702aa6ea02d7791

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=install postinst postrm preinst prepare
DESCRIPTION=Scientific software package for numerical computations
EAPI=8
HOMEPAGE=https://www.scilab.org/
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
INHERIT=xdg
KEYWORDS=-* ~amd64
LICENSE=GPL-2
RDEPEND=media-libs/alsa-lib media-libs/freetype media-libs/mesa sci-libs/lapack sys-libs/zlib x11-libs/libX11 x11-libs/libXcursor x11-libs/libXext x11-libs/libXi x11-libs/libXrandr x11-libs/libXrender x11-libs/libXtst x11-libs/libXxf86vm x11-libs/libdrm
RESTRICT=mirror strip test
SLOT=0
SRC_URI=https://www.scilab.org/download/2025.0.0/scilab-2025.0.0.bin.x86_64-linux-gnu.tar.xz
_eclasses_=xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575
_md5_=93ea90e29b879d0e4170b552b51a56a6

View File

@ -0,0 +1 @@
DIST scilab-2025.0.0.bin.x86_64-linux-gnu.tar.xz 236499356 BLAKE2B d64c3d0f66c7f7a4462ae187c0b85f8a22548cc0bab08e7fc9753d0d7a3e1ccacdc6113d1f305574379a07e13ff957cb5bee0df593a1c3cea35f402210b1fa24 SHA512 f34aa56452ead1fbdeb1bc2545f72851280251ea9786d646d97af55397e5ed3589b83da2a700f42ac80aa640bc39faea44c95b909a5991b91bbee2782bf27a31

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>xgqt@riseup.net</email>
<name>Maciej Barć</name>
</maintainer>
<longdescription lang="en">
Open source, cross-platform numerical computational package and
a high-level, numerically oriented programming language.
</longdescription>
<upstream>
<remote-id type="github">scilab/scilab</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,65 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit xdg
DESCRIPTION='Scientific software package for numerical computations'
HOMEPAGE='https://www.scilab.org/'
SRC_URI="https://www.scilab.org/download/${PV}/scilab-${PV}.bin.x86_64-linux-gnu.tar.xz"
S="${WORKDIR}/scilab-${PV}"
LICENSE='GPL-2'
SLOT='0'
KEYWORDS='-* ~amd64'
RESTRICT='mirror strip test'
RDEPEND='
media-libs/alsa-lib
media-libs/freetype
media-libs/mesa
sci-libs/lapack
sys-libs/zlib
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libXxf86vm
x11-libs/libdrm
'
DESTDIR='/opt/scilab-bin'
QA_PREBUILT="${DESTDIR}/.*"
DOCS=( ACKNOWLEDGEMENTS COPYING CHANGES.md README.md )
src_prepare() {
default
# bug #709450
mv share/appdata share/metainfo || die
}
src_install() {
insinto "${DESTDIR}"
doins -r bin include lib thirdparty
for executable in {modelica{c,t},scilab{{,-bin},-adv-cli,-cli{,-bin}},scinotes,xcos,XML2Modelica}; do
fperms +x "${DESTDIR}/bin/${executable}"
# Only symlink shellscript if there is an option
if ! [[ ${executable} =~ *-bin ]]; then
dosym "${DESTDIR}/bin/${executable}" "/usr/bin/${executable}"
fi
done
insinto "${DESTDIR}/share"
doins -r share/{locale,scilab}
insinto /usr/share
doins -r share/{applications,icons,locale,metainfo,mime}
einstalldocs
}