From cc1207b8cf1c3e05cffeec2130e607a221474842 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 8 Feb 2020 16:34:48 +0000 Subject: [PATCH] Adjust generate-repo-page.sh for wineasio Signed-off-by: falkTX --- repo/generate-repo-page.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/repo/generate-repo-page.sh b/repo/generate-repo-page.sh index 05c5e08..18c1d13 100755 --- a/repo/generate-repo-page.sh +++ b/repo/generate-repo-page.sh @@ -12,7 +12,7 @@ if [ -z "${REPO_TARGET}" ]; then fi PACKAGES_ARCHS=("amd64" "arm64" "armhf" "i386") -PACKAGES_BLACKLIST=("carla-bridge-linux32" "carla-bridge-linux64" "distrho-src" "lv2vst" "jackd2" "jackd2-firewire" "libjack-jackd2-0" "libjack-jackd2-dev") +PACKAGES_BLACKLIST=("carla-bridge-linux32" "carla-bridge-linux64" "distrho-src" "lv2vst") PACKAGES_WHITELIST=("cadence" "catia" "claudia") PACKAGES_SEPARATE_DATA=("hybridreverb2") PACKAGES_BASE_URL="http://ppa.launchpad.net/kxstudio-debian/${REPO_TARGET}/ubuntu/" @@ -219,26 +219,39 @@ for PACKAGE in ${PACKAGES[@]}; do fi fi echo "Downloads:" + if echo "${PACKAGE_FILENAME}" | grep -q "carla-bridge-win64_"; then # amd64 echo "amd64  " # i386 PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/-win64_/-win32_/g" | sed "s/_amd64.deb/_i386.deb/g") echo "i386  (install both)" + elif echo "${PACKAGE_FILENAME}" | grep -q "carla-vst-wine_"; then # amd64 echo "amd64  " # i386 PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/_amd64.deb/_i386.deb/g") echo "i386  " + + elif echo "${PACKAGE_FILENAME}" | grep -q "wineasio_"; then + # amd64 + PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/wineasio_/wineasio-amd64_/g") + echo "amd64  " + # i386 + PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/wineasio_/wineasio-i386_/g" | sed "s/_amd64.deb/_i386.deb/g") + echo "i386  " + elif echo "${PACKAGE_FILENAME}" | grep -q "_all.deb"; then echo "all  " + else for ARCH in ${PACKAGES_ARCHS[@]}; do PACKAGE_FILENAME_ARCHED=$(echo "${PACKAGE_FILENAME}" | sed "s/_amd64.deb/_${ARCH}.deb/g") echo "${ARCH}  " done fi + if [ -n "${PACKAGE_DATA}" ]; then if has_separate_data_package ${PACKAGE}; then PACKAGE_FILENAME_DATA=$(echo "${PACKAGE_FILENAME}" | sed "s|/${PACKAGE}|/${PACKAGE_DATA}|g" | sed "s/_amd64.deb/_all.deb/g")