You are not logged in.

#1 2012-10-17 03:45:23

Katherine1
Member
Registered: 2011-05-02
Posts: 41

PKGBUILD - PixelLight

I was interested in trying out the PixelLight 3D engine, but found that it was not available in the repos or AUR, so I decided to try and create a PKGBUILD for it. As this is my first PKGBUILD, It's not exactly ready for prime time. There are issues I'm still working on figuring out, primarily how PixelLight, by default, sticks things in places that aren't where you would generally look for them. The libraries and binaries are in /usr/share, for example. Because the PixelLight libraries are in /usr/share, the binaries can't find them and crash if you try to run them. I haven't even attempted using the libraries yet.

Pretty much, it could use a looking at. Some suggestions would be nice.

If anyone wants to look at the resulting package from a x64 system, here's what the PKGBUILD produced: http://em.dlmarriott.net/pixellight-1.0 … pkg.tar.xz

And the PKGBUILD

pkgname=pixellight
pkgver=1.0.0_R1
pkgrel=1
pkgdesc="A hardware accelerated 3D engine."
arch=('i686' 'x86_64')
url="http://www.pixellight.org/"
license=('LGPL3')
depends=('qt' 'openal' 'libvorbis' 'glu' 'gcc-libs-multilib' 'libxcursor')
makedepends=('cmake')
source=('http://downloads.sourceforge.net/project/pixellight/PixelLight%20v1.0/1.0.0-R1/PixelLight-1.0.0-R1-SourceCodes.tar.gz')
md5sums=('cfc975034a31c9a3cca5bbf28efc876a')

build() {
cd "$srcdir/PixelLight-1.0.0-R1-SourceCodes"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}

package() {
cd "$srcdir/PixelLight-1.0.0-R1-SourceCodes"
make DESTDIR="$pkgdir/" install
}

Offline

Board footer

Powered by FluxBB