blob: 2b60a714d8ce174e9c8836966704be83b8ad010c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $Id: PKGBUILD 87933 2013-04-08 20:25:18Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-media
pkgver=3.4.0
pkgrel=2
pkgdesc="Sound recorder and GStreamer 0.10 configuration tool for GNOME"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libgnome-media-profiles' 'gstreamer0.10-good-plugins' 'hicolor-icon-theme')
makedepends=('intltool' 'gnome-doc-utils')
optdepends=('gstreamer0.10-ugly-plugins: Record sound into mp3 format')
url="https://git.gnome.org/browse/gnome-media"
install=$pkgname.install
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:3}/$pkgname-$pkgver.tar.xz
grecord-add-PULSEPROPmediarole.patch
grecord-Should-call-gnome-control-center-sound-not.patch
grecord-send-eos-before-we-stop-record.patch)
sha256sums=('a76fac286f24d3836137ddbaab66f05e19eb5fb83cca6e375dbef040765a1d1f'
'7abd86638ccde30232455ea66a7aff244f5c1cc5f3620b85f0215bf4bd07d546'
'6c8af4bf741d702ce3722cc2bfd1b7caa44f142776706157851184fb2bc55e04'
'5feb1e447f9ac575b282b05be9bfc946794635f98f63cf24603f931767ec8f9d')
build() {
cd "$pkgname-$pkgver"
# Upstream fixes
patch -Np1 -i "$srcdir/grecord-add-PULSEPROPmediarole.patch"
patch -Np1 -i "$srcdir/grecord-Should-call-gnome-control-center-sound-not.patch"
patch -Np1 -i "$srcdir/grecord-send-eos-before-we-stop-record.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-schemas-install \
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
# Sound theme moved to gnome-control-center
rm -rf "$pkgdir"/usr/share/{gnome-media,sounds}
}
|