summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-16 10:03:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-16 10:03:08 +0000
commit8f96c0ec8767dc7c724a68fc4a8e28d77800c9ce (patch)
tree83679dcab8be4481bf40fd3cc8e6a3f1b7f8c81b /x11-misc
parentb098ad23ba580909b514c7bf6d14ddd481c270bf (diff)
x11-drivers/nvidia-drivers : add v525.78.01
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/nvidia-settings/Manifest1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-390.157.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-470.161.03-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-470.161.03.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-515.86.01-r1.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-515.86.01.ebuild)1
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-525.78.01-r1.ebuild96
5 files changed, 100 insertions, 0 deletions
diff --git a/x11-misc/nvidia-settings/Manifest b/x11-misc/nvidia-settings/Manifest
index 6a57b4b9..dde2269e 100644
--- a/x11-misc/nvidia-settings/Manifest
+++ b/x11-misc/nvidia-settings/Manifest
@@ -1,3 +1,4 @@
DIST nvidia-settings-390.157.tar.gz 1297247 BLAKE2B 3a2791f8b35131f2036333d31117f5315b4b79720bfbd7724f893caa9daabb5a813bda580f1f4c1df25260393e9c315b1aa362c489e9462ce395a8d58a695bc0 SHA512 03b8cfa287612eaa1699845136283fe1ec4a43212fb0b9d3d0682ce6dd51702fbdfc53c29ea9ebe914034d2c20abb35af7667e0314948842152efd746773771a
DIST nvidia-settings-470.161.03.tar.gz 1235242 BLAKE2B 2d520294dfeec793423d6194968cff7e403c921ed7bce089ac0fbd4b49210381e80e75b16e6c2970cecda6a80b7c5658f48e8907c073792ca2f1c166243c2ed8 SHA512 48d64e3f86053696b057e26678434bf18c9b179d138c414a67b2fbbd4dbcdc854b911bac34c0c419943b79d3bb49efea5372617518a16f099a905dedf4f37d8a
DIST nvidia-settings-515.86.01.tar.gz 1255087 BLAKE2B 2b7110a7d80e9d5f3651f53b5764d0d47e909428feb97d432bcb39d8cf31858fc49f882060dae6d57bdf5f3b89e764bc2d6949cadd48a0dd3e14ac9d57d5e28e SHA512 124ce79f21e76f768731bf878b522ad908352124212c05ebfd80ea777eb43aeb9bc9c56bce533007c4a081b1096b0ffde130b461b97e2ed429b924da4e0e57f6
+DIST nvidia-settings-525.78.01.tar.gz 1264060 BLAKE2B 1419ee8c8c0b4f75ca6dfe037b9029625c00bec88309fe641b6fc5aa3ea76381b5c90b94c67a55a50622a797be58c66d40f6452b84f75176c2fe124e53af69f5 SHA512 1ade323bd2b14eeaea174d8f1a0d166c66b99f1e3c679ba1e617278254a164ca544a85bea989a684ea51e7be878ea241aeac21af3bc7948018a6dcde9f39002b
diff --git a/x11-misc/nvidia-settings/nvidia-settings-390.157.ebuild b/x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild
index 90ab9567..7a1ec65d 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-390.157.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-390.157-r1.ebuild
@@ -35,6 +35,7 @@ COMMON_DEPEND="
RDEPEND="${COMMON_DEPEND}
!!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
diff --git a/x11-misc/nvidia-settings/nvidia-settings-470.161.03.ebuild b/x11-misc/nvidia-settings/nvidia-settings-470.161.03-r1.ebuild
index 6e773e3b..c3f8110f 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-470.161.03.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-470.161.03-r1.ebuild
@@ -35,6 +35,7 @@ COMMON_DEPEND="
RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:390
!!x11-misc/nvidia-settings:515
+ !!x11-misc/nvidia-settings:525
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-515.86.01.ebuild b/x11-misc/nvidia-settings/nvidia-settings-515.86.01-r1.ebuild
index 25ad942d..6a505862 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-515.86.01.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-515.86.01-r1.ebuild
@@ -35,6 +35,7 @@ COMMON_DEPEND="
RDEPEND="${COMMON_DEPEND}
!!x11-misc/nvidia-settings:390
!!x11-misc/nvidia-settings:470
+ !!x11-misc/nvidia-settings:525
~x11-drivers/nvidia-drivers-${PV}:${SLOT}"
DEPEND="${RDEPEND}
virtual/pkgconfig
diff --git a/x11-misc/nvidia-settings/nvidia-settings-525.78.01-r1.ebuild b/x11-misc/nvidia-settings/nvidia-settings-525.78.01-r1.ebuild
new file mode 100644
index 00000000..a79757ea
--- /dev/null
+++ b/x11-misc/nvidia-settings/nvidia-settings-525.78.01-r1.ebuild
@@ -0,0 +1,96 @@
+# 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="515"
+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-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}
+}