diff --git a/srcpkgs/libmediainfo-devel b/srcpkgs/libmediainfo-devel new file mode 120000 index 00000000000..815886eb38c --- /dev/null +++ b/srcpkgs/libmediainfo-devel @@ -0,0 +1 @@ +libmediainfo \ No newline at end of file diff --git a/srcpkgs/libmediainfo/template b/srcpkgs/libmediainfo/template new file mode 100644 index 00000000000..1ec86a94168 --- /dev/null +++ b/srcpkgs/libmediainfo/template @@ -0,0 +1,34 @@ +# Template file for 'libmediainfo' +# vim: set ft=sh: + +pkgname=libmediainfo +version=0.7.73 +revision=1 +short_desc="Shared library for mediainfo" +homepage="http://mediaarea.net/MediaInfo" +maintainer="Georg Schabel " +license="BSD" + +distfiles="${SOURCEFORGE_SITE}/mediainfo/${pkgname}_${version}.tar.gz" +checksum=40fe04c2f959537aef6769c89d1b7a1dca242810937f59352e84bc8d1ac3b7a9 + +build_style=gnu-configure +hostmakedepends="automake libtool pkg-config" +makedepends="libmms-devel libcurl-devel libzen-devel" +configure_args="--prefix=/usr --enable-shared --disable-static + --with-libcurl --with-libmms" +create_wrksrc=yes +build_wrksrc="MediaInfoLib/Project/GNU/Library" + +pre_configure() { + autoreconf -fi +} + +libmediainfo-devel_package() { + depends="libmediainfo>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +}