From edb499b997bd71efade8d290b2c2a20b21666a0c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 12 Jan 2018 15:17:25 +0100 Subject: extra/vlc: patches are not yet applied upstream - only in [staging] --- extra/vlc/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 extra/vlc/PKGBUILD (limited to 'extra/vlc/PKGBUILD') diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD new file mode 100644 index 00000000..77eb6d88 --- /dev/null +++ b/extra/vlc/PKGBUILD @@ -0,0 +1,18 @@ +# gcc 7.2.1 enforces that some header files are actually compiled with -std=c++11, +# the libupnp skim for older versions in vlc collides with the one supplied +# by the library + +source+=('vlc-2.2.8-cpp11.patch' + 'vlc-2.2.8-libupnp.patch') +sha512sums+=('0e186d64ffd0455e6ad1558ce509ce264eb03e2a0c7c2d7ef65e6aded4104a050d19c8f699c97cf31095198090f4e95bea4b4df1ae3a9075dc10e41e942c8993' + '5736e5fc5d33c7b6c5c5664d26efb3b65b2a14202fe7c3892711c0bad02fd823c92724cb42e6efecf38a0cc446280097b92d910fc84d45b49c2a87c183d64f5e') + +eval "$( + declare -f prepare | \ + sed ' + /^}$/ i \ + patch -Np1 < "${srcdir}/vlc-2.2.8-cpp11.patch" \ + ./bootstrap \ + patch -Np1 < "${srcdir}/vlc-2.2.8-libupnp.patch" + ' +)" -- cgit v1.2.3-70-g09d2