Advertisement
Guest User

Untitled

a guest
Sep 21st, 2024
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. # Maintainer: Luna Jernberg <[email protected]>
  2. # Co-Maintainer: Rafael Fontenelle <[email protected]>
  3.  
  4. pkgname=gnome-radio
  5. pkgver=47.0
  6. pkgrel=1
  7. pkgdesc="Easily find live radio programs based on geographical location of radio broadcasters on the Internet"
  8. arch=('x86_64')
  9. url="https://wiki.gnome.org/Apps/Radio"
  10. license=(GPL3)
  11. depends=('libchamplain' 'geoclue' 'gst-plugins-base' 'gst-plugins-bad' 'geocode-glib-2')
  12. makedepends=('intltool' 'itstool' 'python')
  13. conflicts=('gnome-internet-radio-locator')
  14. replaces=('gnome-internet-radio-locator')
  15. source=(http://www.gnomeradio.org/src/gnome-radio-47.0.tar.xz)
  16. sha256sums=('c6e203049ad5eaad2f33a050dd2486e423e244861f6a7232bb659bc7c2b6126d')
  17.  
  18. prepare() {
  19. cd $pkgname-$pkgver
  20. # https://gitlab.gnome.org/ole/gnome-radio/-/issues/4
  21. sed -i 's|geocode-glib-1.0|geocode-glib-2.0|' configure
  22. }
  23.  
  24. build() {
  25. cd $pkgname-$pkgver
  26. ./configure --prefix=/usr --with-recording
  27. make
  28. }
  29.  
  30. check(){
  31. cd $pkgname-$pkgver
  32. make check -k
  33. }
  34.  
  35. package(){
  36. cd $pkgname-$pkgver
  37. make DESTDIR="$pkgdir" install
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement