mirror of
https://github.com/tadeokondrak/vs-overlay
synced 2024-11-23 01:12:25 +01:00
vapoursynthPlugins: set libdir in meson config
This replaces the custom installPhase.
This commit is contained in:
parent
7d4014e667
commit
58d1180894
|
@ -14,11 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth ];
|
buildInputs = [ vapoursynth ];
|
||||||
|
|
||||||
installPhase =
|
postPatch = ''
|
||||||
let
|
substituteInPlace meson.build \
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
in ''
|
|
||||||
install -D libaddgrain${ext} $out/lib/vapoursynth/libaddgrain${ext}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -14,13 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth fftwSinglePrec ];
|
buildInputs = [ vapoursynth fftwSinglePrec ];
|
||||||
|
|
||||||
# i could not find a way to override the default meson install dir.
|
postPatch = ''
|
||||||
# patching the file didn't work
|
substituteInPlace meson.build \
|
||||||
installPhase =
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
let
|
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
|
||||||
in ''
|
|
||||||
install -D libbm3d${ext} $out/lib/vapoursynth/libbm3d${ext}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -14,11 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth ];
|
buildInputs = [ vapoursynth ];
|
||||||
|
|
||||||
installPhase =
|
postPatch = ''
|
||||||
let
|
substituteInPlace meson.build \
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
in ''
|
|
||||||
install -D libeedi2${ext} $out/lib/vapoursynth/libeedi2${ext}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -14,11 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth boost opencl-headers ocl-icd ];
|
buildInputs = [ vapoursynth boost opencl-headers ocl-icd ];
|
||||||
|
|
||||||
installPhase =
|
postPatch = ''
|
||||||
let
|
substituteInPlace meson.build \
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
in ''
|
|
||||||
install -D libeedi3m${ext} $out/lib/vapoursynth/libeedi3m${ext}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth ];
|
buildInputs = [ vapoursynth ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace meson.build \
|
||||||
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
let
|
let
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
||||||
|
|
|
@ -14,11 +14,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ meson ninja pkg-config ];
|
nativeBuildInputs = [ meson ninja pkg-config ];
|
||||||
buildInputs = [ vapoursynth boost opencl-headers ocl-icd ];
|
buildInputs = [ vapoursynth boost opencl-headers ocl-icd ];
|
||||||
|
|
||||||
installPhase =
|
postPatch = ''
|
||||||
let
|
substituteInPlace meson.build \
|
||||||
ext = stdenv.targetPlatform.extensions.sharedLibrary;
|
--replace "vapoursynth_dep.get_pkgconfig_variable('libdir')" "get_option('libdir')"
|
||||||
in ''
|
|
||||||
install -D libtcanny${ext} $out/lib/vapoursynth/libtcanny${ext}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue