summaryrefslogtreecommitdiff
path: root/community/nvclock
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /community/nvclock
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'community/nvclock')
-rw-r--r--community/nvclock/PKGBUILD9
-rw-r--r--community/nvclock/nvclock-0.8b4-linkfix.patch18
2 files changed, 24 insertions, 3 deletions
diff --git a/community/nvclock/PKGBUILD b/community/nvclock/PKGBUILD
index 4eda3735f..ac863cc81 100644
--- a/community/nvclock/PKGBUILD
+++ b/community/nvclock/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 37680 2011-01-16 14:37:03Z lfleischer $
+# $Id: PKGBUILD 63680 2012-02-05 12:06:13Z ibiru $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Markus Meissner <markus@meissna.de>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=nvclock
pkgver=0.8b4
-pkgrel=2
+pkgrel=3
pkgdesc='A small utility which allows users to overclock NVIDIA based video cards.'
arch=('i686' 'x86_64')
url='http://www.linuxhardware.org/nvclock/'
@@ -16,16 +16,19 @@ install='nvclock.install'
options=('!makeflags')
source=("http://www.linuxhardware.org/${pkgname}/${pkgname}${pkgver}.tar.gz"
'nvclock-0.8b4-buildfix.patch'
+ 'nvclock-0.8b4-linkfix.patch'
'nvclock.desktop-use-gksu.patch')
md5sums=('23f1b3ebf40f35d76d5fdac50f66ab11'
'1da24b50dd6a8c4704fa550a3e1a8b53'
+ 'b812646787ea44e693fd2288612f25ad'
'98fc1995721d0b0e8ff6d448869eee6d')
build(){
cd "${srcdir}/${pkgname}${pkgver}"
- # build fix from Fedora
+ # build and link fixes from Fedora
patch -Np1 -i "${srcdir}/nvclock-0.8b4-buildfix.patch"
+ patch -Np1 -i "${srcdir}/nvclock-0.8b4-linkfix.patch"
# Make ".desktop" file use gksu(1).
patch -Np0 -i "${srcdir}/nvclock.desktop-use-gksu.patch"
diff --git a/community/nvclock/nvclock-0.8b4-linkfix.patch b/community/nvclock/nvclock-0.8b4-linkfix.patch
new file mode 100644
index 000000000..0029d1c74
--- /dev/null
+++ b/community/nvclock/nvclock-0.8b4-linkfix.patch
@@ -0,0 +1,18 @@
+diff -upNr nvclock0.8b4.orign/src/gtk/Makefile.in nvclock0.8b4/src/gtk/Makefile.in
+--- nvclock0.8b4.orign/src/gtk/Makefile.in 2008-05-11 12:25:46.000000000 +0200
++++ nvclock0.8b4/src/gtk/Makefile.in 2010-02-13 19:56:24.204078277 +0100
+@@ -20,12 +20,12 @@ endif
+ ifeq ($(HAVE_NVCONTROL), yes)
+ DEPS=$(libbackend) $(libnvcontrol)
+ INCLUDES=@X11_CFLAGS@ -I./backend -I./nvcontrol -I.. -I../..
+- LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol
++ LIBS=@GTK_LIBS@ -L../backend -lbackend -L../nvcontrol -lnvcontrol -lX11 -lXext -ldl
+ OBJECTS=banner.o gl.o hw.o main.o settings.o
+ else
+ DEPS=$(libbackend)
+ INCLUDES=-I./backend -I./nvcontrol -I.. -I../..
+- LIBS=@GTK_LIBS@ -L../backend -lbackend
++ LIBS=@GTK_LIBS@ -L../backend -lbackend -lX11 -lXext -ldl
+ OBJECTS=banner.o hw.o main.o settings.o
+ endif
+