Removed redundant versions
This commit is contained in:
@ -1,2 +1 @@
|
||||
DIST cudnn-linux-x86_64-9.6.0.74_cuda12-archive.tar.xz 662367552 BLAKE2B 2f4b99825bf57b07580daf6bbf6ea3abbec94ab9942a645f3eafe67ee24e6b9a1acb1b9ae725345a5dbf7a0634c247907394727670b604fa6199bb40cee61f00 SHA512 8e69603af614e12439883d0a5bd4927abc66e03739151ecaa485d340ab02e426a4cce568a556be445223cee8a6a926a8ed821708e9e61e79db5817ddcd3066d5
|
||||
DIST cudnn-linux-x86_64-9.7.1.26_cuda12-archive.tar.xz 969539424 BLAKE2B 5192911cfbb6386d97326aeb05f7102376c80ad3a293b1e4f525d4da35524fb0173ac48ce4d13aa2591181acd559c90852c1620c13a041f6935452483d6687dc SHA512 1f20b07d95d9d1d823bad7266460203b20f2c4ccd95be9856506580072c18437436e105eb07d6ca0de529186145e0ced168a6982eedfe8874bf0856edaa4b9a6
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker
|
||||
|
||||
CUDA_V='12'
|
||||
|
||||
DESCRIPTION='NVIDIA Accelerated Deep Learning on GPU library'
|
||||
HOMEPAGE='https://developer.nvidia.com/cudnn'
|
||||
SRC_URI="https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-${PV}_cuda${CUDA_V}-archive.tar.xz"
|
||||
S="${WORKDIR}/cudnn-linux-x86_64-${PV%%_*}_cuda${CUDA_V}-archive"
|
||||
|
||||
LICENSE='NVIDIA-cuDNN'
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
KEYWORDS='-* ~amd64 ~amd64-linux'
|
||||
RESTRICT='mirror'
|
||||
|
||||
RDEPEND="=dev-util/nvidia-cuda-toolkit-${CUDA_V}*"
|
||||
|
||||
QA_PREBUILT='/opt/cuda/targets/x86_64-linux/lib/*'
|
||||
|
||||
src_install() {
|
||||
insinto /opt/cuda/targets/x86_64-linux
|
||||
|
||||
doins -r include lib
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libportal-0.9.0.tar.xz 107488 BLAKE2B 8ec0b10511b0431e8b518b8ffbf3fc5c2d73d4f19c678aacd62042dc9082045eb0d438f4f476f61648673a947bf3054562f6de21c9dff7e6a03d00f96748d97e SHA512 b0c7a7f4b3f50b8bf9d5403b484b81127b6344907b409e87197fbc643111e03ef20532ce2012e285c25dedb8698a214b2decdf9fc48256a82ebe617bb3d05d79
|
||||
DIST libportal-0.9.1.tar.xz 108572 BLAKE2B 3574d141a42802a38b6e276848bff86a557b77e3ab1f269cf9ccf59f0706ee68271c90c2e81ff8593fd271c5edb6d51dab86ff18a9ff5147f00b74e18f3b8e7d SHA512 445f0c9295220668123b9b3503bb5e75edef3ea939d6f28b159c0ded2f017b35b35e8a6013f550ac6a1f8a5fb9f04c93ce5ced39694bd14731da19172649c895
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit flag-o-matic meson python-any-r1 vala virtualx
|
||||
|
||||
DESCRIPTION='Flatpak portal library'
|
||||
HOMEPAGE='https://github.com/flatpak/libportal'
|
||||
SRC_URI="https://github.com/flatpak/libportal/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE='LGPL-3'
|
||||
SLOT='0/1-1-1-1' # soname of libportal{,-gtk3,-gtk4,-qt5}.so
|
||||
KEYWORDS='~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86'
|
||||
IUSE='gtk gtk-doc +introspection qt5 test +vala wayland X'
|
||||
RESTRICT='!test? ( test )'
|
||||
REQUIRED_USE='
|
||||
gtk-doc? ( introspection )
|
||||
vala? ( introspection )
|
||||
'
|
||||
|
||||
RDEPEND='
|
||||
>=dev-libs/glib-2.58:2
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-3.24.41-r1:3[X?,wayland?]
|
||||
>=gui-libs/gtk-4.12.5-r2:4[X?,wayland?]
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:=
|
||||
dev-qt/qtgui:=
|
||||
dev-qt/qtx11extras:=
|
||||
dev-qt/qtwidgets:=
|
||||
)
|
||||
'
|
||||
DEPEND="${RDEPEND}
|
||||
qt5? (
|
||||
test? ( dev-qt/qttest:= )
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
qt5? (
|
||||
test? ( dev-qt/linguist-tools )
|
||||
)
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/python-dbusmock[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
vala? ( $(vala_depend) )
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version \
|
||||
"dev-python/pytest[${PYTHON_USEDEP}]" \
|
||||
"dev-python/dbus-python[${PYTHON_USEDEP}]" \
|
||||
"dev-python/python-dbusmock[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use test; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# defang automagic dependencies
|
||||
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
||||
use X || append-cflags -DGENTOO_GTK_HIDE_X11
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_feature gtk backend-gtk3)
|
||||
$(meson_feature gtk backend-gtk4)
|
||||
$(meson_feature qt5 backend-qt5)
|
||||
-Dportal-tests=false
|
||||
$(meson_use introspection)
|
||||
$(meson_use vala vapi)
|
||||
$(meson_use gtk-doc docs)
|
||||
$(meson_use test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests only exist for Qt5
|
||||
if use qt5; then
|
||||
virtx meson_src_test
|
||||
else
|
||||
# run meson_src_test to notice if tests are added
|
||||
meson_src_test
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/${PN}-1 "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user