From f8efd6df84458e42efb3f4dffa409e45bdf34799 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Tue, 18 Dec 2018 15:30:33 +0100 Subject: [PATCH] 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