upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / kodi-addon-visualization-shadertoy / trunk / PKGBUILD
blob83e2ed41aa05074e691ec95db8667ad5b7670fcf
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-visualization-shadertoy
4 epoch=1
5 pkgver=20.3.0
6 _codename=Nexus
7 pkgrel=6
8 pkgdesc="Shadertoy visualizer for Kodi"
9 arch=('x86_64')
10 url='https://github.com/xbmc/visualization.shadertoy'
11 license=('GPL')
12 groups=('kodi-addons' 'kodi-addons-visualization')
13 makedepends=('cmake' 'p8-platform' 'glm' 'jsoncpp' 'kodi-dev')
14 options=(!lto)
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/visualization.shadertoy/archive/$pkgver-$_codename.tar.gz")
16 sha512sums=('e2521ec3298630c67cd4f3991a2b3120e48fd62e17b84ed1f0266c587583c0a3372abbbc85bf03448a713ddc6eb61668782babd01dec5267cb7a97ec887b6be0')
18 build() {
19     cd "visualization.shadertoy-$pkgver-$_codename"
20     cmake \
21         -DCMAKE_INSTALL_PREFIX=/usr \
22         -DCMAKE_BUILD_TYPE=Release \
23         -DBUILD_SHARED_LIBS=1 \
24         -DUSE_LTO=1 \
25         .
26     make
29 package() {
30     depends=('kodi' 'p8-platform' 'glm' 'jsoncpp')
31     cd "visualization.shadertoy-$pkgver-$_codename"
32     make DESTDIR="$pkgdir/" install