mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:57:14 +08:00
x265: added 1.4 version
This commit is contained in:
parent
963c302a70
commit
1c9dfd9c2b
25
x265/PKGBUILD
Normal file
25
x265/PKGBUILD
Normal file
@ -0,0 +1,25 @@
|
||||
# Maintainer: Giuseppe Calà <jiveaxe@gmail.com>
|
||||
|
||||
pkgname=x265
|
||||
pkgver=1.4
|
||||
pkgrel=1
|
||||
pkgdesc='Open Source H265/HEVC video encoder'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('yasm' 'cmake')
|
||||
url='https://bitbucket.org/multicoreware/x265'
|
||||
source=($url/get/$pkgver.tar.bz2)
|
||||
md5sums=('b37bf7bd05b198c9dd9155d60e1f7100')
|
||||
|
||||
build() {
|
||||
cd multicoreware-x265-*/build/linux
|
||||
[[ $CARCH == x86_64 ]] && LDFLAGS+=',-z,noexecstack'
|
||||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd multicoreware-x265-*/build/linux
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
Loading…
Reference in New Issue
Block a user