You are not logged in.

#1 2008-06-17 23:47:08

robb_force
Member
Registered: 2006-11-10
Posts: 29

[Request] Seal library

I was going to package a multi-system Sega emulator named MEKA http://www.smspower.org/meka/ but it requires a sound library named SEAL that doesn't appear to have been packaged. http://www.sonicspot.com/sealsdk/sealsdk.html

So, I found the debian package and started a PKGBUILD using their patch files. It appears to compile ok, but I'm not sure where to go from here. Anyone experienced with libraries feel like finishing this one?

# Contributor: robb_force <robb_force@holybuffalo.net>
pkgname=seal
pkgver=1.07
pkgrel=1
pkgdesc="Synthetic Audio Library lets you write applications that are able to play digital audio waveforms and music modules on many platforms."
url="http://www.sonicspot.com/sealsdk/sealsdk.html"
license=('LGPL')
arch=('i686')
depends=('')
makedepends=('nasm')
source=(http://www.sonicspot.com/sealsdk/${pkgname}${pkgver%.*}${pkgver#*.}.zip \
  http://ftp.debian.org/debian/pool/main/s/${pkgname}/${pkgname}_${pkgver}-14.diff.gz)

build()
{
  cd ${startdir}/src

  # Create the patches from the debian package
  patch -p1 < seal_1.07-14.diff
  
  # Apply the patches
  cd ${startdir}/src/${pkgname}-${pkgver}
  for i in ${startdir}/src/debian/patches/*.diff; do
    patch -p1 < $i
  done

  cd src
  make -f Linux/Makefile || return 1
#  make -f Linux/Makefile DESTDIR=${startdir}/pkg install
}

Offline

Board footer

Powered by FluxBB