summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-14 10:33:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-14 10:33:57 +0100
commitbf434c621ee151cff3a6444443a818244e334029 (patch)
treea1f7511444364c22690b4a1580bd57fe18a78512 /x11-misc
parent8a9fee0883460449b1dc5e0de3660b1408002de1 (diff)
x11-drivers/nvidia-drivers : add SLOT 530 (v530.41.03)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/nvidia-settings/Manifest1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-390.157-r2.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-470.182.03-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-470.182.03.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-515.105.01-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-515.105.01.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-525.116.03-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-525.116.03.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-530.41.03.ebuild97
6 files changed, 102 insertions, 0 deletions
diff --git a/x11-misc/nvidia-settings/Manifest b/x11-misc/nvidia-settings/Manifest
index e743636a..8786730e 100644
--- a/x11-misc/nvidia-settings/Manifest
+++ b/x11-misc/nvidia-settings/Manifest
@@ -2,3 +2,4 @@ DIST nvidia-settings-390.157.tar.gz 1297247 BLAKE2B 3a2791f8b35131f2036333d31117
DIST nvidia-settings-470.182.03.tar.gz 1235188 BLAKE2B fdec34ae5c0b0de41af053879c0a5b815de6d38a04ffe83ce820e9361c6414fd08c98a15f2a1a7f64fb4233bc32867b767d11884f0a9ae1e3b084ac644c00dc5 SHA512 c61c7aa72eef7d16e5fa1f71450980610b8a1ecf606f611646d654632035d46011f9d45958de94ea84ef889132e7cffe528362484789322ed8b7e6be689169a1
DIST nvidia-settings-515.105.01.tar.gz 1255154 BLAKE2B d287daf814f242a27588fc959cce7ba509b380bcb71e7ac77bc049cb639cb712b1c87860fbef91b284f02c5a8c44f226c7996047adf77de0285e14a7c355285c SHA512 7d22293990c161df0082770629a6084bd315b278655e6297158656a6eca2197b730b1ec08faa92f33ffe497c925e56aa460ec7a163588578e799c176c06e64b8
DIST nvidia-settings-525.116.03.tar.gz 1264440 BLAKE2B 201c1ff22538a3f0cea837a6e3344a8b5a8c88bf65238a1c51203fd170201faff09d310a6d5244fcc72f861207b0e76d208f5da83a7a11b16584281574c02afa SHA512 f31d4578d3b83a1fd763ae5ab086534960a48f4c70f427ff2fb0612a789614bc68da256e975916ba7d8cafc4efcd8d0a3c806e2c0caf09e738dfc39706ded291
+DIST nvidia-settings-530.41.03.tar.gz 1264991 BLAKE2B f7fcff76eb0c43b45d3097d7ae635fe31a374639ccc3430ea8cea9a0ffbb471e5b1ca35ea3d19d6fad65a8c5b3f1c088cfe5074e051f61050be84e64bc8af1f1 SHA512 486a5a326b28d6907c2596c980b37994b2f559a3eb389b0fb464df6d4e598ae1220355e88a943e1678f7f7c0d003ea0b8141acf09b86c425b36e8241361e1c6e
diff --git a/x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild b/x11-misc/nvidia-settings/nvidia-settings-390.157-r2.ebuild
index 7a1ec65d..0bde22dc 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-390.157-r2.ebuild
@@ -36,6 +36,7 @@ RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:470
!!x11-misc/nvidia-settings:515
!!x11-misc/nvidia-settings:525
+ !!x11-misc/nvidia-settings:530
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-470.182.03.ebuild b/x11-misc/nvidia-settings/nvidia-settings-470.182.03-r1.ebuild
index c3f8110f..aa4a66f8 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-470.182.03.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-470.182.03-r1.ebuild
@@ -36,6 +36,7 @@ RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:390
!!x11-misc/nvidia-settings:515
!!x11-misc/nvidia-settings:525
+ !!x11-misc/nvidia-settings:530
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-515.105.01.ebuild b/x11-misc/nvidia-settings/nvidia-settings-515.105.01-r1.ebuild
index 6a505862..7a8fdf75 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-515.105.01.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-515.105.01-r1.ebuild
@@ -36,6 +36,7 @@ RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:390
!!x11-misc/nvidia-settings:470
!!x11-misc/nvidia-settings:525
+ !!x11-misc/nvidia-settings:530
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-525.116.03.ebuild b/x11-misc/nvidia-settings/nvidia-settings-525.116.03-r1.ebuild
index 339139d6..247366a8 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-525.116.03.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-525.116.03-r1.ebuild
@@ -36,6 +36,7 @@ RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:390
!!x11-misc/nvidia-settings:470
!!x11-misc/nvidia-settings:515
+ !!x11-misc/nvidia-settings:530
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-530.41.03.ebuild b/x11-misc/nvidia-settings/nvidia-settings-530.41.03.ebuild
new file mode 100644
index 00000000..6340fe8a
--- /dev/null
+++ b/x11-misc/nvidia-settings/nvidia-settings-530.41.03.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="NVIDIA Linux X11 Settings Utility"
+HOMEPAGE="http://www.nvidia.com/"
+SRC_URI="https://github.com/NVIDIA/nvidia-settings/archive/refs/tags/${PV}.tar.gz -> nvidia-settings-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="530"
+KEYWORDS="-* amd64"
+IUSE=""
+
+QA_PREBUILT=
+
+COMMON_DEPEND="
+ x11-libs/gtk+:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/gdk-pixbuf-xlib
+ media-libs/mesa
+ x11-libs/pango[X]
+ x11-libs/libXv
+ x11-libs/libXrandr
+ dev-libs/glib:2
+ dev-libs/jansson
+ x11-libs/cairo
+ >=x11-libs/libvdpau-1.0"
+
+RDEPEND="${COMMON_DEPEND}
+ !!x11-misc/nvidia-settings:390
+ !!x11-misc/nvidia-settings:470
+ !!x11-misc/nvidia-settings:515
+ !!x11-misc/nvidia-settings:525
+ ~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-base/xorg-proto"
+
+src_prepare() {
+ default
+ eapply "${FILESDIR}"/"${PN}"-linker.patch
+}
+
+
+src_compile() {
+ einfo "Building libXNVCtrl..."
+ emake -C src/libXNVCtrl \
+ DO_STRIP= \
+ LIBDIR="$(get_libdir)" \
+ NVLD="$(tc-getLD)" \
+ NV_VERBOSE=1 \
+ OUTPUTDIR=. \
+ RANLIB="$(tc-getRANLIB)"
+
+ einfo "Building nvidia-settings..."
+ emake -C src/ \
+ DO_STRIP= \
+ GTK3_AVAILABLE=1 \
+ LIBDIR="$(get_libdir)" \
+ NVLD="$(tc-getLD)" \
+ NVML_ENABLED=0 \
+ NV_USE_BUNDLED_LIBJANSSON=0 \
+ NV_VERBOSE=1 \
+ OUTPUTDIR=.
+}
+
+src_install() {
+ emake -C src/ \
+ DESTDIR="${D}" \
+ DO_STRIP= \
+ GTK3_AVAILABLE=1 \
+ LIBDIR="${D}/usr/$(get_libdir)" \
+ NV_USE_BUNDLED_LIBJANSSON=0 \
+ NV_VERBOSE=1 \
+ OUTPUTDIR=. \
+ PREFIX=/usr \
+ install
+
+ insinto /usr/$(get_libdir)
+ doins src/libXNVCtrl/libXNVCtrl.a
+
+ insinto /usr/include/NVCtrl
+ doins src/libXNVCtrl/*.h
+
+ doicon doc/${PN}.png || die
+ domenu ${FILESDIR}/${PN}.desktop || die
+
+ dodoc doc/*.txt
+
+ rm -rvf ${D}usr/$(get_libdir)/libnvidia-gtk2.so.${PV}
+}