37 lines
1.1 KiB
Text
Executable file
37 lines
1.1 KiB
Text
Executable file
APP=mplayer
|
|
VERSION=20180720
|
|
BUILD=1sml
|
|
HOMEPAGE="http://www.mplayerhq.hu/"
|
|
DOWNLOAD=""
|
|
DESC="The Linux movie player with support for several dozen formats"
|
|
REQUIRES="libpng zlib gnutls libjpeg-turbo giflib alsa-lib libcdio-paranoia freetype fontconfig fribidi bzip2 lzo libvorbis libtheora lame libass libogg mpg123 faad2 ffmpeg opus opusfile libxext libx11 libxv libvdpau libxinerama sdl mesa libopenal x264 gtk2 libidn libtasn1 nettle gmp expat e2fsprogs harfbuzz pcre libxcb libxdamage libdrm libffi libxrender libxscrnsaver"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf MPlayer-$VERSION
|
|
|
|
tar xf $SRCDIR/MPlayer-$VERSION.tar.?z
|
|
cd MPlayer-$VERSION
|
|
fixbuilddirpermissions
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--confdir=/etc/mplayer \
|
|
--disable-ffmpeg_a \
|
|
--disable-arts \
|
|
--enable-gui \
|
|
--enable-menu \
|
|
--enable-vdpau \
|
|
--disable-ossaudio
|
|
|
|
make
|
|
make install DESTDIR=$PKG
|
|
|
|
cp Copyright LICENSE $PKGDOCS/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
SHA512SUMS="
|
|
6d081ff29d4f6cbeef7692561b9eb4a1776efa74692a8b9338affac44d997d45e822a16a69e5abbcae46ef4a4b1f896f9f56b70eb90a53d82790c9c853e8496e MPlayer-20180720.tar.xz
|
|
"
|