diff options
author | Ismael Luceno | 2019-05-30 07:17:35 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-05-30 07:17:35 +0200 |
commit | c52c935f065bce3834c89862c19b179dd51955f7 (patch) | |
tree | c7c80cf15ed6211b47eee29b9a6eb10ca80cf783 /audio-libs | |
parent | 50053fa9a6a9879ebd11d7a8bb6a17c144bfd73f (diff) |
dssi: Fix applying of patches
Diffstat (limited to 'audio-libs')
-rw-r--r-- | audio-libs/dssi/HISTORY | 3 | ||||
-rwxr-xr-x | audio-libs/dssi/PRE_BUILD | 13 |
2 files changed, 11 insertions, 5 deletions
diff --git a/audio-libs/dssi/HISTORY b/audio-libs/dssi/HISTORY index 0db76625ba..541a2d8ee0 100644 --- a/audio-libs/dssi/HISTORY +++ b/audio-libs/dssi/HISTORY @@ -1,3 +1,6 @@ +2019-05-30 Ismael Luceno <ismael@sourcemage.org> + * PRE_BUILD: Fixed applying of patches + 2018-09-09 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 1.1.1 diff --git a/audio-libs/dssi/PRE_BUILD b/audio-libs/dssi/PRE_BUILD index 93c3276b56..070ade86e4 100755 --- a/audio-libs/dssi/PRE_BUILD +++ b/audio-libs/dssi/PRE_BUILD @@ -2,10 +2,13 @@ default_pre_build && cd $SOURCE_DIRECTORY && # Prevent configure & build of unselected components -if [[ $DSSI_HOST == n ]]; then - patch -p0 < $SCRIPT_DIRECTORY/configure-none.diff +case "$DSSI_HOST:$DSSI_PLUGINS" in +n:*) + patch -p0 < $SCRIPT_DIRECTORY/configure-none.diff && sedit 's/SUBDIRS =.*/SUBDIRS = tests/' Makefile.in -elif [[ $DSSI_PLUGINS == n ]]; then - patch -p0 < $SCRIPT_DIRECTORY/configure-host.diff + ;; +y:n) + patch -p0 < $SCRIPT_DIRECTORY/configure-host.diff && sedit 's/SUBDIRS =.*/SUBDIRS = jack-dssi-host tests/' Makefile.in -fi + ;; +esac |