2015-05-06 03:23:21 +00:00
|
|
|
# Template file for 'mediainfo'
|
|
|
|
|
|
|
|
pkgname=mediainfo
|
|
|
|
version=0.7.73
|
2015-05-07 12:19:19 +00:00
|
|
|
revision=2
|
2015-05-06 03:23:21 +00:00
|
|
|
short_desc="Display technical and tag data for video and audio files"
|
|
|
|
homepage="http://mediaarea.net/MediaInfo"
|
|
|
|
maintainer="Georg Schabel <gescha@posteo.de>"
|
|
|
|
license="BSD"
|
|
|
|
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.tar.gz"
|
|
|
|
checksum=1fde5b2972d923f7f87c2b2e738e8a086603243770961b077cf558f9836e612e
|
|
|
|
|
|
|
|
hostmakedepends="automake libtool pkg-config"
|
2015-05-06 17:26:18 +00:00
|
|
|
makedepends="libmediainfo-devel zlib-devel
|
2015-05-06 18:11:02 +00:00
|
|
|
wxGTK-devel wxWidgets-devel"
|
2015-05-07 12:19:19 +00:00
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2015-05-06 03:23:21 +00:00
|
|
|
create_wrksrc=yes
|
2015-05-07 12:19:19 +00:00
|
|
|
_gnudir="MediaInfo/Project/GNU"
|
2015-05-07 12:33:58 +00:00
|
|
|
replaces="mediainfo-gui>=0"
|
2015-05-06 03:23:21 +00:00
|
|
|
|
2015-05-07 12:19:19 +00:00
|
|
|
do_configure() {
|
|
|
|
for d in CLI GUI; do
|
|
|
|
cd $wrksrc/$_gnudir/$d
|
|
|
|
autoreconf -fi
|
2015-05-07 12:33:58 +00:00
|
|
|
./configure ${configure_args}
|
2015-05-07 12:19:19 +00:00
|
|
|
done
|
2015-05-06 03:23:21 +00:00
|
|
|
}
|
2015-05-06 13:13:32 +00:00
|
|
|
|
2015-05-07 12:19:19 +00:00
|
|
|
do_build() {
|
|
|
|
for d in CLI GUI; do
|
|
|
|
cd $wrksrc/$_gnudir/$d
|
|
|
|
make ${makejobs}
|
|
|
|
done
|
2015-05-06 13:13:32 +00:00
|
|
|
}
|
2015-05-06 17:26:18 +00:00
|
|
|
|
2015-05-07 12:19:19 +00:00
|
|
|
do_install() {
|
|
|
|
for d in CLI GUI; do
|
|
|
|
cd $wrksrc/$_gnudir/$d
|
2015-05-06 17:26:18 +00:00
|
|
|
make DESTDIR="${DESTDIR}" install
|
2015-05-07 12:19:19 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense ${wrksrc}/MediaInfo/License.html
|
2015-05-06 17:26:18 +00:00
|
|
|
|
2015-05-07 12:19:19 +00:00
|
|
|
vmkdir usr/share/icons/hicolor/scalable/apps
|
|
|
|
vinstall ${wrksrc}/MediaInfo/Source/Resource/Image/MediaInfo.svg 644 \
|
|
|
|
usr/share/icons/hicolor/scalable/apps mediainfo.svg
|
|
|
|
vinstall ${wrksrc}/MediaInfo/Source/Resource/Image/MediaInfo.png 644 \
|
|
|
|
usr/share/pixmaps mediainfo-gui.png
|
|
|
|
vinstall ${wrksrc}/$_gnudir/GUI/mediainfo-gui.desktop 644 usr/share/applications
|
2015-05-06 17:26:18 +00:00
|
|
|
}
|