diff options
author | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
commit | 59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch) | |
tree | d0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/gnome-media | |
parent | 3b216f42d91b33161572550f4556a9ba93d1cecb (diff) |
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/gnome-media')
-rw-r--r-- | testing/gnome-media/PKGBUILD | 38 | ||||
-rw-r--r-- | testing/gnome-media/gnome-media.install | 22 | ||||
-rw-r--r-- | testing/gnome-media/gnome_volume_control_fix_channel_bars.patch | 12 |
3 files changed, 72 insertions, 0 deletions
diff --git a/testing/gnome-media/PKGBUILD b/testing/gnome-media/PKGBUILD new file mode 100644 index 000000000..8e8d3da64 --- /dev/null +++ b/testing/gnome-media/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 111636 2011-02-27 21:57:39Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-media +pkgver=2.91.2 +pkgrel=2 +pkgdesc="GNOME Media Tools" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libgnome-media-profiles' 'libcanberra' 'hicolor-icon-theme') +makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils') +url="http://www.gnome.org" +groups=('gnome') +replaces=('gnome-media-pulse') +options=('!libtool' '!emptydirs') +install=gnome-media.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('4aadc834d04c3d6f573fad667a69c6dc9668240e759cbd8cfb14d053d8e4da5f') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-media \ + --localstatedir=/var --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgbase}.schemas" --domain gnome-media-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + + rm -rf "${pkgdir}/usr/share/sounds/" +} diff --git a/testing/gnome-media/gnome-media.install b/testing/gnome-media/gnome-media.install new file mode 100644 index 000000000..97488b6d0 --- /dev/null +++ b/testing/gnome-media/gnome-media.install @@ -0,0 +1,22 @@ +pkgname=gnome-media + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} diff --git a/testing/gnome-media/gnome_volume_control_fix_channel_bars.patch b/testing/gnome-media/gnome_volume_control_fix_channel_bars.patch new file mode 100644 index 000000000..9d3de0331 --- /dev/null +++ b/testing/gnome-media/gnome_volume_control_fix_channel_bars.patch @@ -0,0 +1,12 @@ +diff -aur gnome-media-2.32.0/gnome-volume-control/src/gvc-channel-bar.c gnome-media-2.32.0.new/gnome-volume-control/src/gvc-channel-bar.c +--- gnome-media-2.32.0/gnome-volume-control/src/gvc-channel-bar.c 2010-09-28 15:46:15.000000000 +0100 ++++ gnome-media-2.32.0.new/gnome-volume-control/src/gvc-channel-bar.c 2010-12-31 15:14:23.964994328 +0000 +@@ -449,7 +449,7 @@ + /* Switch side scroll to vertical */ + if (direction == GDK_SCROLL_RIGHT) + direction = GDK_SCROLL_UP; +- else if (GDK_SCROLL_LEFT) ++ else if (direction == GDK_SCROLL_LEFT) + direction = GDK_SCROLL_DOWN; + } + |