Accepting request 359453 from multimedia:apps
- Add a mpv_gpl3 condition to build mpv as GPL-3.0+ on Packman. OBS-URL: https://build.opensuse.org/request/show/359453 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpv?expand=0&rev=11
This commit is contained in:
commit
35f2fa31f8
@ -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
|
Fri Jan 22 12:51:43 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
13
mpv.spec
13
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 _waf_ver 1.8.12
|
||||||
%define lname libmpv1
|
%define lname libmpv1
|
||||||
Name: mpv
|
Name: mpv
|
||||||
Version: 0.15.0
|
Version: 0.15.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Advanced general-purpose multimedia player
|
Summary: Advanced general-purpose multimedia player
|
||||||
License: GPL-2.0+ and BSD-3-Clause
|
License: %{_license}
|
||||||
Group: Productivity/Multimedia/Video/Players
|
Group: Productivity/Multimedia/Video/Players
|
||||||
# waf is licensed with BSD-3-Clause
|
# waf is licensed with BSD-3-Clause
|
||||||
Url: http://mpv.io/
|
Url: http://mpv.io/
|
||||||
@ -164,6 +171,10 @@ myopts="--disable-sdl1 --disable-sdl2"
|
|||||||
myopts+=" --disable-build-date"
|
myopts+=" --disable-build-date"
|
||||||
# Debug just adds -g and we do that over optflags anyway.
|
# Debug just adds -g and we do that over optflags anyway.
|
||||||
myopts+=" --disable-debug"
|
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}"
|
export CCFLAGS="%{optflags}"
|
||||||
./waf configure \
|
./waf configure \
|
||||||
--prefix="%{_prefix}" \
|
--prefix="%{_prefix}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user