summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/nvidia-settings/Manifest2
-rw-r--r--x11-misc/nvidia-settings/nvidia-settings-460.39.ebuild (renamed from x11-misc/nvidia-settings/nvidia-settings-455.45.01.ebuild)11
2 files changed, 8 insertions, 5 deletions
diff --git a/x11-misc/nvidia-settings/Manifest b/x11-misc/nvidia-settings/Manifest
index 99b51e8f..2ef4f624 100644
--- a/x11-misc/nvidia-settings/Manifest
+++ b/x11-misc/nvidia-settings/Manifest
@@ -1 +1 @@
-DIST nvidia-settings-455.45.01.tar.gz 1229448 BLAKE2B 6e8f98a2a9358a2975b8331f2c1351afdbfe9f33407d48020e3e010fc633e4f3c6a76f2fbfa91e69d77ea5823b941b481d4854e226ba41d7cc84a3a591d652b8 SHA512 c29575cc7133c2c6d49b2435fc1d57285b744341adb96c7a7a060362ac2077e99b31fde28702ac0d1c6ad18178967c21340f968d13e74642b3ccb1fb47757ed5
+DIST nvidia-settings-460.39.tar.gz 1233261 BLAKE2B 1bc9c31bd64ed1f5282b854592317b3a9df6402f5c6e805a8ea705a2c04e93ef15ae0b18f93a8707072d58c6a3015dc90d95431611e7c492a624765d662c00ba SHA512 765e645ec96977a78d9ebfbfcfa3352be9593f12899e4207eef90389f352d13aeb5e1004271d267f588c64ba2adbfcce155c9857cb36949bd21e3290221558d0
diff --git a/x11-misc/nvidia-settings/nvidia-settings-455.45.01.ebuild b/x11-misc/nvidia-settings/nvidia-settings-460.39.ebuild
index ff324d3b..0b05240a 100644
--- a/x11-misc/nvidia-settings/nvidia-settings-455.45.01.ebuild
+++ b/x11-misc/nvidia-settings/nvidia-settings-460.39.ebuild
@@ -12,12 +12,13 @@ SRC_URI="https://github.com/NVIDIA/nvidia-settings/archive/${PV}.tar.gz -> nvidi
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* amd64"
-IUSE="+gtk3"
+IUSE=""
QA_PREBUILT=
COMMON_DEPEND="
- gtk3? ( x11-libs/gtk+:3 )
+ x11-libs/gtk+:2
+ x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libXext
x11-libs/libXxf86vm
@@ -56,7 +57,7 @@ src_compile() {
einfo "Building nvidia-settings..."
emake -C src/ \
DO_STRIP= \
- GTK3_AVAILABLE=$(usex gtk3 1 0) \
+ GTK3_AVAILABLE=1 \
LIBDIR="$(get_libdir)" \
NVLD="$(tc-getLD)" \
NVML_ENABLED=0 \
@@ -69,7 +70,7 @@ src_install() {
emake -C src/ \
DESTDIR="${D}" \
DO_STRIP= \
- GTK3_AVAILABLE=$(usex gtk3 1 0) \
+ GTK3_AVAILABLE=1 \
LIBDIR="${D}/usr/$(get_libdir)" \
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \
@@ -87,4 +88,6 @@ src_install() {
domenu ${FILESDIR}/${PN}.desktop
dodoc doc/*.txt
+
+ rm -rvf ${D}usr/$(get_libdir)/libnvidia-gtk2.so.${PV}
}