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 autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules from pisi.actionsapi import mesontools
shelltools.export("JOBS", get.makeJOBS().replace("-j", "")) # shelltools.export("JOBS", get.makeJOBS().replace("-j", ""))
shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS()) # shelltools.export("LDFLAGS", "%s -Wl,--as-needed" % get.LDFLAGS())
def setup(): def setup():
shelltools.system("./bootstrap.py") mesontools.configure("-Dlibmpv=true \
shelltools.system("python3 waf configure --prefix=/usr \ -Dcdda=enabled \
--confdir=/etc/mpv \ -Ddvdnav=enabled \
--enable-dvb \ -Dsdl2=enabled \
--enable-cdda \ -Ddvbin=enabled \
--enable-dvdnav \ -Dlibarchive=enabled")
--enable-libarchive \
--enable-libmpv-shared")
def build(): def build():
shelltools.system("python3 waf build -v") mesontools.build()
def install(): def install():
shelltools.system("DESTDIR=%s python3 waf install" % get.installDIR()) mesontools.install()
pisitools.insinto("/usr/share/mpv/scripts", "TOOLS/lua/*") pisitools.insinto("/usr/share/mpv/scripts", "TOOLS/lua/*")
pisitools.dodoc("Copyright", "RELEASE_NOTES", "README.md") 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> <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> <Archive sha1sum="1c580de6279ab121c0e4b3e216a7ea4fa91e282c" type="targz">https://github.com/mpv-player/mpv/archive/v0.37.0.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>meson</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>libzimg-devel</Dependency> <Dependency>libzimg-devel</Dependency>
<Dependency>mesa-devel</Dependency> <Dependency>mesa-devel</Dependency>
@@ -66,6 +67,9 @@
<Dependency>libavc1394-devel</Dependency> <Dependency>libavc1394-devel</Dependency>
<Dependency>libarchive-devel</Dependency> <Dependency>libarchive-devel</Dependency>
<Dependency>python3-youtube_dl</Dependency> <Dependency>python3-youtube_dl</Dependency>
<Dependency>libsdl2-devel</Dependency>
<Dependency>vulkan-devel</Dependency>
<Dependency>vulkan-headers</Dependency>
<Dependency>libplacebo-devel</Dependency> <Dependency>libplacebo-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
@@ -117,6 +121,8 @@
<Dependency>python3-setuptools</Dependency> <Dependency>python3-setuptools</Dependency>
<Dependency>python3-youtube_dl</Dependency> <Dependency>python3-youtube_dl</Dependency>
<Dependency>jack-audio-connection-kit</Dependency> <Dependency>jack-audio-connection-kit</Dependency>
<Dependency>libsdl2</Dependency>
<Dependency>vulkan</Dependency>
<Dependency>libplacebo</Dependency> <Dependency>libplacebo</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>