diff options
author | Pavel Vinogradov | 2022-09-10 19:19:12 -0400 |
---|---|---|
committer | Pavel Vinogradov | 2022-09-10 19:19:58 -0400 |
commit | b6d115a0dbd05a28d8c830cb182e03921762bc14 (patch) | |
tree | e1b772aad628a3f3b274d47f03376229e127bd4a /audio-libs | |
parent | 4ac078f123cf98e9e7aeda7289d4c63f617f72f1 (diff) |
audio-libs/flac: added generic triggers on major and minor version change
Diffstat (limited to 'audio-libs')
-rw-r--r-- | audio-libs/flac/HISTORY | 1 | ||||
-rwxr-xr-x | audio-libs/flac/UP_TRIGGERS | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/audio-libs/flac/HISTORY b/audio-libs/flac/HISTORY index 5d7a286757..9c96258ae3 100644 --- a/audio-libs/flac/HISTORY +++ b/audio-libs/flac/HISTORY @@ -1,5 +1,6 @@ 2022-09-10 Pavel Vinogradov <public@sourcemage.org> * DETAILS: version 1.4.0 + * UP_TRIGGERS: added generic triggers on major and minor version change 2022-05-28 Florian Franzmann <bwlf@bandrate.org> * DETAILS: version 1.3.4 diff --git a/audio-libs/flac/UP_TRIGGERS b/audio-libs/flac/UP_TRIGGERS new file mode 100755 index 0000000000..9d6c1e66dd --- /dev/null +++ b/audio-libs/flac/UP_TRIGGERS @@ -0,0 +1,9 @@ +local OLD_SPELL_VERSION="" +spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)" +if [ "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}" ]; then + message "This is an incompatible update of $SPELL..." + message "Figuring out what spells need to be recast, this may take a while." + for each in $(show_up_depends $SPELL 1); do + up_trigger $each cast_self + done +fi |