Fix prefix on pkgconfig releases (see #83)
This commit is contained in:
parent
ad069060d9
commit
b07c429d7b
2 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ set -ex
|
||||||
. .travis/environment.sh
|
. .travis/environment.sh
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
buildenv make install
|
buildenv make DESTDIR=${PWD}/${INSTALL_DIR} install
|
||||||
tar -zcvf "${INSTALL_DIR}.tar.gz" ${INSTALL_DIR}
|
tar -zcvf "${INSTALL_DIR}.tar.gz" ${INSTALL_DIR}
|
||||||
mv "${INSTALL_DIR}.tar.gz" ${TRAVIS_BUILD_DIR}
|
mv "${INSTALL_DIR}.tar.gz" ${TRAVIS_BUILD_DIR}
|
||||||
cd ..
|
cd ..
|
||||||
|
|
|
||||||
|
|
@ -7,23 +7,23 @@ mkdir -p build/${INSTALL_DIR} && cd build
|
||||||
|
|
||||||
if [[ ${CROSS_COMPILE} == "mingw32" ]]; then
|
if [[ ${CROSS_COMPILE} == "mingw32" ]]; then
|
||||||
|
|
||||||
buildenv i686-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/${INSTALL_DIR} -DSFIZZ_JACK=OFF ..
|
buildenv i686-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DSFIZZ_JACK=OFF ..
|
||||||
buildenv make -j
|
buildenv make -j
|
||||||
elif [[ ${CROSS_COMPILE} == "mingw64" ]]; then
|
elif [[ ${CROSS_COMPILE} == "mingw64" ]]; then
|
||||||
|
|
||||||
buildenv x86_64-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/${INSTALL_DIR} -DSFIZZ_JACK=OFF ..
|
buildenv x86_64-w64-mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DSFIZZ_JACK=OFF ..
|
||||||
buildenv make -j
|
buildenv make -j
|
||||||
elif [[ ${BUILD_TYPE} == "lv2" ]]; then
|
elif [[ ${BUILD_TYPE} == "lv2" ]]; then
|
||||||
|
|
||||||
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/${INSTALL_DIR} -DSFIZZ_JACK=OFF -DSFIZZ_TESTS=OFF -DSFIZZ_SHARED=OFF -DSFIZZ_STATIC_LIBSNDFILE=ON ..
|
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DSFIZZ_JACK=OFF -DSFIZZ_TESTS=OFF -DSFIZZ_SHARED=OFF -DSFIZZ_STATIC_LIBSNDFILE=ON ..
|
||||||
buildenv make -j
|
buildenv make -j
|
||||||
elif [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
elif [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
|
||||||
|
|
||||||
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/${INSTALL_DIR} -DSFIZZ_LV2=OFF -DSFIZZ_TESTS=OFF ..
|
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DSFIZZ_LV2=OFF -DSFIZZ_TESTS=OFF ..
|
||||||
buildenv make -j$(nproc)
|
buildenv make -j$(nproc)
|
||||||
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
|
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
|
||||||
|
|
||||||
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=${PWD}/${INSTALL_DIR} -DSFIZZ_TESTS=OFF ..
|
buildenv cmake -DCMAKE_BUILD_TYPE=Release -DSFIZZ_TESTS=OFF ..
|
||||||
buildenv make -j$(sysctl -n hw.ncpu)
|
buildenv make -j$(sysctl -n hw.ncpu)
|
||||||
|
|
||||||
# Xcode not currently supported, see https://gitlab.kitware.com/cmake/cmake/issues/18088
|
# Xcode not currently supported, see https://gitlab.kitware.com/cmake/cmake/issues/18088
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue