media-gfx/imagemagick: fix addpredict use

Newer Portage bans use of colons in addpredict calls.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-01-24 04:56:16 +00:00
parent 9557a1f926
commit d8b3a440d5
8 changed files with 141 additions and 141 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -103,22 +103,22 @@ src_prepare() {
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -103,22 +103,22 @@ src_prepare() {
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -103,22 +103,22 @@ src_prepare() {
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -106,25 +106,25 @@ src_prepare() {
#elibtoolize # for Darwin modules
eautoreconf
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -108,25 +108,25 @@ src_prepare() {
#elibtoolize # for Darwin modules
eautoreconf
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -108,25 +108,25 @@ src_prepare() {
#elibtoolize # for Darwin modules
eautoreconf
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -106,25 +106,25 @@ src_prepare() {
#elibtoolize # for Darwin modules
eautoreconf
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -106,25 +106,25 @@ src_prepare() {
#elibtoolize # for Darwin modules
eautoreconf
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
# For testsuite, see bug #500580#c3
local ati_cards mesa_cards nvidia_cards render_cards
shopt -s nullglob
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
if test -n "${ati_cards}"; then
addpredict "${ati_cards}"
fi
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
if test -n "${mesa_cards}"; then
addpredict "${mesa_cards}"
fi
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
if test -n "${nvidia_cards}"; then
addpredict "${nvidia_cards}"
fi
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
if test -n "${render_cards}"; then
addpredict "${render_cards}"
fi
ati_cards=$(echo -n /dev/ati/card*)
for card in "${ati_cards[@]}" ; do
addpredict "${card}"
done
mesa_cards=$(echo -n /dev/dri/card*)
for card in "${mesa_cards[@]}" ; do
addpredict "${card}"
done
nvidia_cards=$(echo -n /dev/nvidia*)
for card in "${nvidia_cards[@]}" ; do
addpredict "${card}"
done
render_cards=$(echo -n /dev/dri/renderD128*)
for card in "${render_cards[@]}" ; do
addpredict "${card}"
done
shopt -u nullglob
addpredict /dev/nvidiactl
}