mpv-player-0.37.0

This commit is contained in:
Rmys
2023-11-22 18:11:41 +03:00
committed by GitHub
parent 13e71b4d4d
commit 5e4581f14b
2 changed files with 17 additions and 13 deletions
+11 -13
View File
@@ -8,26 +8,24 @@ from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import mesontools
shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS())
# shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
# shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS())
def setup():
shelltools.system("./bootstrap.py")
shelltools.system("python3 waf configure --prefix=/usr \
--confdir=/etc/mpv \
--enable-dvb \
--enable-cdda \
--enable-dvdnav \
--enable-libarchive \
--enable-libmpv-shared")
mesontools.configure("-Dlibmpv=true \
-Dcdda=enabled \
-Ddvdnav=enabled \
-Dsdl2=enabled \
-Ddvbin=enabled \
-Dlibarchive=enabled")
def build():
shelltools.system("python3 waf build -v")
mesontools.build()
def install():
shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR())
mesontools.install()
pisitools.insinto("/usr/share/mpv/scripts", "TOOLS/lua/*")
pisitools.dodoc("Copyright", "RELEASE_NOTES", "README.md")
@@ -14,6 +14,7 @@
<Description>mpv has Wayland support, Improved OpenGL output, Support for libavfilter (for video->video and audio->audio). This allows using most of FFmpeg's filters, which improve greatly on the old MPlayer filters in features, performance, and correctness.is a movie player that can run on many platforms. Improved OpenGL output. More correct color reproduction (color matrix generation), including support for BT.2020 (Ultra HD) and linear XYZ (Digital Cinema) inputs.</Description>
<Archive sha1sum="1c580de6279ab121c0e4b3e216a7ea4fa91e282c" type="targz">https://github.com/mpv-player/mpv/archive/v0.37.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>libzimg-devel</Dependency>
<Dependency>mesa-devel</Dependency>
@@ -66,6 +67,9 @@
<Dependency>libavc1394-devel</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>python3-youtube_dl</Dependency>
<Dependency>libsdl2-devel</Dependency>
<Dependency>vulkan-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>libplacebo-devel</Dependency>
</BuildDependencies>
<Patches>
@@ -117,6 +121,8 @@
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-youtube_dl</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
<Dependency>libsdl2</Dependency>
<Dependency>vulkan</Dependency>
<Dependency>libplacebo</Dependency>
</RuntimeDependencies>
<Files>