diff options
author | FabioLolix | 2021-03-01 15:13:18 +0100 |
---|---|---|
committer | FabioLolix | 2021-03-01 15:13:18 +0100 |
commit | ec0a1a132c051f5079e2edff84327dabd2e949b9 (patch) | |
tree | 68139536c519e1e591eb730e6363ee3d85aa64d6 /PKGBUILD | |
parent | 280bc9f2217c050f43440f3552da7ef8f2cc1fa0 (diff) | |
download | aur-ec0a1a132c051f5079e2edff84327dabd2e949b9.tar.gz |
fix build and pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 23 insertions, 18 deletions
@@ -1,26 +1,32 @@ -# Maintainer : Geballin - Guillaume Ballin <macniaque at free dot fr> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributer: Geballin - Guillaume Ballin <macniaque at free dot fr> # Contributor: Ray Rashif <schiv@archlinux.org> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> # Contributor: Alexander Rødseth <rodseth@gmail.com> -_name=CinelerraCV pkgname=cinelerra-cv -pkgver=2.3.20181006 -pkgrel=3 -revision=bbcaf2fa70d6acb0ab764e853d50e6aa04e16496 -epoch=1 +pkgver=2.3+380+gbbcaf2fa +pkgrel=1 +epoch=2 pkgdesc="Professional video editing and compositing environment - Community version" -arch=('x86_64') +arch=(x86_64) url="https://github.com/cinelerra-gg/cinelerra-cv/" -license=('GPL') -depends=('e2fsprogs' 'libavc1394' 'libiec61883' 'libxv' - 'libtiff' 'mjpegtools' 'fftw' 'a52dec' 'glu' - 'ffmpeg' 'faad2' 'faac' 'openexr>=2.0.0' 'libxft') -makedepends=('git' 'automake' 'git' 'nasm' 'mesa' 'intltool') +license=(GPL) +depends=(e2fsprogs libavc1394 libiec61883 libxv + libtiff mjpegtools fftw a52dec glu + ffmpeg faad2 faac openexr libxft) +makedepends=(git automake nasm mesa intltool gcc9) source=("git+https://github.com/cinelerra-gg/cinelerra-cv.git#commit=bbcaf2fa70d6acb0ab764e853d50e6aa04e16496") sha512sums=('SKIP') +export CC=/usr/bin/gcc-9 CXX=/usr/bin/g++-9 + +pkgver() { + cd "${pkgname}" + git describe --long | sed 's/^v//g;s/-/+/g' +} + prepare() { cd "${pkgname}" ./autogen.sh @@ -31,10 +37,11 @@ build() { # disable mmx due to improper use of registers in asm # - possibly a new problem since gcc 4.9 ./configure pkg_config='pkg-config --static' \ - --prefix=/usr \ - --enable-opengl \ - --disable-mmx \ - --disable-esd + --prefix=/usr \ + --with-buildinfo=git \ + --enable-opengl \ + --disable-mmx \ + --disable-esd make } @@ -44,5 +51,3 @@ package() { install -t "${pkgdir}/usr/share/doc/${pkgname}" \ -vDm644 {AUTHORS,ChangeLog,NEWS,README.BUILD,TODO} } - -# vim:set ts=2 sw=2 et: |