Browse Source

fix fedora builds

use_builds_script
Alexandros Theodotou 2 years ago
parent
commit
270b7fce41
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 1
      arch/PKGBUILD.in
  2. 18
      rpm/zrythm.spec.in

1
arch/PKGBUILD.in

@ -50,6 +50,7 @@ package() { @@ -50,6 +50,7 @@ package() {
install -vDm 644 AUTHORS CONTRIBUTING.md CHANGELOG.md README.md THANKS TRANSLATORS \
-t "${pkgdir}/usr/share/doc/zrythm/"
DESTDIR="${pkgdir}/" ninja -C build install
rm -rf "${pkgdir}/usr/lib/libcm_reproc.a"
mkdir -p "${pkgdir}/usr/lib/zrythm/carla"
mkdir -p "${pkgdir}/usr/lib/lv2"
for file in carla-discovery-native carla-bridge-lv2-gtk2 carla-bridge-lv2-gtk3 carla-bridge-lv2-qt5 carla-bridge-lv2-x11 carla-bridge-native libcarla_host-plugin.so; do

18
rpm/zrythm.spec.in

@ -108,11 +108,11 @@ ninja -C build @@ -108,11 +108,11 @@ ninja -C build
%install
DESTDIR="%{buildroot}/" ninja -C build install
mkdir -p "%{buildroot}%{_libdir}/lv2"
mkdir -p "%{buildroot}%{_libdir}/zrythm/carla"
mkdir -p "%{buildroot}%{_exec_prefix}/lib/zrythm/carla"
rm -rf "%{buildroot}%{_libdir}/libcm_reproc.a"
for file in carla-discovery-native carla-bridge-lv2-gtk2 carla-bridge-lv2-gtk3 carla-bridge-lv2-qt5 carla-bridge-lv2-x11 carla-bridge-native libcarla_host-plugin.so; do
cp -Lv "@CARLA_FULL_BINS_PATH@/$file" \
%{buildroot}%{_libdir}/zrythm/carla/
%{buildroot}%{_exec_prefix}/lib/zrythm/carla/
done
for f in `ls @BUILT_ZPLUGINS_DIR@/lib/lv2`; do
cp -RLv "@BUILT_ZPLUGINS_DIR@/lib/lv2/$f" "%{buildroot}%{_libdir}/lv2/Zrythm-$f"
@ -134,13 +134,13 @@ done @@ -134,13 +134,13 @@ done
%{_datadir}/man/man1/zrythm.*
%{_datadir}/mime/packages/org.zrythm.Zrythm-mime.xml
%{_libdir}/lv2/Zrythm-*
%{_libdir}/zrythm/carla/carla-discovery-native
%{_libdir}/zrythm/carla/carla-bridge-lv2-gtk2
%{_libdir}/zrythm/carla/carla-bridge-lv2-gtk3
%{_libdir}/zrythm/carla/carla-bridge-lv2-qt5
%{_libdir}/zrythm/carla/carla-bridge-lv2-x11
%{_libdir}/zrythm/carla/carla-bridge-native
%{_libdir}/zrythm/carla/libcarla_host-plugin.so
%{_exec_prefix}/lib/zrythm/carla/carla-discovery-native
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-gtk2
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-gtk3
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-qt5
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-lv2-x11
%{_exec_prefix}/lib/zrythm/carla/carla-bridge-native
%{_exec_prefix}/lib/zrythm/carla/libcarla_host-plugin.so
%{_sysconfdir}/bash_completion.d/zrythm
# _exec_prefix/lib64/**/*

Loading…
Cancel
Save