You are not logged in.
Pages: 1
"glc is an ALSA & OpenGL capture tool for Linux. It consists of a generic video capture, playback and processing library and a set of tools built around that library. glc should be able to capture any application that uses ALSA for sound and OpenGL for drawing. It is still a relatively new project but already has a long list of features. Take a look at some example videos and find out how to install it!"
"glc is inspired by yukon (another, excellent real-time video capture tool for Linux) and Fraps (a popular Windows tool for the same purpose). "
I instaled yukon-svn recently, but there is very little or no documentation that I can find of it, and the official site seems to be down.
Offline
Try
pkgname=glc
pkgver=git
pkgrel=1
pkgdesc="ALSA and OpenGL capture tool"
url="http://nullkey.ath.cx/projects/glc"
arch=('i686')
license=('GPL')
depends=()
makedepends=('git')
source=(http://nullkey.ath.cx/glc/scripts/glc-build.sh)
md5sums=('07410c6508c6cd247a468ae7e1b6c024')
build() {
chmod 700 ./glc-build.sh || return 1
yes "$pkgdir/usr/
y" | ./glc-build.sh
}
This is untested and in this form it probably never will pass any TU-censorship. Beware of the two blank lines.
Offline
# Contributor: kumico <kumico@nrk.cc>
pkgname=glc-git
pkgver=20080512
pkgrel=1
pkgdesc="An ALSA & OpenGL capture tool for Linux. (-git version)"
arch=('i686' 'x86_64')
url="http://nullkey.ath.cx/projects/glc"
source=('Copyright')
license=('CUSTOM')
depends=('libpng' 'alsa-lib' 'libgl' 'libxxf86vm' 'libx11')
makedepends=('cmake')
provides=('glc')
conflicts=('glc')
md5sums=('d706bd101063967583d3e4f98e0bf14a')
sha1sums=('8df4c92df2a6ddefccc5ee16d05298c7e8351094')
_gitname="glc"
_gitroot="git://nullkey.ath.cx/~pyry/$_gitname"
build() {
cd $srcdir
mods=('glc' 'glc-support' 'elfhacks' 'packetstream')
for mod in ${mods[@]}; do
msg "Gitting $mod"
if [ -d "$mod" ]; then
cd "$mod"
git pull origin || return 1
cd ..
else
git clone "git://nullkey.ath.cx/~pyry/$mod" || return 1
fi
done
ln -sf $srcdir/elfhacks glc/elfhacks
ln -sf $srcdir/packetstream glc/packetstream
ln -sf $srcdir/glc-support glc/support
msg "GIT checkout done or server timeout"
msg "Starting Build Sequence"
DESTDIR=$pkgdir/usr
MLIBDIR="lib"
[ $CARCH == "x86_64" ] && MLIBDIR="lib64"
CMAKE_INCLUDE_PATH="$srcdir/glc/elfhacks/src:$srcdir/glc/packetstream/src"
CMAKE_LIBRARY_PATH="$srcdir/glc/elfhacks/build/src:$srcdir/glc/packetstream/build/src"
mods=('elfhacks' 'packetstream' 'glc')
for mod in ${mods[@]}; do
msg "Building $mod..."
[ -d $mod/build ] || mkdir $mod/build
cd $mod/build
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH="${DESTDIR}" \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_C_FLAGS_RELEASE_RELEASE:STRING="${CFLAGS}" > /dev/null \
-DMLIBDIR="${MLIBDIR}" \
|| return 1
make || return 1
if [ $CARCH == "x86_64" ]; then
cd ..
[ -d build32 ] || mkdir build32
cd build32
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH="${DESTDIR}" \
-DCMAKE_BUILD_TYPE:STRING="Release" \
-DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS} -m32" > /dev/null \
-DMLIBDIR="lib32" \
|| return 1
make || return 1
fi
cd ../..
done
for mod in ${mods[@]}; do
msg "Installing $mod to pkgdir..."
cd $srcdir/$mod/build
make install || return 1
if [ $CARCH == "x86_64" ]; then
cd ../build32
make install || return 1
fi
done
install -d m755 $pkgdir/usr/lib/glc/scripts
install $srcdir/glc/scripts/capture.sh $pkgdir/usr/lib/glc/scripts/capture.sh
install $srcdir/glc/scripts/play.sh $pkgdir/usr/lib/glc/scripts/play.sh
install $srcdir/glc/scripts/encode.sh $pkgdir/usr/lib/glc/scripts/encode.sh
install -d m755 $pkgdir/usr/share/licenses/glc
install -m644 $startdir/Copyright $pkgdir/usr/share/licenses/glc/Copyright
}
file: Copyright
Copyright (C) 2007-2008 Pyry Haulos <pyry.haulos@gmail.com>
This software(glc) is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
this is only the git version, but I'm sure there is a regular release version as well..
if it works I'll make a PKGBUILD for the regular release and upload them to the AUR..
it seems to work fine, though i didn't get into testing it much, i.e i didn't try to record anything
Last edited by kumico (2008-05-12 18:42:08)
Offline
I do not thik there is a regular version out. Kumico's version seems to be the one that should be used. Mine is more a quick hack.
Offline
i don't know if they're released or if they're just snapshots(most likely the latter)
but they are found at http://nullkey.ath.cx/[glc]/[glc].tar.gz
Offline
Oh, thanks a lot for the PKGBUILD kumico, it is nice, and yeah http://nullkey.ath.cx/projects/glc/wiki/LatestNews <--- it appears there are release versions and 0.5.5 is the latest. And thank Stefan for your interest.
Offline
yw,
uploaded both to the AUR
http://aur.archlinux.org/packages.php?ID=16947 -- glc
http://aur.archlinux.org/packages.php?ID=16946 -- glc-git
Offline
Offline
Sorry, trying to compile it outputs something:
CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: ELFHACKS_LIBRARY PACKETSTREAM_LIBRARY
change
CMAKE_INCLUDE_PATH="${PWD}/elfhacks/src:${PWD}/packetstream/src"
CMAKE_LIBRARY_PATH="${PWD}/elfhacks/build/src:${PWD}/packetstream/build/src"
to
export CMAKE_INCLUDE_PATH="${PWD}/elfhacks/src:${PWD}/packetstream/src"
export CMAKE_LIBRARY_PATH="${PWD}/elfhacks/build/src:${PWD}/packetstream/build/src"
in the PKGBUILD
Offline
thx, fixed aur pkgbuilds as well
Offline
Pages: 1