# Description: collection of visualization plugins for use with the libvisual framework
# URL: https://github.com/Libvisual/libvisual
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libvisual xorg-libxt
# Optional: gtk3

name=libvisual-plugins
version=0.4.2
release=1
source=(https://github.com/Libvisual/libvisual/releases/download/$name-$version/$name-$version.tar.bz2)

build() {
  cd $name-$version

  # next version is probably gtk3
  prt-get isinst gtk3 || PKGMK_LIBVISUALP+=' --disable-gdkpixbuf-plugin'

  ./configure --prefix=/usr $PKGMK_LIBVISUALP \
    --enable-extra-optimization \
    --disable-esd \
    --disable-gstreamer-plugin \
    --disable-jack \
    --disable-mplayer \
    --disable-nls
  make
  make DESTDIR=$PKG install
}
