Skip to content

Commit

Permalink
added libsndfile as a dependency cuz apprently need it (especially to…
Browse files Browse the repository at this point in the history
… make github actions happy)
  • Loading branch information
swarnavaghosh04 committed Aug 11, 2023
1 parent f1ade3a commit c44373b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Download Dependencies
run: |
sudo apt update
sudo apt install cmake gnuradio xvfb
sudo apt install cmake gnuradio xvfb libsndfile1-dev
- name: Configure CMake
run: |
mkdir build && cd build
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ endif()

set(CPACK_PACKAGE_CONTACT "Swarnava Ghosh <[email protected]>")
set(CPACK_PACKAGE_VENDOR "University of Toronto Aerospace Team")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "gnuradio")
set(CPACK_RPM_PACKAGE_REQUIRES "gnuradio")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "gnuradio, libsndfile1-dev")
set(CPACK_RPM_PACKAGE_REQUIRES "gnuradio, libsndfile")
set(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${PROJECT_VERSION}")

include(CPack)
2 changes: 1 addition & 1 deletion cmake/PKGBUILD-Archlinux.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="@PROJECT_DESCRIPTION@"
arch=('any')
license=('GPL')
depends=(gnuradio)
depends=('gnuradio' 'libsndfile')
source=("$pkgname-$pkgver.tar.gz")
md5sums=('SKIP')
url="https://github.com/utat-ss/HERON-gr-utat"
Expand Down
4 changes: 3 additions & 1 deletion cmake/PKGBUILD-MSYS2.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ pkgrel=1
pkgdesc="@PROJECT_DESCRIPTION@"
arch=('any')
license=('GPL')
depends=("${MINGW_PACKAGE_PREFIX}-gnuradio")
depends=(
"${MINGW_PACKAGE_PREFIX}-gnuradio"
"${MINGW_PACKAGE_PREFIX}-libsndfile")
source=("$_realname-$pkgver.tar.gz")
md5sums=('SKIP')
url="https://github.com/utat-ss/HERON-gr-utat"
Expand Down

0 comments on commit c44373b

Please sign in to comment.