summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-settings-legacy
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/nvidia-settings-legacy')
-rw-r--r--x11-misc/nvidia-settings-legacy/Manifest2
-rw-r--r--x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.141.ebuild (renamed from x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.138.ebuild)11
2 files changed, 8 insertions, 5 deletions
diff --git a/x11-misc/nvidia-settings-legacy/Manifest b/x11-misc/nvidia-settings-legacy/Manifest
index 782046dc..00523de1 100644
--- a/x11-misc/nvidia-settings-legacy/Manifest
+++ b/x11-misc/nvidia-settings-legacy/Manifest
@@ -1 +1 @@
-DIST nvidia-settings-legacy-390.138.tar.gz 1297269 BLAKE2B 6b48f095cd1ea874b65e8e2df0dc6469e1b19336498df76f537ff2b6fbe441363909131e2abbd8bb7c061ad8b52562c0afc28592093cc2b2f578aae383e25fbf SHA512 c27c8dbb858f06982e251bd3bf49650d05ca8811d61eb342b43bf00bc595b8d789b38b7ebd76b9ab5786ec5bee84b1cb44ee3f3fb24c40dee1b1b9d535993eb6
+DIST nvidia-settings-legacy-390.141.tar.gz 1297261 BLAKE2B 452870df1ba598692f5da47444eb2daf4db40c79cac98c10b1c994c0ff39fc7936909b9d7788cbfe784999e68a2bdbbc12e85d63c3bc02ac872e6b3c46834697 SHA512 dbf7c389bbdc94291a1b974adfa33414148b1ab752aa7d948a27e91ee1bceb3b8435aceb6b7ef3cb806333572db11b5524667045ef7686b119d7955d2699cb04
diff --git a/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.138.ebuild b/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.141.ebuild
index 69d2fd71..d9320b84 100644
--- a/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.138.ebuild
+++ b/x11-misc/nvidia-settings-legacy/nvidia-settings-legacy-390.141.ebuild
@@ -12,12 +12,13 @@ SRC_URI="https://github.com/NVIDIA/nvidia-settings/archive/${PV}.tar.gz -> ${P}.
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
@@ -61,7 +62,7 @@ src_compile() {
emake -C src/ \
CC="$(tc-getCC)" \
DO_STRIP= \
- GTK3_AVAILABLE=$(usex gtk3 1 0) \
+ GTK3_AVAILABLE=1 \
LD="$(tc-getCC)" \
LIBDIR="$(get_libdir)" \
NVLD="$(tc-getLD)" \
@@ -73,7 +74,7 @@ src_compile() {
src_install() {
emake -C src/ \
DESTDIR="${D}" \
- GTK3_AVAILABLE=$(usex gtk3 1 0) \
+ GTK3_AVAILABLE=1 \
LIBDIR="${D}/usr/$(get_libdir)" \
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \
@@ -91,4 +92,6 @@ src_install() {
domenu ${FILESDIR}/${PN}.desktop
dodoc doc/*.txt
+
+ rm -rvf ${D}usr/$(get_libdir)/libnvidia-gtk2.so.${PV}
}