40 lines
1.2 KiB
Text
Executable file
40 lines
1.2 KiB
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=mplayer
|
|
version=20180720
|
|
build=1sml
|
|
homepage="https://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"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf MPlayer-$version
|
|
|
|
tar xf $srcdir/MPlayer-$version.tar.?z
|
|
cd MPlayer-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./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="
|
|
bab689d4c794527875872001e4921efe9b642c472791d55bcae0231992796e4096c16db47acd40af7da057d5ecee90d4afc9c36c84671063d8f67c5c060bae91 MPlayer-20180720.tar.lz
|
|
"
|