# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Sergej Pupykin <arch+pub@sergej.pp.ru>
# Contributor: Thibault Saunier <tsaunier@gnome.org>

pkgname=gst-transcoder
pkgver=1.16.0
pkgrel=1
pkgdesc="GStreamer Transcoding API library"
arch=('x86_64')
license=('LGPL2.1')
url="https://github.com/pitivi/gst-transcoder"
depends=('gst-plugins-base-libs')
makedepends=('gobject-introspection' 'gtk-doc' 'meson')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pitivi/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('b5e65c70f2827aee42810120ca9637fd1f56e7cccf825b1b2f20e575cebdcd62')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}
