diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 11 insertions, 9 deletions
@@ -1,11 +1,12 @@ pkgbase = sayonara-player pkgdesc = Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend. - pkgver = 1.7.0_stable3 + pkgver = 1.9.0_stable1 pkgrel = 1 url = https://sayonara-player.com/ arch = i686 arch = x86_64 license = GPL3 + checkdepends = xorg-server-xvfb makedepends = git makedepends = cmake makedepends = qt5-tools @@ -18,7 +19,7 @@ pkgbase = sayonara-player optdepends = gst-libav: additional codecs optdepends = gst-plugins-bad: additional codecs optdepends = gst-plugins-ugly: additional codecs - source = git+https://gitlab.com/luciocarreras/sayonara-player.git#tag=1.7.0-stable3 + source = git+https://gitlab.com/luciocarreras/sayonara-player.git#tag=1.9.0-stable1 sha512sums = SKIP pkgname = sayonara-player @@ -2,7 +2,7 @@ # Contributor: Fixed Torres <aur_linuxero@outlook.com> pkgname=sayonara-player -_pkgver=1.7.0-stable3 +_pkgver=1.9.0-stable1 pkgver=${_pkgver//-/_} pkgrel=1 pkgdesc="Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend." @@ -11,6 +11,7 @@ url="https://sayonara-player.com/" license=(GPL3) depends=(qt5-base taglib gst-plugins-base gst-plugins-good) makedepends=(git cmake qt5-tools qt5-svg gst-plugins-bad) +checkdepends=(xorg-server-xvfb) optdepends=('gst-libav: additional codecs' 'gst-plugins-bad: additional codecs' 'gst-plugins-ugly: additional codecs') @@ -26,17 +27,17 @@ build() { cd "${srcdir}/${pkgname}/build" cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DWITH_TESTS=1 make } check() { - cd "${srcdir}/${pkgname}/build" - make test || true + cd "${srcdir}/sayonara-player" + xvfb-run -s '-screen 0 1920x1080x24 -nolisten local' ctest --test-dir build --output-on-failure } - + package() { - cd "${srcdir}/${pkgname}/build" - make DESTDIR="$pkgdir/" install + cd "${srcdir}/sayonara-player" + DESTDIR="$pkgdir" cmake --install build } |