initial commit
This commit is contained in:
commit
85dffb37bc
15
.SRCINFO
Normal file
15
.SRCINFO
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
pkgbase = rkmpp-git
|
||||||
|
pkgdesc = Rockchip Media Processing Platform
|
||||||
|
pkgver = 1.0.6.r28.g86cf93a0
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/rockchip-linux/mpp
|
||||||
|
arch = aarch64
|
||||||
|
license = MIT
|
||||||
|
license = Apache-2.0
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = ninja
|
||||||
|
depends = libdrm
|
||||||
|
source = git+https://github.com/rockchip-linux/mpp.git
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = rkmpp-git
|
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
src
|
||||||
|
pkg
|
||||||
|
mpp
|
||||||
|
*.deb
|
||||||
|
*.rpm
|
||||||
|
*.bz2
|
||||||
|
*.gz
|
||||||
|
*.zip
|
||||||
|
*.tgz
|
||||||
|
*.pkg.tar.xz
|
||||||
|
*.pkg.tar.zst
|
||||||
|
*.log
|
||||||
|
*.png
|
33
PKGBUILD
Normal file
33
PKGBUILD
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
||||||
|
|
||||||
|
pkgname=rkmpp-git
|
||||||
|
pkgver=1.0.6.r28.g86cf93a0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Rockchip Media Processing Platform"
|
||||||
|
arch=('aarch64')
|
||||||
|
url="https://github.com/rockchip-linux/mpp"
|
||||||
|
license=('MIT' 'Apache-2.0')
|
||||||
|
depends=('libdrm')
|
||||||
|
makedepends=('cmake' 'ninja')
|
||||||
|
|
||||||
|
source=("git+https://github.com/rockchip-linux/mpp.git")
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/mpp"
|
||||||
|
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/mpp"
|
||||||
|
mkdir -p build-mpp
|
||||||
|
cd build-mpp
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=ON -DBUILD_TEST=OFF ..
|
||||||
|
make -j$(nproc)
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/mpp/build-mpp"
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user