diff --git a/alarm/kodi-imx-addon-visualization-shadertoy/PKGBUILD b/alarm/kodi-imx-addon-visualization-shadertoy/PKGBUILD deleted file mode 100644 index 5bcf60702..000000000 --- a/alarm/kodi-imx-addon-visualization-shadertoy/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: BlackEagle > - -# ALARM: Oleg Rakhmanov -# - Use CFLAGS, CXXFLAGS, CPPFLAGS, LDFLAGS from kodi-imx -# - Use -DLINUX flag to avoid "unrecognised platform" error -# - DUSE_LTO=0 -# - Use -DOPENGL_INCLUDE_DIR=OPENGL_INCLUDE_DIR-NOTFOUND to disable OPENGL -# - Provide path to opengles{gl,egl} libraries for imx - -buildarch=4 - -pkgname=kodi-imx-addon-visualization-shadertoy -_commit=e88fd6e -pkgver=20161121.e88fd6e -pkgrel=2 -pkgdesc="Shadertoy visualizer for Kodi on imx platform" -arch=('armv7h') -url='https://github.com/notspiff/visualization.shadertoy' -license=('GPL') -groups=('kodi-imx-addons' 'kodi-imx-addons-visualization') -depends=('kodi-imx' 'p8-platform' 'imx-gpu-viv-fb') -makedepends=('git' 'cmake') -source=("$pkgname::git://github.com/notspiff/visualization.shadertoy.git#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd "$pkgname" - git log -1 --date=short --format="%cd.%h" | tr -d '-' -} - -build() { - cd "$pkgname" - - CFLAGS="-DLINUX -Ofast -mfloat-abi=hard -mfpu=neon -mtls-dialect=gnu -march=armv7-a -mtune=cortex-a9 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/opt/fsl/include" - CXXFLAGS="${CFLAGS}" - CPPFLAGS+=" -I/opt/fsl/include" - LDFLAGS+=" -Wl,-rpath,/opt/fsl/lib -L/opt/fsl/lib" - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_SHARED_LIBS=1 \ - -DUSE_LTO=0 \ - -DOPENGL_INCLUDE_DIR=OPENGL_INCLUDE_DIR-NOTFOUND \ - -DOPENGLES2_INCLUDE_DIR=/opt/fsl/include \ - -DOPENGLES2_gl_LIBRARY=/opt/fsl/lib/libGLESv2.so \ - -DOPENGLES2_egl_LIBRARY=/opt/fsl/lib/libEGL.so - make -} - -package() { - cd "$pkgname" - make DESTDIR="$pkgdir/" install -} -