blob: 391fa01acf1712d8f6e4ff343f34c2ac6a15195f (
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
|
# Maintainer: Luna Jernberg <lunajernberg@gnome.org>
# Co-Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=gnome-radio
pkgver=48.0
pkgrel=2
pkgdesc="Easily find live radio programs based on geographical location of radio broadcasters on the Internet"
arch=('x86_64')
url="https://wiki.gnome.org/Apps/Radio"
license=(GPL3)
depends=('libchamplain' 'geoclue' 'gst-plugins-base' 'gst-plugins-bad' 'geocode-glib-2')
makedepends=('intltool' 'itstool' 'python')
conflicts=('gnome-internet-radio-locator')
replaces=('gnome-internet-radio-locator')
source=(http://www.gnomeradio.org/src/gnome-radio-48.0.tar.xz)
sha256sums=('0d4f8ca222456938d2403985518ddf97e60b95c05c189de8773ceba63813c8de')
prepare() {
cd $pkgname-$pkgver
# https://gitlab.gnome.org/ole/gnome-radio/-/issues/4
sed -i 's|geocode-glib-1.0|geocode-glib-2.0|' configure
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-recording
make
}
check(){
cd $pkgname-$pkgver
make check -k
}
package(){
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|