blob: 3ba60457c37ef9d4fb1ec311785e92a2e2c59da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 216774 2014-07-10 20:23:11Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: kfgz <kfgz at interia pl>
pkgname=x265
pkgver=1.2
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=('57a4b8300918c5412ceaa26bb8e0a0bb')
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
}
|