External, Non-PPA KXStudio Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
986B

  1. #!/bin/bash
  2. set -e
  3. PPA_URL="https://launchpad.net/~obsproject/+archive/ubuntu/obs-studio"
  4. SUFFIX="0obsproject1"
  5. VERSION="29.1.3"
  6. DISTS=("focal" "jammy" "kinetic" "lunar")
  7. RVER=1
  8. wget -c "${PPA_URL}/+files/obs-studio_${VERSION}.orig.tar.gz"
  9. for d in ${DISTS[@]}; do
  10. wget -c "${PPA_URL}/+sourcefiles/obs-studio/${VERSION}-${SUFFIX}~${d}/obs-studio_${VERSION}-${SUFFIX}~${d}.debian.tar.xz"
  11. rm -rf obs-studio
  12. tar xf obs-studio_${VERSION}.orig.tar.gz
  13. tar xf obs-studio_${VERSION}-${SUFFIX}~${d}.debian.tar.xz -C obs-studio
  14. sed -i "s/Build-Depends:/Build-Depends: carla, carla-dev,/" obs-studio/debian/control
  15. mkdir -p obs-studio/debian/patches
  16. cp 1000_carla-plugin.patch obs-studio/debian/patches
  17. echo 1000_carla-plugin.patch >> obs-studio/debian/patches/series
  18. pushd obs-studio
  19. env DEBEMAIL="falktx@falktx.com" dch -v "${VERSION}-${SUFFIX}+carla${RVER}~${d}" -D "${d}" --force-distribution "Add carla plugin host module"
  20. debuild --no-lintian -S -sa -d
  21. popd
  22. done