LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package gnome-mpv (Project home:gnome-mpv)

# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor: Simon Brulhart <simon@brulhart.me>
# Contributor: Suhaimi Ghazali <serdotlinecho@gmail.com>

pkgname=gnome-mpv
pkgver=0.13
pkgrel=1
pkgdesc="GNOME frontend for MPV"
arch=('i686' 'x86_64')
url="https://github.com/gnome-mpv/gnome-mpv"
license=('GPL3')
depends=('gtk3' 'mpv')
makedepends=('git' 'meson')
optdepends=('youtube-dl: for video-sharing websites playback')
conflicts=('gnome-mpv')
provides=('gnome-mpv')
source=("${pkgname}-${pkgver}.tar.xz")
md5sums=('SKIP')

build() {
  cd "${pkgname}-${pkgver}"
  rm -rf _build
  /usr/bin/meson _build --buildtype=release --prefix=/usr
  ninja -C _build
}

package() {
  cd "${pkgname}-${pkgver}"
  env DESTDIR="$pkgdir" ninja -C _build install
}