Package Details: libopenglrecorder-git r22.c398376-1

Git Clone URL: https://aur.archlinux.org/libopenglrecorder-git.git (read-only)
Package Base: libopenglrecorder-git
Description: A library allowing optional async readback OpenGL frame buffer with optional audio recording
Upstream URL: https://github.com/Benau/libopenglrecorder
Keywords: OpenGL
Licenses: BSD
Conflicts: libopenglrecorder
Provides: libopenglrecorder
Submitter: mensinda
Maintainer: mensinda
Last Packager: mensinda
Votes: 1
Popularity: 0.000001
First Submitted: 2017-04-24 14:16
Last Updated: 2017-11-04 12:20

Latest Comments

mensinda commented on 2017-11-04 12:20

The PKGBUILD should be fixed now.

donny commented on 2017-11-04 11:51

Please either revert the last commit or update the PKGBUILD with correct directory names:

# Maintainer: Daniel Mensinger daniel@mensinger-ka.de

_pkgname=libopenglrecorder
pkgname="${_pkgname}-git"
pkgver=r22.c398376
pkgrel=1
pkgdesc="A library allowing optional async readback OpenGL frame buffer with optional audio recording"
arch=('i686' 'x86_64')
url="https://github.com/Benau/libopenglrecorder"
license=('BSD')
depends=('libjpeg-turbo' 'libvpx' 'openh264' 'libpulse')
makedepends=('git' 'cmake' 'make')
provides=('libopenglrecorder')
conflicts=('libopenglrecorder')
source=("git+https://github.com/Benau/libopenglrecorder.git")
sha256sums=('SKIP')

pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
cd "${srcdir}/${_pkgname}"
[ -d build ] && rm -rf build
mkdir build
}

build() {
cd "${srcdir}/${_pkgname}/build"

cmake \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_WITH_VPX=ON \
-DBUILD_WITH_H264=ON \
-DBUILD_RECORDER_WITH_SOUND=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
..

make
}

package() {
cd "${srcdir}/${_pkgname}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"

cd build
make DESTDIR="${pkgdir}" install
}