mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
6db6048e91
Included 99-bmm.rules which are required for hardware accelerated video.
32 lines
949 B
Bash
32 lines
949 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Armada 510/Dove Block/buffer memory management for hardware accelerators
|
|
|
|
buildarch=4
|
|
|
|
pkgname="marvell-libbmm"
|
|
pkgver=0.2.0
|
|
pkgrel=2
|
|
arch=('armv7h')
|
|
url="http://archlinuxarm.org"
|
|
license=('Proprietary')
|
|
source=("http://archlinuxarm.org/builder/src/marvell-libbmm-0.2.0.tar.gz")
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make -j1 -f Makefile_general
|
|
}
|
|
|
|
package() {
|
|
pkgdesc="Marvell Block/buffer memory management for hardware accelerators"
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
install -Dm755 libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u.1"
|
|
install -Dm644 bmm_lib.h "${pkgdir}/usr/include/bmm_lib.h"
|
|
install -Dm644 etc/udev/rules.d/99-bmm.rules \
|
|
"${pkgdir}/usr/lib/udev/rules.d/99-bmm.rules"
|
|
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so.0u"
|
|
ln -s /usr/lib/libbmm.so.0u.1 "${pkgdir}/usr/lib/libbmm.so"
|
|
}
|
|
|
|
md5sums=('7dd1b311232b0ebe0ca4538844c47806')
|