void-packages/srcpkgs/ogmrip/template

29 lines
986 B
Bash

# Template file for 'ogmrip'
pkgname=ogmrip
version=1.0.1
revision=5
configure_args="--disable-static"
build_style=gnu-configure
hostmakedepends="intltool pkg-config"
makedepends="GConf-devel dbus-glib-devel enca-devel enchant2-devel lame-devel
libdvdread-devel libglade-devel libnotify-devel libtheora-devel mplayer
vorbis-tools x264-devel xvidcore-devel"
depends="desktop-file-utils mplayer"
short_desc="Application to rip and encode DVDs into AVI, OGM, MP4, or Matroska"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="LGPL-2.1-or-later"
homepage="http://ogmrip.sourceforge.net/en/index.html"
distfiles="${SOURCEFORGE_SITE}/ogmrip/ogmrip/${version%.*}/${version}/ogmrip-${version}.tar.gz"
checksum=4e2e9778ac4da9fe1ab159e3dc6d4367b7a9dbd8f3501df99733ecedb25b02ff
pre_configure() {
sed -i 's/enchant >=/enchant-2 >=/' configure
}
post_install() {
# Remove development stuff.
rm -r ${DESTDIR}/etc/gconf
rm -r ${DESTDIR}/usr/include
rm -r ${DESTDIR}/usr/lib/pkgconfig
}