Advertisement
Guest User

Untitled

a guest
Nov 18th, 2010
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.50 KB | None | 0 0
  1. # Mantainer: Gianfranco Micoli <gianfrix.mg@gmail.com>
  2.  
  3. pkgname=gnome-settings-daemon-notify-osd
  4. realname=gnome-settings-daemon
  5. pkgver=2.32.1
  6. pkgrel=1
  7. pkgdesc="The GNOME Settings daemon. With Ubuntu 10.10 Maverick patches"
  8. arch=('i686' 'x86_64')
  9. license=('GPL')
  10. depends=('libgnomekbd>=2.31.92' 'gnome-desktop>=2.32.0' 'libnotify>=0.4.5' 'gstreamer0.10-base>=0.10.30' 'hicolor-icon-theme')
  11. provides=('gnome-settings-daemon=2.32.0')
  12. conflicts=('gnome-settings-daemon')
  13. makedepends=('intltool' 'pkg-config')
  14. options=(!emptydirs !libtool)
  15. install=gnome-settings-daemon.install
  16. url="http://www.gnome.org"
  17. groups=('gnome')
  18. source=(http://ftp.gnome.org/pub/gnome/sources/${realname}/2.32/${realname}-${pkgver}.tar.bz2
  19. 06_use_application_indicator.patch
  20. 16_use_synchronous_notifications.patch
  21. button-swapping.patch)
  22. sha256sums=('0074b3fec3ad6e3ab91a05dc20906b06101ea8bca0cd2caf394a5cc141b05e86'
  23.             'cf36132ed83b032b08c350b1a5dd48a939965075db3879ca958417967da65c8d'
  24.             '2ae2c725ebdfe6e97e1450528c86158bea16905cc110f247d6406a94a397c4a9'
  25.             '89128afee6ee58a7dcbb76399295bac212b90445146a115e976d4ae6c00aaac8')
  26.  
  27. build() {
  28.   cd "${srcdir}/${realname}-${pkgver}"
  29.  
  30.   msg2 "Do you want to apply Ubuntu's Indicator Patch? (y/N)"
  31.   msg2 "You'll need libdbusmenu, libindicate, libindicator, indicator-messages, indicator-session and indicator-applet installed (preferabily -bzr) for them to work!"
  32.   read answer
  33.  
  34.   if [[ "$answer" = "y" ]]; then
  35.      msg "Patching with 06_use_application_indicator.patch"
  36.      patch -Np1 -i ../06_use_application_indicator.patch
  37.   fi
  38.   msg "Patching with 16_use_synchronous_notifications.patch"
  39.   patch -Np1 -i ../16_use_synchronous_notifications.patch
  40.  
  41.   msg2 "Do you want to apply Button Swapping patch for Elantech/Synaptics (y/N)? (Requested by DIDI2002 on gnome-settings-daemon-notify-osd aurpage)"
  42.   read answer
  43.   if [[ "$answer" = "y" ]]; then  
  44.      msg "Patching with button-swapping.patch"
  45.      patch -Np1 -i ../button-swapping.patch
  46.   fi
  47.  
  48.   libtoolize --force
  49.   aclocal
  50.   autoconf
  51.   automake
  52.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  53.       --libexecdir=/usr/bin --disable-static
  54.   make
  55.   make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
  56.  
  57.   install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
  58.   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${realname}.schemas" --domain gnome-settings-daemon ${pkgdir}/etc/gconf/schemas/*.schemas
  59.   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement