diff --git a/mpv.changes b/mpv.changes index 3670fd4..eb79e4a 100644 --- a/mpv.changes +++ b/mpv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 15 12:12:33 UTC 2016 - virtuousfox@gmail.com + +- Add a mpv_gpl3 condition to build mpv as GPL-3.0+ on Packman. + ------------------------------------------------------------------- Fri Jan 22 12:51:43 UTC 2016 - idonmez@suse.com diff --git a/mpv.spec b/mpv.spec index 7f866f9..77ad303 100644 --- a/mpv.spec +++ b/mpv.spec @@ -19,13 +19,20 @@ # +%bcond_with mpv_gpl3 +%if %{with mpv_gpl3} +%define _license GPL-3.0+ and BSD-3-Clause +%else +%define _license GPL-2.0+ and BSD-3-Clause +%endif + %define _waf_ver 1.8.12 %define lname libmpv1 Name: mpv Version: 0.15.0 Release: 0 Summary: Advanced general-purpose multimedia player -License: GPL-2.0+ and BSD-3-Clause +License: %{_license} Group: Productivity/Multimedia/Video/Players # waf is licensed with BSD-3-Clause Url: http://mpv.io/ @@ -164,6 +171,10 @@ myopts="--disable-sdl1 --disable-sdl2" myopts+=" --disable-build-date" # Debug just adds -g and we do that over optflags anyway. myopts+=" --disable-debug" +# nnedi3 feature that's hidden behind GPL3-switch activates openSUSE lawyers +%if %{with mpv_gpl3} +myopts+=" --enable-gpl3" +%endif export CCFLAGS="%{optflags}" ./waf configure \ --prefix="%{_prefix}" \