Browse Source

skip installing subprojects

use_builds_script
Alexandros Theodotou 2 years ago
parent
commit
6731203fed
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 2
      arch/PKGBUILD.in
  2. 4
      debian/rules.in
  3. 2
      osx-brew/zrythm.rb.in
  4. 2
      rpm/zrythm.spec.in
  5. 3
      windows-msys/PKGBUILD.in

2
arch/PKGBUILD.in

@ -49,7 +49,7 @@ package() { @@ -49,7 +49,7 @@ package() {
cd $_rootdir
install -vDm 644 AUTHORS CONTRIBUTING.md CHANGELOG.md README.md THANKS TRANSLATORS \
-t "${pkgdir}/usr/share/doc/zrythm/"
DESTDIR="${pkgdir}/" ninja -C build install
@MESON_BIN@ install -C build --skip-subprojects --destdir="${pkgdir}/"
rm -rf "${pkgdir}/usr/include"
rm -rf "${pkgdir}/usr/lib/libbacktrace"*
rm -rf "${pkgdir}/usr/lib/libcm_reproc.a"

4
debian/rules.in vendored

@ -30,7 +30,9 @@ override_dh_auto_test: @@ -30,7 +30,9 @@ override_dh_auto_test:
override_dh_auto_install:
cd debian/build && \
DESTDIR=${CURDIR}/debian/zrythm@DASH_TRIAL@ ninja install
PATH=$$PATH:/home/build/.local/bin \
@MESON_BIN@ install --skip-subprojects \
--destdir="${CURDIR}/debian/zrythm@DASH_TRIAL@"
rm -rf "${CURDIR}/debian/zrythm@DASH_TRIAL@/usr/include"
rm -rf "${CURDIR}/debian/zrythm@DASH_TRIAL@/usr/lib/libbacktrace"*
rm -rf "${CURDIR}/debian/zrythm@DASH_TRIAL@/usr/lib/libcm_reproc.a"

2
osx-brew/zrythm.rb.in

@ -47,7 +47,7 @@ class Zrythm@TRIAL_INITIAL_UPPERCASE@ < Formula @@ -47,7 +47,7 @@ class Zrythm@TRIAL_INITIAL_UPPERCASE@ < Formula
"-Dinstaller_ver=true",
".."
system "ninja", "-v"
system "ninja", "install", "-v"
system "meson", "install", "--skip-subprojects"
system "cp", "-r", "@BREEZE_DARK@", "#{share}/icons/breeze-dark"
system "mkdir", "-p", "#{lib}/zrythm/carla"
system "mkdir", "-p", "#{lib}/lv2"

2
rpm/zrythm.spec.in

@ -107,7 +107,7 @@ PKG_CONFIG_PATH=@LIBRARY_PKG_CONFIG_PATH@:@CARLA_PKG_CONFIG_PATH@ \ @@ -107,7 +107,7 @@ PKG_CONFIG_PATH=@LIBRARY_PKG_CONFIG_PATH@:@CARLA_PKG_CONFIG_PATH@ \
ninja -C build
%install
DESTDIR="%{buildroot}/" ninja -C build install
@MESON_BIN@ install -C build --skip-subprojects --destdir="%{buildroot}/"
mkdir -p "%{buildroot}%{_libdir}/lv2"
mkdir -p "%{buildroot}%{_exec_prefix}/lib/zrythm/carla"
rm -rf "%{buildroot}%{_includedir}"

3
windows-msys/PKGBUILD.in

@ -102,7 +102,8 @@ package() { @@ -102,7 +102,8 @@ package() {
destdir="${pkgdir}${MINGW_PREFIX}"
pushd "$_zrythm_builddir"
DESTDIR="$destdir" ninja install
${MINGW_PREFIX}/bin/meson install \
--skip-subprojects --destdir="$destdir"
install -Dm644 "${srcdir}/zrythm-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/zrythm/COPYING"
popd

Loading…
Cancel
Save