Accepting request 538353 from multimedia:apps
- Explicitly use python3 when building - Enable libva on wayland OBS-URL: https://build.opensuse.org/request/show/538353 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=38
This commit is contained in:
commit
64f4cacfa6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 2 12:20:01 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Explicitly use python3 when building
|
||||||
|
- Enable libva on wayland
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 24 18:33:12 UTC 2017 - aloisio@gmx.com
|
Tue Oct 24 18:33:12 UTC 2017 - aloisio@gmx.com
|
||||||
|
|
||||||
|
7
mpv.spec
7
mpv.spec
@ -74,6 +74,7 @@ BuildRequires: pkgconfig(libswscale) >= 4.2.100
|
|||||||
BuildRequires: pkgconfig(libudf)
|
BuildRequires: pkgconfig(libudf)
|
||||||
BuildRequires: pkgconfig(libv4l2)
|
BuildRequires: pkgconfig(libv4l2)
|
||||||
BuildRequires: pkgconfig(libva) >= 0.36.0
|
BuildRequires: pkgconfig(libva) >= 0.36.0
|
||||||
|
BuildRequires: pkgconfig(libva-wayland) >= 0.36.0
|
||||||
BuildRequires: pkgconfig(libva-x11) >= 0.36.0
|
BuildRequires: pkgconfig(libva-x11) >= 0.36.0
|
||||||
BuildRequires: pkgconfig(python3)
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRequires: pkgconfig(rubberband)
|
BuildRequires: pkgconfig(rubberband)
|
||||||
@ -213,7 +214,7 @@ myopts+=" --disable-debug"
|
|||||||
# Explicitly enable samba (seems non-default now?)
|
# Explicitly enable samba (seems non-default now?)
|
||||||
myopts+=" --enable-libsmbclient"
|
myopts+=" --enable-libsmbclient"
|
||||||
export CCFLAGS="%{optflags}"
|
export CCFLAGS="%{optflags}"
|
||||||
./waf configure \
|
python3 ./waf configure \
|
||||||
--prefix="%{_prefix}" \
|
--prefix="%{_prefix}" \
|
||||||
--bindir="%{_bindir}" \
|
--bindir="%{_bindir}" \
|
||||||
--mandir="%{_mandir}" \
|
--mandir="%{_mandir}" \
|
||||||
@ -230,7 +231,7 @@ export CCFLAGS="%{optflags}"
|
|||||||
--enable-dvbin \
|
--enable-dvbin \
|
||||||
${myopts}
|
${myopts}
|
||||||
|
|
||||||
./waf build --verbose %{?_smp_mflags}
|
python3 ./waf build --verbose %{?_smp_mflags}
|
||||||
|
|
||||||
pushd mpv-bash-completion-%{_mbc_ver}
|
pushd mpv-bash-completion-%{_mbc_ver}
|
||||||
export MPV_BASHCOMPGEN_MPV_CMD=../build/mpv
|
export MPV_BASHCOMPGEN_MPV_CMD=../build/mpv
|
||||||
@ -238,7 +239,7 @@ make %{?_smp_mflags}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./waf --destdir=%{buildroot} install
|
python3 ./waf --destdir=%{buildroot} install
|
||||||
|
|
||||||
pushd mpv-bash-completion-%{_mbc_ver}
|
pushd mpv-bash-completion-%{_mbc_ver}
|
||||||
%make_install
|
%make_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user