commit f8efd6df84458e42efb3f4dffa409e45bdf34799
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Dec 18 15:30:33 2018 +0100
Enable rpi support
mpv.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/mpv.spec b/mpv.spec
index 0eb213a..8612ae3 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -70,6 +70,12 @@ BuildRequires: perl(Math::BigInt)
BuildRequires: perl(Math::BigRat)
BuildRequires: perl(Encode)
+%ifarch armv7hl armv7hnl
+%{?_with_rpi:
+BuildRequires: raspberrypi-vc-devel
+}
+%endif
+
Requires: hicolor-icon-theme
Provides: mplayer-backend
@@ -115,6 +121,7 @@ waf configure \
--enable-dvdread \
--enable-dvdnav \
--enable-cdda \
+%{?_with_rpi:--enable-rpi} \
--enable-tv \
--enable-dvbin
Show replies by date