1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # You can also contact me on http://blog.harvie.cz/
4 pkgname=gpointing-device-settings
7 pkgdesc="GUI tool for setting pointing device such as TrackPoint or Touchpad. Each UI can be written as dynamic loadable module, so a third party can add its own UI. This
8 will replace GSynaptics."
11 url="http://live.gnome.org/GPointingDeviceSettings"
13 'gtk2' 'gconf' 'gnome-settings-daemon'
16 'intltool' 'pkgconfig'
19 'xf86-input-synaptics: Synaptics touchpads'
20 'libsynaptics: Synaptics touchpads'
23 source=("http://keihanna.dl.sourceforge.jp/gsynaptics/45812/${pkgname}-${pkgver}.tar.gz")
24 md5sums=('1d1491473df8eabca3c15c997a975d7f')
27 cd "${srcdir}/${pkgname}-${pkgver}"
29 #WORKAROUND!!! WE SHOULD GET RID OF THIS:###########
30 echo 'diff --git a/configure.ac b/configure.ac
31 index 29215e8..728d4c0 100644
34 @@ -146,9 +146,9 @@ GENHTML_OPTIONS="--title 'GPointingDeviceSettings Code Coverage'"
36 GPDS_CFLAGS="$XINPUT_CFLAGS $GTK_CFLAGS"
37 GPDS_CFLAGS="$GPDS_CFLAGS $GCONF2_CFLAGS"
38 -GPDS_CFLAGS="$GPDS_CFLAGS -DGTK_DISABLE_DEPRECATED"
39 -GPDS_CFLAGS="$GPDS_CFLAGS -DGDK_DISABLE_DEPRECATED"
40 -GPDS_CFLAGS="$GPDS_CFLAGS -DG_DISABLE_DEPRECATED"
41 +#GPDS_CFLAGS="$GPDS_CFLAGS -DGTK_DISABLE_DEPRECATED"
42 +#GPDS_CFLAGS="$GPDS_CFLAGS -DGDK_DISABLE_DEPRECATED"
43 +#GPDS_CFLAGS="$GPDS_CFLAGS -DG_DISABLE_DEPRECATED"
44 GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_MODULEDIR=\\\"\"\$(gpds_moduledir)\"\\\""
45 GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_DATADIR=\\\"\"\$(gpds_datadir)\"\\\""
46 GPDS_CFLAGS="$GPDS_CFLAGS -DGPDS_UIDIR=\\\"\"\$(gpds_uidir)\"\\\""
48 ####################################################
50 ./configure --prefix=/usr --sysconfdir=/etc || return 1
51 #./configure || return 1
53 make DESTDIR=${pkgdir} install || return 1
55 mkdir -p ${pkgdir}/usr/bin
58 mkdir -p ${pkgdir}/usr/share/applications
60 # echo '[Desktop Entry]
62 #Name=gpointing-device-settings
63 #Comment=Set your pointing device (such as TrackPoint or Touchpad) preferences
64 #Exec=gpointing-device-settings
66 #Icon=input_devices_settings
70 #Categories=GNOME;GTK;Settings;HardwareSettings;Application;
71 #' > ${pkgdir}/usr/share/applications/gnome-gpointing-device-settings.desktop