PKGBUILDs/alarm/gst-plugin-cedar/PKGBUILD

31 lines
742 B
Bash
Raw Normal View History

# Contributor: Oleg Trenkin <o.trenkin@ya.ru>
buildarch=4
_pkgname=gst-plugin-cedar
pkgname=${_pkgname}-sun7i
pkgver=0.10.1
pkgrel=1
pkgdesc="GStreamer 0.10 plugin for Cedar h264 hardware encoding with no binary blobs"
arch=('armv7h')
license=('GPL2')
url="https://github.com/ebutera/gst-plugin-cedar"
depends=('gstreamer0.10-base')
#makedepends=('base-devel')
_rev=908987a
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ebutera/${_pkgname}/tarball/${_rev}")
md5sums=('73c5cd32e32c0e10e3bebc2c576c23fc')
build() {
cd $srcdir/ebutera-${_pkgname}-${_rev}
sed -e "s/.\/configure/& --prefix=\/usr/" -i autogen.sh
./autogen.sh
make
}
package() {
cd $srcdir/ebutera-${_pkgname}-${_rev}
make DESTDIR="${pkgdir}" install
}