Skip to content

Commit afcecbc

Browse files
author
Tim Schneeberger
authored
Add conflicts
1 parent 4713d87 commit afcecbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meta/build_deb_package.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
#!/bin/bash
22
# Binary needs to be in working directory
33

4+
conflict=""
45
deps=""
56
if [ $2 = "pipewire" ]; then
7+
conflict="jamesdsp-pulse"
68
deps="qtbase5-dev (>= 5.12.8), libqt5svg5 (>= 5.12.8), libglibmm-2.4-1v5, libglib2.0-0, libpipewire-0.3-0"
79
elif [ $2 = "pulse" ]; then
10+
conflict="jamesdsp-pipewire"
811
deps="qtbase5-dev (>= 5.12.8), libqt5svg5 (>= 5.12.8), libglibmm-2.4-1v5, libglib2.0-0, libpulse-mainloop-glib0, libgstreamer1.0-0, libgstreamer-plugins-base1.0-0"
912
else
1013
echo "ERROR: Unknown flavor"
@@ -44,6 +47,7 @@ Section: sound
4447
Priority: optional
4548
Architecture: amd64
4649
Depends: $deps
50+
Conflicts: $conflict
4751
Maintainer: Tim Schneeberger (thepbone) <[email protected]>
4852
Description: JamesDSP for Linux
4953
Homepage: https://github.com/Audio4Linux/JDSP4Linux

0 commit comments

Comments
 (0)