Accepting request 511387 from home:alois:branches:multimedia:apps

OBS-URL: https://build.opensuse.org/request/show/511387
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpv?expand=0&rev=101
This commit is contained in:
Tomáš Chvátal 2017-07-19 11:46:40 +00:00 committed by Git OBS Bridge
parent 3dbaa38420
commit f3b8f2695d
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 19 11:26:19 UTC 2017 - aloisio@gmx.com
- Fixed Leap build WRT lua
- Removed shebang from bash-completion script
-------------------------------------------------------------------
Tue Jul 18 19:42:17 UTC 2017 - 9@cirno.systems

View File

@ -74,7 +74,11 @@ BuildRequires: pkgconfig(libudf)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libva) >= 0.36.0
BuildRequires: pkgconfig(libva-x11) >= 0.36.0
%if 0%{?suse_version} > 1320
BuildRequires: pkgconfig(lua-5.1)
%else
BuildRequires: pkgconfig(lua)
%endif
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(rubberband)
BuildRequires: pkgconfig(smbclient)
@ -236,6 +240,8 @@ popd
install -D -m 0644 etc/input.conf %{buildroot}%{_sysconfdir}/%{name}/input.conf
install -D -m 0644 etc/mpv.conf %{buildroot}%{_sysconfdir}/%{name}/mpv.conf
# remove shebang
sed -i -e '1d' %{buildroot}%{_datadir}/bash-completion/completions/mpv
%post
%desktop_database_post