summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 54e4fc6b457ba7d021f757ac6ed431c8d5973bd8 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Maintainer: pingplug < aur at pingplug dot me >

pkgname=cinelerra-gg-git
pkgver=2026.08.r0.ga96d27fe
pkgrel=1
pkgdesc="Professional video editing and compositing environment"
arch=(x86_64)
url="https://www.cinelerra-gg.org"
license=(GPL-2.0-only)
depends=(
    alsa-lib
    aom dav1d
    at-spi2-core
    bzip2
    cairo
    fftw
    flac
    fontconfig
    freetype2
    gdk-pixbuf2
    giflib
    glib2
    glibc
    glu
    gtk2
    harfbuzz
    imath
    jbigkit
    lcms2
    libavc1394
    libdv
    libgcc
    libglvnd
    libiec61883
    libjpeg-turbo
    libogg
    libpng
    libpulse
    libsndfile
    libstdc++
    libtheora
    libtiff
    libusb
    libva
    libvdpau
    libvorbis
    libvpx
    libwebp
    libx11
    libxext
    libxfixes
    libxft
    libxinerama
    libxv
    numactl
    openexr
    opus
    pango
    perl
    sh
    xz
    zlib
    )
makedepends=(
    cmake
    ctags
    git
    libxml2
    nasm
    perl-xml-libxml
    perl-xml-parser
    python
    xorg-mkfontdir
    xorg-mkfontscale
    yasm
    )
conflicts=(cinelerra-gg cin)
source=("cinelerra-gg::git+https://git.cinelerra-gg.org/goodguy/cinelerra.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/cinelerra-gg/cinelerra-5.1"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  cd "${srcdir}/cinelerra-gg/cinelerra-5.1"
  ./autogen.sh
}

build() {
  cd "${srcdir}/cinelerra-gg/cinelerra-5.1"
  ./configure \
    --prefix=/usr \
    --disable-static-build \
    --without-cuda \
    --with-exec-name=cinelerra-gg

  make -j1
}

package() {
  cd "${srcdir}/cinelerra-gg/cinelerra-5.1"
  make -j1 DESTDIR="${pkgdir}" install
}