diff --git a/mpv-cuda.spec b/mpv-cuda.spec index b2cea72..1da17f2 100644 --- a/mpv-cuda.spec +++ b/mpv-cuda.spec @@ -161,7 +161,7 @@ export CFLAGS="$CFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=a export FCFLAGS="$FFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 " export FFLAGS="$FFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 " export CXXFLAGS="$CXXFLAGS -O3 -Ofast -falign-functions=32 -ffat-lto-objects -flto=auto -fno-semantic-interposition -mno-vzeroupper -mprefer-vector-width=256 " -meson --libdir=lib64 --prefix=/usr --buildtype=plain \ +meson --libdir=lib64 --prefix=/usr/local-cuda --buildtype=plain \ -Dalsa=enabled \ -Dbuild-date=false \ -Dcaca=disabled \ @@ -231,7 +231,9 @@ ninja -v -C builddir %install DESTDIR=%{buildroot} ninja -C builddir install -rm -rvf %{buildroot}/usr/share/doc +rm -rvf %{buildroot}/usr/*/share/doc +mv %{buildroot}/usr/local-cuda %{buildroot}/usr/local + %files