summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30bbedc7250f047909afb1b3fbedb03957aabb7b (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
# Maintainer: Viktor Drobot (aka dviktor) linux776 [at] gmail [dot] com

pkgname=dream
pkgver=2.1.1
pkgrel=6
pkgdesc="A software radio for AM and Digital Radio Mondiale (DRM)"
arch=(i686 x86_64)
url="https://sourceforge.net/projects/drm"
license=(GPL2)
depends=(faad2 libpcap libpulse fftw opus libsndfile speexdsp hamlib libpulse qwt qt5-webkit qt5-svg qt5-base)
makedepends=(patch)
source=("https://sourceforge.net/projects/drm/files/dream/${pkgver}/${pkgname}-${pkgver}-svn808.tar.gz"
        "fix_qwttext.patch"
        "fix_hamlib.patch")
sha256sums=('417734a197ed596a08e75363c304be9b4595f2f21581bc64fec47c49f733bb05'
            'a5c521644f9a95f73adc4eefa8bb690642caefa59b028ddd9b34aea231af96f2'
            'df8dbc1f5c2e6e181377bf7832dbf057018dd1be2b9cdfa8d9a24db3f0f9b76a')

build() {
  cd "${srcdir}/${pkgname}"

  patch -Np0 -i "${srcdir}/fix_qwttext.patch"
  patch -Np0 -i "${srcdir}/fix_hamlib.patch"

  qmake-qt5 dream.pro
  make
}

package() {
  cd "${srcdir}/${pkgname}"

  make INSTALL_ROOT="${pkgdir}" install
}