# Template file for 'ogmrip'
pkgname=ogmrip
version=1.0.0
revision=2
short_desc="Application and ripping and encoding DVD into AVI, OGM, MP4, or Matroska"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="LGPL-2"
homepage="http://ogmrip.sourceforge.net/en/index.html"
distfiles="${SOURCEFORGE_SITE}/ogmrip/ogmrip/1.0/${version}/ogmrip-${version}.tar.gz"
checksum="6848a622152a62899b6e876e70ec36df1af7be9803b8b9c809ed631196bc18cc"
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config intltool"
depends="mplayer"
makedepends="
 glib-devel enca-devel libxml2-devel libdvdread-devel
 gtk+ vorbis-tools lame-devel libtheora-devel GConf-devel
 libglade-devel libnotify-devel dbus-glib-devel enchant-devel
 libpng-devel tiff-devel xvidcore-devel x264-devel mplayer"

post_install() {
	# Remove development stuff.
	rm -r ${DESTDIR}/etc/gconf
	rm -r ${DESTDIR}/usr/include
	rm -r ${DESTDIR}/usr/lib/pkgconfig
}
