#!/bin/sh

. config/options

cd $BUILD/$1*

do_install usr/lib/libxine.so*
do_install usr/lib/xine/plugins/2.0


mkdir -p $INSTALL/etc/xine
cp $ROOT/$PACKAGES/$1/config/config $INSTALL/etc/xine
pkg_uses $1 vdpau && \
  echo "engine.buffers.video_num_frames: 22" >> $INSTALL/etc/xine/config

exit 0
