[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2023-05-31 Thread Andreas Sturmlechner
commit: c3792492612d68f63351050f9b1ecc5befc3d98d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 31 18:34:10 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 31 18:41:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3792492

media-libs/allegro: update EAPI 7 -> 8

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1-r1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1-r1.ebuild
index 73ee0de87f3c..af38b17a0cbe 100644
--- a/media-libs/allegro/allegro-4.4.3.1-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1-r1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake-multilib desktop
 
-DESCRIPTION="cross-platform multimedia library"
+DESCRIPTION="Cross-platform multimedia library"
 HOMEPAGE="https://liballeg.org/;
 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2023-05-31 Thread Andreas Sturmlechner
commit: 2b6a2f8558d022dae054a93c9106a9fa8e0bdd44
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May 31 18:40:47 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 31 18:41:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b6a2f85

media-libs/allegro: EAPI 8 bump, switch to media-libs/libpulse

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 ...{allegro-5.2.7.0-r1.ebuild => allegro-5.2.7.0-r2.ebuild} | 13 +++--
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0-r1.ebuild 
b/media-libs/allegro/allegro-5.2.7.0-r2.ebuild
similarity index 95%
rename from media-libs/allegro/allegro-5.2.7.0-r1.ebuild
rename to media-libs/allegro/allegro-5.2.7.0-r2.ebuild
index 7e3449baf649..31d30a6e5fcd 100644
--- a/media-libs/allegro/allegro-5.2.7.0-r1.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake-multilib
 
@@ -13,7 +13,6 @@ LICENSE="BSD ZLIB"
 SLOT="5"
 KEYWORDS="amd64 ~arm64 ~loong ppc ppc64 ~riscv x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
-RESTRICT="!test? ( test )"
 
 # TODO: For tests, we need some extra deps.
 # -- Could NOT find OPENSL (missing: OPENSL_INCLUDE_DIR OPENSL_LIBRARY)
@@ -24,8 +23,8 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="X? ( opengl )
xinerama? ( X )
|| ( alsa openal oss pulseaudio )"
+RESTRICT="!test? ( test )"
 
-BDEPEND="virtual/pkgconfig"
 RDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
@@ -40,7 +39,7 @@ RDEPEND="
opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+   pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
@@ -53,7 +52,9 @@ RDEPEND="
xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
 "
 DEPEND="${RDEPEND}
-   x11-base/xorg-proto"
+   x11-base/xorg-proto
+"
+BDEPEND="virtual/pkgconfig"
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2023-03-04 Thread Ionen Wolkens
commit: a7aee89eb2a57f6d0a658eb5bdb6c7704bdfefa3
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Mar  4 18:12:11 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Mar  4 18:13:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7aee89e

media-libs/allegro: drop multilib from svgalib

This is x86-only and doesn't have multilib. Suddenly got
picked up by pkgcheck despite being ignored for a long time?

Signed-off-by: Ionen Wolkens  gentoo.org>

 .../allegro/{allegro-4.4.3.1.ebuild => allegro-4.4.3.1-r1.ebuild}   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1-r1.ebuild
similarity index 95%
rename from media-libs/allegro/allegro-4.4.3.1.ebuild
rename to media-libs/allegro/allegro-4.4.3.1-r1.ebuild
index 962b6267f1c6..73ee0de87f3c 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,9 +17,9 @@ IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis 
X"
 RDEPEND="
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
jack? ( virtual/jack[${MULTILIB_USEDEP}] )
-   jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] )
+   jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
-   svga? ( media-libs/svgalib[${MULTILIB_USEDEP}] )
+   svga? ( media-libs/svgalib )
vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] )
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2022-12-05 Thread WANG Xuerui
commit: 183596712fbf3b0891b48b635f04b1e66c02988d
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Dec  5 06:07:35 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Dec  5 09:29:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18359671

media-libs/allegro: keyword 4.4.3.1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index 9c7964cb66a3..962b6267f1c6 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~loong ~mips ppc ppc64 ~riscv x86"
 IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-12-28 Thread Ionen Wolkens
commit: aa35cafb54126477098d8b128ee3b1db5a9dbcbe
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Dec 28 15:25:12 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Dec 28 17:00:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa35cafb

media-libs/allegro: drop 5.2.6.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-libs/allegro/Manifest   |  1 -
 media-libs/allegro/allegro-5.2.6.0.ebuild | 93 ---
 2 files changed, 94 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 3c46d84a068a..c66334ab9581 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,2 @@
 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
-DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 
3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d
 SHA512 
a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721
 DIST allegro-5.2.7.0.tar.gz 7911231 BLAKE2B 
9cc588a42d461ce06db94c1dd57642a2e9445c4930fcc164f2da57edfb463552a279a5e50f46740561a88c974c96605bb09fcc596e7bc6afb5e30b18ff7b74d5
 SHA512 
300bb951c661e7a220d913cca4116aba99afdcb5346af7c57b09bbdfa892d446cd64fde54397c57edb3c5f57d3380fbc2b6c4d9c9e17f48ff8180cfbf59e7d99

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
deleted file mode 100644
index 32f11a6aac4c..
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_ECLASS="cmake"
-inherit cmake-multilib
-
-DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
-
-LICENSE="BSD ZLIB"
-SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
-IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="X? ( opengl )
-   xinerama? ( X )
-   || ( alsa openal oss pulseaudio )"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="
-   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
-   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
-   opengl? (
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   )
-   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
-   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   )
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   x11-base/xorg-proto"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
-
-src_configure() {
-   # We forego freeimage for now because ebuild is not multilib
-   # No known consumers yet anyway
-   local mycmakeargs=(
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_DEMO=OFF
-   -DWANT_EXAMPLES=OFF
-   -DWANT_FLAC=$(usex flac)
-   -DWANT_IMAGE_FREEIMAGE=OFF
-   -DWANT_IMAGE_JPG=$(usex jpeg)
-   -DWANT_IMAGE_PNG=$(usex png)
-   -DWANT_IMAGE_WEBP=$(usex webp)
-   -DWANT_MODAUDIO=$(usex dumb)
-   -DWANT_NATIVE_DIALOG=$(usex gtk)
-   -DWANT_OGG_VIDEO=$(usex vorbis)
-   -DWANT_OPENAL=$(usex openal)
-   -DWANT_OPENGL=$(usex opengl)
-   -DWANT_OPUS=$(usex opus)
-   -DWANT_OSS=$(usex oss)
-   -DWANT_PHYSFS=$(usex physfs)
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-07-19 Thread Marek Szuba
commit: dfe80d1c2e3d7fcf1135509371faba497a2517d1
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul 19 20:26:15 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul 19 23:14:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe80d1c

media-libs/allegro: keyword 4.4.3.1 (SLOT=0) for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index d5f82c7961d..4c4d839a1c3 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 ~riscv x86"
 IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-07-19 Thread Marek Szuba
commit: 5468b6bed25cc5189c690ca97d47c7b66b5af7d1
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul 19 22:08:08 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul 19 23:14:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5468b6be

media-libs/allegro: keyword 5.2.7.0 (SLOT=5) for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 media-libs/allegro/allegro-5.2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
index c6241370e13..f577c06555d 100644
--- a/media-libs/allegro/allegro-5.2.7.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 ~riscv x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-04-20 Thread Sam James
commit: 5bf1fb6712f5cf1e5ab30b77f62d0e40624dafe7
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 20 11:59:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 20 11:59:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf1fb67

media-libs/allegro: Stabilize 5.2.7.0 ppc64, #775350

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
index 6cf5ae97d7a..c6241370e13 100644
--- a/media-libs/allegro/allegro-5.2.7.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-04-20 Thread Sam James
commit: 7c9bef85b178cd1f3c2f58cd6bdbea33f717e9e7
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 20 11:58:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 20 11:58:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9bef85

media-libs/allegro: Stabilize 5.2.7.0 ppc, #775350

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
index 19a7cac0a9e..6cf5ae97d7a 100644
--- a/media-libs/allegro/allegro-5.2.7.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-04-18 Thread Sam James
commit: fc1a78f0620175ca8bfdb07f6179e413dc2717df
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 21:22:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 21:26:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1a78f0

media-libs/allegro: Stabilize 5.2.7.0 x86, #775350

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
index 594aefcd767..19a7cac0a9e 100644
--- a/media-libs/allegro/allegro-5.2.7.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-04-18 Thread Sam James
commit: e67b863f0edd01dbe786516a7f061ae3d7086802
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 18 07:15:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 18 07:15:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e67b863f

media-libs/allegro: Stabilize 5.2.7.0 amd64, #775350

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
index df38a28b038..594aefcd767 100644
--- a/media-libs/allegro/allegro-5.2.7.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-03-07 Thread Sam James
commit: c528603abaea51f51a4057e410e9945dfee7cd41
Author: Sam James  gentoo  org>
AuthorDate: Mon Mar  8 05:30:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Mar  8 05:30:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c528603a

media-libs/allegro: add 5.2.7.0

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/Manifest   |  1 +
 media-libs/allegro/allegro-5.2.7.0.ebuild | 99 +++
 2 files changed, 100 insertions(+)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 0bebd4ad1f9..3c46d84a068 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,2 +1,3 @@
 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
 DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 
3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d
 SHA512 
a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721
+DIST allegro-5.2.7.0.tar.gz 7911231 BLAKE2B 
9cc588a42d461ce06db94c1dd57642a2e9445c4930fcc164f2da57edfb463552a279a5e50f46740561a88c974c96605bb09fcc596e7bc6afb5e30b18ff7b74d5
 SHA512 
300bb951c661e7a220d913cca4116aba99afdcb5346af7c57b09bbdfa892d446cd64fde54397c57edb3c5f57d3380fbc2b6c4d9c9e17f48ff8180cfbf59e7d99

diff --git a/media-libs/allegro/allegro-5.2.7.0.ebuild 
b/media-libs/allegro/allegro-5.2.7.0.ebuild
new file mode 100644
index 000..df38a28b038
--- /dev/null
+++ b/media-libs/allegro/allegro-5.2.7.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS="cmake"
+inherit cmake-multilib
+
+DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD ZLIB"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
+RESTRICT="!test? ( test )"
+
+# TODO: For tests, we need some extra deps.
+# -- Could NOT find OPENSL (missing: OPENSL_INCLUDE_DIR OPENSL_LIBRARY)
+# -- Could NOT find MiniMP3 (missing: MINIMP3_INCLUDE_DIRS)
+# TODO: Tweak REQUIRED_USE for tests?
+# WARNING: allegro_video wanted but no supported backend found
+
+REQUIRED_USE="X? ( opengl )
+   xinerama? ( X )
+   || ( alsa openal oss pulseaudio )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+   dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
+   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
+   gtk? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
+   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
+   opengl? (
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   )
+   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
+   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
+   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
+   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   )
+   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
+
+src_configure() {
+   # We forego freeimage for now because ebuild is not multilib
+   # No known consumers yet anyway
+   local mycmakeargs=(
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_DEMO=OFF
+   -DWANT_EXAMPLES=OFF
+   -DWANT_FLAC=$(usex flac)
+   -DWANT_IMAGE_FREEIMAGE=OFF
+   -DWANT_IMAGE_JPG=$(usex jpeg)
+   -DWANT_IMAGE_PNG=$(usex png)
+   -DWANT_IMAGE_WEBP=$(usex webp)
+   -DWANT_MODAUDIO=$(usex dumb)
+   -DWANT_NATIVE_DIALOG=$(usex gtk)
+   -DWANT_OGG_VIDEO=$(usex 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-02-14 Thread Sam James
commit: fcdd7ac25ebc7592555cfbe5ad24f5a9596ef67c
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 14 20:09:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 14 20:09:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdd7ac2

media-libs/allegro: set CMAKE_ECLASS

Closes: https://bugs.gentoo.org/770544
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.6.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
index f2bc18f1a0b..32f11a6aac4 100644
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+CMAKE_ECLASS="cmake"
 inherit cmake-multilib
 
 DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
@@ -19,6 +20,7 @@ REQUIRED_USE="X? ( opengl )
xinerama? ( X )
|| ( alsa openal oss pulseaudio )"
 
+BDEPEND="virtual/pkgconfig"
 RDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
@@ -47,7 +49,6 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2021-01-18 Thread Sam James
commit: 40f87905372a14d909acab170d22216664fc3914
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 19 00:07:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 19 00:07:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f87905

media-libs/allegro: cleanup old

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/Manifest|   1 -
 media-libs/allegro/allegro-4.4.2-r2.ebuild | 115 -
 .../files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch   |  20 
 .../allegro-4.4.2-Werror-format-security.patch | 107 ---
 .../allegro/files/allegro-4.4.2-glibc228.patch |  41 
 .../allegro/files/allegro-4.4.2-static-func.patch  |  13 ---
 6 files changed, 297 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 4158f3aee8f..0bebd4ad1f9 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,2 @@
-DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
 DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 
3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d
 SHA512 
a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
deleted file mode 100644
index 0387f700f4a..000
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_IN_SOURCE_BUILD=1
-inherit cmake-utils desktop
-
-DESCRIPTION="cross-platform multimedia library"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
-
-LICENSE="Allegro MIT GPL-2+ ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
-IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   alsa? ( media-libs/alsa-lib )
-   jack? ( media-sound/jack-audio-connection-kit )
-   jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   svga? ( media-libs/svgalib )
-   vorbis? ( media-libs/libvorbis )
-   X? (
-   x11-libs/libX11
-   x11-libs/libXcursor
-   x11-libs/libXext
-   x11-libs/libXpm
-   x11-libs/libXt
-   x11-libs/libXxf86dga
-   x11-libs/libXxf86vm
-   opengl? (
-   virtual/glu
-   virtual/opengl
-   )
-   )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   X? ( x11-base/xorg-proto )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-shared.patch
-   "${FILESDIR}"/${P}-underlink.patch
-   "${FILESDIR}"/${P}-gentoo.patch
-   "${FILESDIR}"/${P}-rpath.patch
-   "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
-   "${FILESDIR}"/${P}-glibc228.patch   # bug 670781
-   "${FILESDIR}"/${P}-GLX_RGBA_FLOAT_BIT.patch # bug 672858
-   "${FILESDIR}"/${P}-static-func.patch# bug 696034
-)
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -i \
-   -e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \
-   docs/CMakeLists.txt || die
-}
-
-src_configure() {
-   # WANT_LINUX_CONSOLE is by default OFF
-   # WANT_EXAMPLES doesn't install anything
-   local mycmakeargs=(
-   -DDOCDIR=share/doc
-   -DMANDIR=share/man
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_DOCS_INFO=OFF
-   -DWANT_EXAMPLES=OFF
-   -DWANT_JACK=$(usex jack)
-   -DWANT_JPGALLEG=$(usex jpeg)
-   -DWANT_LINUX_CONSOLE=OFF
-   -DWANT_LINUX_FBCON=$(usex fbcon)
-   -DWANT_LINUX_SVGALIB=$(usex svga)
-   -DWANT_LINUX_VGA=$(usex vga)
-   -DWANT_LOADPNG=$(usex png)
-   -DWANT_LOGG=$(usex vorbis)
-   -DWANT_OSS=$(usex oss)
-   -DWANT_TESTS=$(usex test)
-   -DWANT_TOOLS=$(usex X)
-   -DWANT_X11=$(usex X)
-   )
-
-   if use X; then
-   mycmakeargs+=( -DWANT_ALLEGROGL=$(usex 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2021-01-18 Thread Sam James
commit: af4498121f2423f60d9b96cb1617e609ec0ea074
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 19 00:05:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 19 00:07:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af449812

media-libs/allegro: add github remote-id

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/allegro/metadata.xml b/media-libs/allegro/metadata.xml
index 1a6f9338ec6..8c4daf206b0 100644
--- a/media-libs/allegro/metadata.xml
+++ b/media-libs/allegro/metadata.xml
@@ -20,6 +20,7 @@ and a GUI.
 Enables the VGA graphics driver
   
   
+liballeg/allegro5
 alleg
   
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-12-21 Thread Sam James
commit: 26300af6a6a0a65ddf1a34536fa0c8ad3c3c0f2d
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 05:06:41 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 05:06:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26300af6

media-libs/allegro: cleanup old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/Manifest   |  1 -
 media-libs/allegro/allegro-5.2.5.0.ebuild | 89 ---
 2 files changed, 90 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index b5fbade124a..4158f3aee8f 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,4 +1,3 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
-DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12
 DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 
3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d
 SHA512 
a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
deleted file mode 100644
index ad80a90f997..000
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-multilib
-
-DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
-
-LICENSE="BSD ZLIB"
-SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
-IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="X? ( opengl )
-   xinerama? ( X )
-   || ( alsa openal oss pulseaudio )"
-
-RDEPEND="
-   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
-   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
-   opengl? (
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   )
-   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
-   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   )
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   x11-base/xorg-proto"
-BDEPEND="virtual/pkgconfig"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
-
-src_configure() {
-   local mycmakeargs=(
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_DEMO=OFF
-   -DWANT_EXAMPLES=OFF
-   -DWANT_FLAC=$(usex flac)
-   -DWANT_IMAGE_JPG=$(usex jpeg)
-   -DWANT_IMAGE_PNG=$(usex png)
-   -DWANT_IMAGE_WEBP=$(usex webp)
-   -DWANT_MODAUDIO=$(usex dumb)
-   -DWANT_NATIVE_DIALOG=$(usex gtk)
-   -DWANT_OGG_VIDEO=$(usex vorbis)
-   -DWANT_OPENAL=$(usex openal)
-   -DWANT_OPENGL=$(usex 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-12-21 Thread Sam James
commit: 69ee2335e9c97f87cebc870279afa51b05c01857
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 05:03:55 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 05:03:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69ee2335

media-libs/allegro: Stabilize 5.2.6.0 ppc64, #760462

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
index 6afc8f27d73..f2bc18f1a0b 100644
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-12-21 Thread Sam James
commit: be310d1a6063eb38daa6a3668d46f0cee38f2898
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 22 01:26:19 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 22 01:26:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be310d1a

media-libs/allegro: Stabilize 5.2.6.0 ppc, #760462

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
index 1ba05c1efe7..6afc8f27d73 100644
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ~ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-12-20 Thread Thomas Deutschmann
commit: b2e5544b34afcd1cdebf0ea9f81d31392a887d05
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Dec 20 18:51:37 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Dec 20 19:06:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e5544b

media-libs/allegro: x86 stable (bug #760462)

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/allegro/allegro-5.2.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
index a2cd3390d9d..1ba05c1efe7 100644
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-12-20 Thread Sam James
commit: 36232ad1b75c506a0c05ad0f3526c4ba2283a0d8
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 20 18:01:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 20 18:01:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36232ad1

media-libs/allegro: Stabilize 5.2.6.0 amd64, #760462

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-5.2.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
index 0b19c66b087..a2cd3390d9d 100644
--- a/media-libs/allegro/allegro-5.2.6.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 ~x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-09-04 Thread Sam James
commit: 9771c5056470c94030e62585a51e974ccafec961
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  5 03:03:37 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  5 03:04:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9771c505

media-libs/allegro: ppc stable (bug #736457)

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index 48eec20c2c1..fd536ded654 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~mips ppc ~ppc64 x86"
 IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-09-04 Thread Sam James
commit: 015f8946241e7925cc28df214f3e9e728ef9c6ba
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 14:05:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 14:05:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015f8946

media-libs/allegro: Stabilize 4.4.3.1 amd64, #736457

Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index 142d346ec6c..48eec20c2c1 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~mips ~ppc ~ppc64 x86"
 IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-08-31 Thread Sam James
commit: bff539cfd8eca430f735255991df6771a9b3c2c1
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  1 02:39:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  1 02:39:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff539cf

media-libs/allegro: bump to 5.2.6.0

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 media-libs/allegro/Manifest   |  1 +
 media-libs/allegro/allegro-5.2.6.0.ebuild | 92 +++
 2 files changed, 93 insertions(+)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 83d3d6d72f7..b5fbade124a 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,4 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
 DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12
+DIST allegro-5.2.6.0.tar.gz 7867726 BLAKE2B 
3f21372442e5b8c802ac179019a11648febdcecddfda864559e1e9621f99c9ff7584fb422594c6fd3a1c352c892533c825faef10e35ecbf97058396fbb46fc7d
 SHA512 
a475de67b0e6c727295cc51e113859eb0c57825a240e70bc45cd3b000c40518932b89cecdd13ba957416136db4ee9a9363adb5d3bfa7c8acda04ee95de6ba721

diff --git a/media-libs/allegro/allegro-5.2.6.0.ebuild 
b/media-libs/allegro/allegro-5.2.6.0.ebuild
new file mode 100644
index 000..0b19c66b087
--- /dev/null
+++ b/media-libs/allegro/allegro-5.2.6.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD ZLIB"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="X? ( opengl )
+   xinerama? ( X )
+   || ( alsa openal oss pulseaudio )"
+
+RDEPEND="
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+   dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
+   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
+   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
+   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
+   opengl? (
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   )
+   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
+   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
+   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
+   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   )
+   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto"
+BDEPEND="virtual/pkgconfig"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
+
+src_configure() {
+   # We forego freeimage for now because ebuild is not multilib
+   # No known consumers yet anyway
+   local mycmakeargs=(
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_DEMO=OFF
+   -DWANT_EXAMPLES=OFF
+   -DWANT_FLAC=$(usex flac)
+   -DWANT_IMAGE_FREEIMAGE=OFF
+   -DWANT_IMAGE_JPG=$(usex jpeg)
+   -DWANT_IMAGE_PNG=$(usex png)
+   -DWANT_IMAGE_WEBP=$(usex webp)
+   -DWANT_MODAUDIO=$(usex dumb)
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-08-30 Thread Thomas Deutschmann
commit: dcad48168d348c119e7f119774c948af206717ba
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 30 17:08:38 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 30 17:08:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcad4816

media-libs/allegro: x86 stable (bug #736457)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index c0f62180c01..142d346ec6c 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 x86"
 IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-07-04 Thread Mart Raudsepp
commit: de8400afbcd78557899e80227599800ae847df11
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jul  2 22:19:09 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Jul  4 12:28:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de8400af

media-libs/allegro: arm64 keyworded (bug #730634)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 media-libs/allegro/allegro-5.2.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
index f461da80f02..ad80a90f997 100644
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-05-10 Thread James Le Cuirot
commit: 33ab01359e3436dc8e5021edff9a4b525e1548c8
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun May 10 16:43:11 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun May 10 16:52:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ab0135

media-libs/allegro: Add SLOT operator to media-libs/dumb dep

The soname is about to change.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-5.2.5.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
index be007eeb7fb..f461da80f02 100644
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ REQUIRED_USE="X? ( opengl )
 
 RDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
+   dumb? ( >=media-libs/dumb-0.9.3-r2:=[${MULTILIB_USEDEP}] )
flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2020-02-22 Thread James Le Cuirot
commit: ad291e6a1efcf12fefaedfb7fe798eaa5248c081
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Feb 22 23:23:10 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 22 23:31:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad291e6a

media-libs/allegro: Patch around 4.4.3.1 texinfo encoding issue

Thanks to Red Hat for the patch.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild |  1 +
 .../files/allegro-4.4.3.1-texinfo-encoding.patch  | 19 +++
 2 files changed, 20 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index a00cbb33c6a..1f5e195f802 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -44,6 +44,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.4.2-underlink.patch
"${FILESDIR}"/${PN}-4.4.2-gentoo.patch
"${FILESDIR}"/${PN}-4.4.2-rpath.patch
+   "${FILESDIR}"/${PN}-4.4.3.1-texinfo-encoding.patch
 )
 
 src_prepare() {

diff --git a/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch 
b/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch
new file mode 100644
index 000..1b6b52f7383
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.3.1-texinfo-encoding.patch
@@ -0,0 +1,19 @@
+From 7694155b74a4be1dedc9d13db6d9d2264d05f107 Mon Sep 17 00:00:00 2001
+From: Vitezslav Crhonek 
+Date: Mon, 4 Nov 2019 12:07:16 +0100
+Subject: [PATCH] Fix FTBFS
+
+@documentencoding needed when generating documentation from
+non UTF-8 encoding source with texinfo-6.7 (rhbz#1767827)
+
+diff -up allegro-4.4.3/docs/src/allegro._tx.orig 
allegro-4.4.3/docs/src/allegro._tx
+--- allegro-4.4.3/docs/src/allegro._tx.orig2019-02-02 20:28:46.0 
+0100
 allegro-4.4.3/docs/src/allegro._tx 2019-11-04 11:12:39.352699777 +0100
+@@ -23,6 +23,7 @@
+ @man_shortdesc_force1=allegro
+ @man_shortdesc_force2=Allegro game programming library.
+ @$\input texinfo
++@$@documentencoding ISO-8859-1
+ @$@setfilename allegro.inf
+ @$@settitle Allegro Manual
+ @$@setchapternewpage odd



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-02-22 Thread James Le Cuirot
commit: 39370cde43db72de060940cc88a56342cc4a6d46
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Feb 22 23:30:46 2020 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 22 23:31:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39370cde

media-libs/allegro: Fix automagic building of 4.4.3.1 texinfo docs

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-4.4.3.1.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
index 1f5e195f802..c0f62180c01 100644
--- a/media-libs/allegro/allegro-4.4.3.1.ebuild
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
-IUSE="alsa fbcon jack jpeg opengl oss png svga vga vorbis X"
+IUSE="alsa doc fbcon jack jpeg opengl oss png svga vga vorbis X"
 
 RDEPEND="
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
@@ -37,7 +37,10 @@ RDEPEND="
)"
 DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+   virtual/pkgconfig
+   doc? ( sys-apps/texinfo )
+"
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.4.2-shared.patch
@@ -64,6 +67,7 @@ src_configure() {
-DINFODIR=share/info
-DMANDIR=share/man
-DWANT_ALSA=$(usex alsa)
+   -DWANT_DOCS_INFO=$(usex doc)
-DWANT_EXAMPLES=OFF
-DWANT_JACK=$(usex jack)
-DWANT_JPGALLEG=$(usex jpeg)



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2020-02-22 Thread James Le Cuirot
commit: a1ef1d7cc128b1608c525ee55aaac9d172b73ff4
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sun Mar  3 17:26:25 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Feb 22 23:31:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ef1d7c

media-libs/allegro: update to 4.4.3.1

Updated to new maintainance release. Some patches applied by upstream.
Added multilib support for 4.2 slot. Migrated to EAPI=7 and cmake eclass.
Removed test USE-flag since it do nothing regarding unittests.

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11244
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/Manifest   |   1 +
 media-libs/allegro/allegro-4.4.3.1.ebuild | 110 ++
 2 files changed, 111 insertions(+)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index bbf2f83fa40..83d3d6d72f7 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,2 +1,3 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
+DIST allegro-4.4.3.1.tar.gz 4663634 BLAKE2B 
23fa8cd77858243bfa8191f6bca26f50d1621fa84616968595c1284c73a86160cdbad201eece5bd026bb7ac13753568b6915295646b86e536b5d26c0394e2d1f
 SHA512 
c5a552ab710226493447eb2547b3d7559badb96f511fbefd315b665b7486013a6710c83b69363eb09f90f53ef4278fe7b90cfee88d90d88f0fe8dc7df7606729
 DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12

diff --git a/media-libs/allegro/allegro-4.4.3.1.ebuild 
b/media-libs/allegro/allegro-4.4.3.1.ebuild
new file mode 100644
index 000..a00cbb33c6a
--- /dev/null
+++ b/media-libs/allegro/allegro-4.4.3.1.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib desktop
+
+DESCRIPTION="cross-platform multimedia library"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="Allegro MIT GPL-2+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="alsa fbcon jack jpeg opengl oss png svga vga vorbis X"
+
+RDEPEND="
+   alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+   jack? ( virtual/jack[${MULTILIB_USEDEP}] )
+   jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] )
+   png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
+   svga? ( media-libs/svgalib[${MULTILIB_USEDEP}] )
+   vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] )
+   X? (
+   x11-libs/libX11[${MULTILIB_USEDEP}]
+   x11-libs/libXcursor[${MULTILIB_USEDEP}]
+   x11-libs/libXext[${MULTILIB_USEDEP}]
+   x11-libs/libXpm[${MULTILIB_USEDEP}]
+   x11-libs/libXt[${MULTILIB_USEDEP}]
+   x11-libs/libXxf86dga[${MULTILIB_USEDEP}]
+   x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+   opengl? (
+   virtual/glu[${MULTILIB_USEDEP}]
+   virtual/opengl[${MULTILIB_USEDEP}]
+   )
+   )"
+DEPEND="${RDEPEND}
+   X? ( x11-base/xorg-proto )"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.4.2-shared.patch
+   "${FILESDIR}"/${PN}-4.4.2-underlink.patch
+   "${FILESDIR}"/${PN}-4.4.2-gentoo.patch
+   "${FILESDIR}"/${PN}-4.4.2-rpath.patch
+)
+
+src_prepare() {
+   cmake_src_prepare
+
+   sed -i \
+   -e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \
+   docs/CMakeLists.txt || die
+}
+
+src_configure() {
+   # WANT_LINUX_CONSOLE is by default OFF
+   # WANT_EXAMPLES doesn't install anything
+   # WANT_TEST doesn't do anything regarding unittests
+   local mycmakeargs=(
+   -DDOCDIR=share/doc
+   -DINFODIR=share/info
+   -DMANDIR=share/man
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_EXAMPLES=OFF
+   -DWANT_JACK=$(usex jack)
+   -DWANT_JPGALLEG=$(usex jpeg)
+   -DWANT_LINUX_CONSOLE=OFF
+   -DWANT_LINUX_FBCON=$(usex fbcon)
+   -DWANT_LINUX_SVGALIB=$(usex svga)
+   -DWANT_LINUX_VGA=$(usex vga)
+   -DWANT_LOADPNG=$(usex png)
+   -DWANT_LOGG=$(usex vorbis)
+   -DWANT_OSS=$(usex oss)
+   -DWANT_TESTS=OFF
+   -DWANT_TOOLS=$(usex X)
+  

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-11-30 Thread Andreas Sturmlechner
commit: d6a055df71e8a71c8a8f8398870cf4ddc30c4ffc
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Dec  1 02:51:34 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Dec  1 03:12:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a055df

media-libs/allegro: Drop 5.2.4.0

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/allegro/Manifest   |  1 -
 media-libs/allegro/allegro-5.2.4.0.ebuild | 86 ---
 2 files changed, 87 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index b3d30b2e26c..bbf2f83fa40 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,2 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
-DIST allegro-5.2.4.0.tar.gz 7822903 BLAKE2B 
50538e27276fbe1572a660b3f1396bdb9b542dc2aafaa819a4108e0e2771731cb6924cf1d0b7a7bfea1ff5c12b4772ff58dc571c81bb6a601d31a2083f5f9bea
 SHA512 
c5f80191005165331635464ffd345369943d37dcb55345176a7171614e12826b25d9d74ab65602d6682d404f1b46a5d94c0dd23d7873151e6e488d62c776
 DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12

diff --git a/media-libs/allegro/allegro-5.2.4.0.ebuild 
b/media-libs/allegro/allegro-5.2.4.0.ebuild
deleted file mode 100644
index ec269bd77e8..000
--- a/media-libs/allegro/allegro-5.2.4.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-multilib
-
-DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
-
-LICENSE="BSD ZLIB"
-SLOT="5"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
-
-REQUIRED_USE="X? ( opengl ) xinerama? ( X )"
-
-RDEPEND="
-   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
-   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
-   opengl? (
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   )
-   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
-   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
-   X? (
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   )
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-   x11-base/xorg-proto
-"
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
-
-src_configure() {
-   local mycmakeargs=(
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_DEMO=OFF
-   -DWANT_EXAMPLES=OFF
-   -DWANT_FLAC=$(usex flac)
-   -DWANT_IMAGE_JPG=$(usex jpeg)
-   -DWANT_IMAGE_PNG=$(usex png)
-   -DWANT_MODAUDIO=$(usex dumb)
-   -DWANT_NATIVE_DIALOG=$(usex gtk)
-   -DWANT_OPENAL=$(usex openal)
-   -DWANT_OPENGL=$(usex opengl)
-   -DWANT_OPUS=$(usex opus)
-   -DWANT_OSS=$(usex oss)
-   -DWANT_PHYSFS=$(usex physfs)
-   -DWANT_PULSEAUDIO=$(usex pulseaudio)
-   -DWANT_TESTS=$(usex test)
-   -DWANT_TTF=$(usex truetype)
-   -DWANT_OGG_VIDEO=$(usex vorbis)
-   -DWANT_VORBIS=$(usex vorbis)
-   -DWANT_IMAGE_WEBP=$(usex webp)
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-11-30 Thread Sergei Trofimovich
commit: bf05013d9efc294f178914a0530ef8f61e935cf0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Nov 30 21:35:12 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Nov 30 21:35:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf05013d

media-libs/allegro: stable 5.2.5.0 for ppc/ppc64, bug #700304

Tested-by: ernsteiswuerfel
Package-Manager: Portage-2.3.80, Repoman-2.3.19
RepoMan-Options: --include-arches="ppc ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 media-libs/allegro/allegro-5.2.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
index 663c889ebbc..3ef0c002476 100644
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 
 REQUIRED_USE="X? ( opengl )



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-11-23 Thread Agostino Sarubbo
commit: d5f39cd543f0d2d5d9fc2b6f4511a5d107304780
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Nov 23 15:26:47 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Nov 23 15:26:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f39cd5

media-libs/allegro: amd64 stable wrt bug #700304

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/allegro/allegro-5.2.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
index 355077dbfb2..3971a47910a 100644
--- a/media-libs/allegro/allegro-5.2.5.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 
 REQUIRED_USE="X? ( opengl )



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2019-10-03 Thread James Le Cuirot
commit: 361616ee4d919fd2c898f673cb50ea0ee2d8ba7c
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Oct  3 20:47:19 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Oct  3 20:48:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=361616ee

media-libs/allegro: Patch against undefined ref to get_value in 4.4.2

Closes: https://bugs.gentoo.org/696034
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-4.4.2-r2.ebuild   |  1 +
 media-libs/allegro/files/allegro-4.4.2-static-func.patch | 13 +
 2 files changed, 14 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
index e808173e2f3..08dd7f1068c 100644
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -47,6 +47,7 @@ PATCHES=(
"${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
"${FILESDIR}"/${P}-glibc228.patch   # bug 670781
"${FILESDIR}"/${P}-GLX_RGBA_FLOAT_BIT.patch # bug 672858
+   "${FILESDIR}"/${P}-static-func.patch# bug 696034
 )
 
 src_prepare() {

diff --git a/media-libs/allegro/files/allegro-4.4.2-static-func.patch 
b/media-libs/allegro/files/allegro-4.4.2-static-func.patch
new file mode 100644
index 000..ac107d387d5
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-static-func.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/p/alleg/bugs/398/
+
+--- a/addons/jpgalleg/src/decode.c 2008-02-13 14:04:57.0 +0100
 b/addons/jpgalleg/src/decode.c 2015-09-03 14:57:57.888485546 +0200
+@@ -477,7 +477,7 @@
+  *  Reads a string of bits from the input stream and returns a properly signed
+  *  number given the category.
+  */
+-INLINE int
++static INLINE int
+ get_value(int category)
+ {
+   int result = get_bits(category);



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2019-09-30 Thread James Le Cuirot
commit: cb16966c9885f4a3f8a9f257dc890853bd1e46de
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Sep 30 21:00:18 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Sep 30 21:33:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb16966c

media-libs/allegro: Patch around GLX_RGBA_FLOAT_BIT issue in 4.4.2

Thanks to Pablo Yanez Trujillo for the patch.

Closes: https://bugs.gentoo.org/672858
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-4.4.2-r2.ebuild   |  1 +
 .../files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch | 20 
 2 files changed, 21 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
index 5797f5829b3..dba29ec2a94 100644
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -46,6 +46,7 @@ PATCHES=(
"${FILESDIR}"/${P}-rpath.patch
"${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
"${FILESDIR}"/${P}-glibc228.patch   # bug 670781
+   "${FILESDIR}"/${P}-GLX_RGBA_FLOAT_BIT.patch # bug 672858
 )
 
 src_prepare() {

diff --git a/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch 
b/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch
new file mode 100644
index 000..54ff4f97fbb
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch
@@ -0,0 +1,20 @@
+--- a/addons/allegrogl/src/x.c 2019-01-27 20:35:26.209055856 +0100
 b/addons/allegrogl/src/x.c 2019-01-27 20:38:54.135570782 +0100
+@@ -650,7 +650,7 @@
+   return -1;
+   }
+ 
+-  if (!(render_type & GLX_RGBA_BIT) && !(render_type & 
GLX_RGBA_FLOAT_BIT)) {
++  if (!(render_type & GLX_RGBA_BIT) && !(render_type & 
GLX_RGBA_FLOAT_BIT_ARB)) {
+   TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n");
+   return -1;
+   }
+@@ -674,7 +674,7 @@
+   /* Floating-point depth is not supported as glx extension (yet). */
+   i->float_depth = 0;
+ 
+-  i->float_color = (render_type & GLX_RGBA_FLOAT_BIT);
++  i->float_color = (render_type & GLX_RGBA_FLOAT_BIT_ARB);
+ 
+   v = glXGetVisualFromFBConfig(_xwin.display, fbc);
+   if (!v) {



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-09-30 Thread James Le Cuirot
commit: 2cbc944548b2e15a3a39561968b4c9acbb8469b5
Author: James Le Cuirot  gentoo  org>
AuthorDate: Mon Sep 30 21:18:56 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Mon Sep 30 21:33:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cbc9445

media-libs/allegro: Don't build info docs due to texinfo 6.7 breakage

The texinfo dependency had not been specified so they were effectively
automagic anyway. I don't think anyone needs info docs for an older
version, especially when there are still man pages and HTML docs.

Closes: https://bugs.gentoo.org/695934
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 media-libs/allegro/allegro-4.4.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
index dba29ec2a94..e808173e2f3 100644
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -62,9 +62,9 @@ src_configure() {
# WANT_EXAMPLES doesn't install anything
local mycmakeargs=(
-DDOCDIR=share/doc
-   -DINFODIR=share/info
-DMANDIR=share/man
-DWANT_ALSA=$(usex alsa)
+   -DWANT_DOCS_INFO=OFF
-DWANT_EXAMPLES=OFF
-DWANT_JACK=$(usex jack)
-DWANT_JPGALLEG=$(usex jpeg)



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2019-06-12 Thread Andreas Sturmlechner
commit: 1b218b95d6ca03881780ee8604990d366fc3d46f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Jun 12 10:36:30 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jun 12 10:37:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b218b95

media-libs/allegro: Drop 5.0.11

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-libs/allegro/Manifest|  1 -
 media-libs/allegro/allegro-5.0.11.ebuild   | 77 --
 .../allegro/files/allegro-5.0.11-multilib.patch| 10 ---
 .../allegro/files/allegro-5.0.11-underlink.patch   | 11 
 4 files changed, 99 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 49ee3f2dd78..b3d30b2e26c 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,4 +1,3 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
-DIST allegro-5.0.11.tar.gz 3203777 BLAKE2B 
b8946e58cde38fdf52f42e041fb27ea92e9589f3425c8047afa4d66ca466cb294e6c8efdc03f0e6942f665e4624c10e533a64bc77bcfaf132662b2123b97de34
 SHA512 
bcf3bec236d5dee11c789394144959d2a2f6028ae3d89a91a726f796d74f785c7f28749ac1cda94becaf18c31c76fcf75b8f2f6d1f2c32c52d556f967a406052
 DIST allegro-5.2.4.0.tar.gz 7822903 BLAKE2B 
50538e27276fbe1572a660b3f1396bdb9b542dc2aafaa819a4108e0e2771731cb6924cf1d0b7a7bfea1ff5c12b4772ff58dc571c81bb6a601d31a2083f5f9bea
 SHA512 
c5f80191005165331635464ffd345369943d37dcb55345176a7171614e12826b25d9d74ab65602d6682d404f1b46a5d94c0dd23d7873151e6e488d62c776
 DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
deleted file mode 100644
index e5d44d7afb7..000
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-multilib
-
-DESCRIPTION="A game programming library"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
-
-LICENSE="BSD ZLIB"
-SLOT="5"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="alsa dumb flac gtk jpeg openal oss physfs png pulseaudio test truetype 
vorbis X xinerama"
-
-RDEPEND="
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
-   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
-   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.5.18:0[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}
-   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-   x11-base/xorg-proto
-"
-
-PATCHES=( "${FILESDIR}"/${P}-{underlink,multilib}.patch )
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
-
-src_configure() {
-   local mycmakeargs=(
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_DEMO=OFF
-   -DWANT_EXAMPLES=OFF
-   -DWANT_FLAC=$(usex flac)
-   -DWANT_IMAGE_JPG=$(usex jpeg)
-   -DWANT_IMAGE_PNG=$(usex png)
-   -DWANT_MODAUDIO=$(usex dumb)
-   -DWANT_OPENAL=$(usex openal)
-   -DWANT_OSS=$(usex oss)
-   -DWANT_PHYSFS=$(usex physfs)
-   -DWANT_PULSEAUDIO=$(usex pulseaudio)
-   -DWANT_TESTS=$(usex test)
-   -DWANT_TTF=$(usex truetype)
-   -DWANT_VORBIS=$(usex vorbis)
-   -DWANT_NATIVE_DIALOG=$(usex gtk)
-   -DWANT_OPENGL=$(usex X)
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-05-24 Thread Stefan Strogin
commit: 81cf1a0cfd9db6aee35b2a6a3d2e973d1d87dda2
Author: Stefan Strogin  gentoo  org>
AuthorDate: Fri May 24 07:46:40 2019 +
Commit: Stefan Strogin  gentoo  org>
CommitDate: Fri May 24 10:08:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81cf1a0c

media-libs/allegro: bump version to 5.2.5.0

Closes: https://bugs.gentoo.org/666996
Closes: https://bugs.gentoo.org/672634
Closes: https://bugs.gentoo.org/678002
Closes: https://bugs.gentoo.org/684808
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stefan Strogin  gentoo.org>

 media-libs/allegro/Manifest   |  1 +
 media-libs/allegro/allegro-5.2.5.0.ebuild | 88 +++
 2 files changed, 89 insertions(+)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 3e5eeca2cc6..49ee3f2dd78 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,4 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 DIST allegro-5.0.11.tar.gz 3203777 BLAKE2B 
b8946e58cde38fdf52f42e041fb27ea92e9589f3425c8047afa4d66ca466cb294e6c8efdc03f0e6942f665e4624c10e533a64bc77bcfaf132662b2123b97de34
 SHA512 
bcf3bec236d5dee11c789394144959d2a2f6028ae3d89a91a726f796d74f785c7f28749ac1cda94becaf18c31c76fcf75b8f2f6d1f2c32c52d556f967a406052
 DIST allegro-5.2.4.0.tar.gz 7822903 BLAKE2B 
50538e27276fbe1572a660b3f1396bdb9b542dc2aafaa819a4108e0e2771731cb6924cf1d0b7a7bfea1ff5c12b4772ff58dc571c81bb6a601d31a2083f5f9bea
 SHA512 
c5f80191005165331635464ffd345369943d37dcb55345176a7171614e12826b25d9d74ab65602d6682d404f1b46a5d94c0dd23d7873151e6e488d62c776
+DIST allegro-5.2.5.0.tar.gz 7849326 BLAKE2B 
8d8995b9ad252b81c534099ffd91d81bbdcf4a34f7ca7c4fb7dd97e5c075869c212fa68445a5fe479a675d755ad0414976c11cbc112ecdd61f1fa09704957b21
 SHA512 
c6341396ad7340233c1297ed122095e5c2d129a32da2350b4bb39c4b74f8d56d57ec4e608defec471d63fff51d786f0a9f3844be82f81cdb3d48d5bc49908b12

diff --git a/media-libs/allegro/allegro-5.2.5.0.ebuild 
b/media-libs/allegro/allegro-5.2.5.0.ebuild
new file mode 100644
index 000..355077dbfb2
--- /dev/null
+++ b/media-libs/allegro/allegro-5.2.5.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib
+
+DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD ZLIB"
+SLOT="5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
+
+REQUIRED_USE="X? ( opengl )
+   xinerama? ( X )
+   || ( alsa openal oss pulseaudio )"
+
+RDEPEND="
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
+   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
+   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
+   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
+   opengl? (
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   )
+   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
+   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
+   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
+   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   )
+   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   x11-base/xorg-proto"
+BDEPEND="virtual/pkgconfig"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
+
+src_configure() {
+   local mycmakeargs=(
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_DEMO=OFF
+   -DWANT_EXAMPLES=OFF
+   -DWANT_FLAC=$(usex flac)
+   -DWANT_IMAGE_JPG=$(usex jpeg)
+   -DWANT_IMAGE_PNG=$(usex png)
+   -DWANT_IMAGE_WEBP=$(usex webp)
+   -DWANT_MODAUDIO=$(usex dumb)
+   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2019-01-25 Thread Andreas K. Hüttel
commit: f1da9f2209af9f8b1f09f139a1f1491a5baba851
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Jan 26 01:41:54 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jan 26 01:41:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1da9f22

media-libs/allegro: Stable -r2 for bug 670781

Closes: https://bugs.gentoo.org/670781
Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 media-libs/allegro/allegro-4.4.2-r1.ebuild | 111 -
 media-libs/allegro/allegro-4.4.2-r2.ebuild |   2 +-
 2 files changed, 1 insertion(+), 112 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild 
b/media-libs/allegro/allegro-4.4.2-r1.ebuild
deleted file mode 100644
index 06ed3de8d26..000
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_IN_SOURCE_BUILD=1
-inherit cmake-utils desktop
-
-DESCRIPTION="cross-platform multimedia library"
-HOMEPAGE="https://liballeg.org/;
-SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
-
-LICENSE="Allegro MIT GPL-2+ ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
-IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
-
-RDEPEND="
-   alsa? ( media-libs/alsa-lib )
-   jack? ( media-sound/jack-audio-connection-kit )
-   jpeg? ( virtual/jpeg:0 )
-   png? ( media-libs/libpng:0= )
-   svga? ( media-libs/svgalib )
-   vorbis? ( media-libs/libvorbis )
-   X? (
-   x11-libs/libX11
-   x11-libs/libXcursor
-   x11-libs/libXext
-   x11-libs/libXpm
-   x11-libs/libXt
-   x11-libs/libXxf86dga
-   x11-libs/libXxf86vm
-   opengl? (
-   virtual/glu
-   virtual/opengl
-   )
-   )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   X? ( x11-base/xorg-proto )"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-shared.patch
-   "${FILESDIR}"/${P}-underlink.patch
-   "${FILESDIR}"/${P}-gentoo.patch
-   "${FILESDIR}"/${P}-rpath.patch
-   "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
-)
-
-src_prepare() {
-   cmake-utils_src_prepare
-
-   sed -i \
-   -e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \
-   docs/CMakeLists.txt || die
-}
-
-src_configure() {
-   # WANT_LINUX_CONSOLE is by default OFF
-   # WANT_EXAMPLES doesn't install anything
-   local mycmakeargs=(
-   -DDOCDIR=share/doc
-   -DINFODIR=share/info
-   -DMANDIR=share/man
-   -DWANT_ALSA=$(usex alsa)
-   -DWANT_EXAMPLES=OFF
-   -DWANT_JACK=$(usex jack)
-   -DWANT_JPGALLEG=$(usex jpeg)
-   -DWANT_LINUX_CONSOLE=OFF
-   -DWANT_LINUX_FBCON=$(usex fbcon)
-   -DWANT_LINUX_SVGALIB=$(usex svga)
-   -DWANT_LINUX_VGA=$(usex vga)
-   -DWANT_LOADPNG=$(usex png)
-   -DWANT_LOGG=$(usex vorbis)
-   -DWANT_OSS=$(usex oss)
-   -DWANT_TESTS=$(usex test)
-   -DWANT_TOOLS=$(usex X)
-   -DWANT_X11=$(usex X)
-   )
-
-   if use X; then
-   mycmakeargs+=( -DWANT_ALLEGROGL=$(usex opengl) )
-   else
-   mycmakeargs+=( -DWANT_ALLEGROGL=OFF )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   rm -r docs/html/{build,tmpfile.txt} || die
-   local HTML_DOCS=( docs/html/. )
-
-   cmake-utils_src_install
-
-   #176020 (init_dialog.3), #409305 (key.3)
-   pushd docs/man >/dev/null
-   local manpage
-   for manpage in $(ls -d *.3); do
-   newman ${manpage} ${PN}-${manpage}
-   done
-   popd >/dev/null
-
-   if use X; then
-   newbin setup/setup ${PN}-setup
-   insinto /usr/share/${PN}
-   doins {keyboard,language,setup/setup}.dat
-   newicon misc/icon.png ${PN}.png
-   make_desktop_entry ${PN}-setup "Allegro Setup" ${PN} "Settings"
-   fi
-}

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
index 19cd6bed639..5797f5829b3 100644
--- a/media-libs/allegro/allegro-4.4.2-r2.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
 IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2019-01-05 Thread Andreas K. Hüttel
commit: 3be906b6d1bf00080db368eff9cef997604e4862
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Jan  5 21:26:18 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jan  5 21:26:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be906b6

media-libs/allegro: Backport glibc-2.28 compatibility fix

Bug: https://bugs.gentoo.org/670781
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 media-libs/allegro/allegro-4.4.2-r2.ebuild | 112 +
 .../allegro/files/allegro-4.4.2-glibc228.patch |  41 
 2 files changed, 153 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild 
b/media-libs/allegro/allegro-4.4.2-r2.ebuild
new file mode 100644
index 000..19cd6bed639
--- /dev/null
+++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils desktop
+
+DESCRIPTION="cross-platform multimedia library"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
+
+LICENSE="Allegro MIT GPL-2+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~x86"
+IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
+
+RDEPEND="
+   alsa? ( media-libs/alsa-lib )
+   jack? ( media-sound/jack-audio-connection-kit )
+   jpeg? ( virtual/jpeg:0 )
+   png? ( media-libs/libpng:0= )
+   svga? ( media-libs/svgalib )
+   vorbis? ( media-libs/libvorbis )
+   X? (
+   x11-libs/libX11
+   x11-libs/libXcursor
+   x11-libs/libXext
+   x11-libs/libXpm
+   x11-libs/libXt
+   x11-libs/libXxf86dga
+   x11-libs/libXxf86vm
+   opengl? (
+   virtual/glu
+   virtual/opengl
+   )
+   )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   X? ( x11-base/xorg-proto )"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-shared.patch
+   "${FILESDIR}"/${P}-underlink.patch
+   "${FILESDIR}"/${P}-gentoo.patch
+   "${FILESDIR}"/${P}-rpath.patch
+   "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
+   "${FILESDIR}"/${P}-glibc228.patch   # bug 670781
+)
+
+src_prepare() {
+   cmake-utils_src_prepare
+
+   sed -i \
+   -e "s:allegro-\${ALLEGRO_VERSION}:${PF}:" \
+   docs/CMakeLists.txt || die
+}
+
+src_configure() {
+   # WANT_LINUX_CONSOLE is by default OFF
+   # WANT_EXAMPLES doesn't install anything
+   local mycmakeargs=(
+   -DDOCDIR=share/doc
+   -DINFODIR=share/info
+   -DMANDIR=share/man
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_EXAMPLES=OFF
+   -DWANT_JACK=$(usex jack)
+   -DWANT_JPGALLEG=$(usex jpeg)
+   -DWANT_LINUX_CONSOLE=OFF
+   -DWANT_LINUX_FBCON=$(usex fbcon)
+   -DWANT_LINUX_SVGALIB=$(usex svga)
+   -DWANT_LINUX_VGA=$(usex vga)
+   -DWANT_LOADPNG=$(usex png)
+   -DWANT_LOGG=$(usex vorbis)
+   -DWANT_OSS=$(usex oss)
+   -DWANT_TESTS=$(usex test)
+   -DWANT_TOOLS=$(usex X)
+   -DWANT_X11=$(usex X)
+   )
+
+   if use X; then
+   mycmakeargs+=( -DWANT_ALLEGROGL=$(usex opengl) )
+   else
+   mycmakeargs+=( -DWANT_ALLEGROGL=OFF )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   rm -r docs/html/{build,tmpfile.txt} || die
+   local HTML_DOCS=( docs/html/. )
+
+   cmake-utils_src_install
+
+   #176020 (init_dialog.3), #409305 (key.3)
+   pushd docs/man >/dev/null
+   local manpage
+   for manpage in $(ls -d *.3); do
+   newman ${manpage} ${PN}-${manpage}
+   done
+   popd >/dev/null
+
+   if use X; then
+   newbin setup/setup ${PN}-setup
+   insinto /usr/share/${PN}
+   doins {keyboard,language,setup/setup}.dat
+   newicon misc/icon.png ${PN}.png
+   make_desktop_entry ${PN}-setup "Allegro Setup" ${PN} "Settings"
+   fi
+}

diff --git a/media-libs/allegro/files/allegro-4.4.2-glibc228.patch 
b/media-libs/allegro/files/allegro-4.4.2-glibc228.patch
new file mode 100644
index 000..afcdf5100c5
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-glibc228.patch
@@ -0,0 +1,41 @@
+From 4848f1583c3dbe41f5f056869ff2c796d33d8121 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20R=C3=B6nnquist?= 
+Date: Wed, 12 Dec 2018 16:39:23 +0100
+Subject: [PATCH] Remove f* variants of fixed math functions
+
+Removing functions that conflicts with later glibc implementations,
+people should use fix* variants instead.
+(Simply use fixadd instead of fadd).
+---
+ 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-10-06 Thread Mikle Kolyada
commit: 91b01ac96bf2dd1153d8706a5ce5a557dc52764f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct  6 18:16:44 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct  6 18:17:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b01ac9

media-libs/allegro: amd64 stable wrt bug #664788

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 media-libs/allegro/allegro-5.2.4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-5.2.4.0.ebuild 
b/media-libs/allegro/allegro-5.2.4.0.ebuild
index 93adbedcd03..ec269bd77e8 100644
--- a/media-libs/allegro/allegro-5.2.4.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ppc ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 
 REQUIRED_USE="X? ( opengl ) xinerama? ( X )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-09-15 Thread Sergei Trofimovich
commit: 4acc4934a3d75ec73b83e47add6ba63350598783
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 15 18:25:46 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 15 18:25:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4acc4934

media-libs/allegro: stable 5.2.4.0 for ppc64, bug #664788

Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc64"

 media-libs/allegro/allegro-5.2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.4.0.ebuild 
b/media-libs/allegro/allegro-5.2.4.0.ebuild
index 0640f7b8050..91e57245e2d 100644
--- a/media-libs/allegro/allegro-5.2.4.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.4.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ppc ppc64 ~x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 
 REQUIRED_USE="X? ( opengl ) xinerama? ( X )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-09-15 Thread Sergei Trofimovich
commit: e397071ae67958094a1dcf095a095bfe0aee54b4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Sep 15 18:22:49 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Sep 15 18:22:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e397071a

media-libs/allegro: stable 5.2.4.0 for ppc, bug #664788

Package-Manager: Portage-2.3.49, Repoman-2.3.10
RepoMan-Options: --include-arches="ppc"

 media-libs/allegro/allegro-5.2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.2.4.0.ebuild 
b/media-libs/allegro/allegro-5.2.4.0.ebuild
index 487d398bbad..0640f7b8050 100644
--- a/media-libs/allegro/allegro-5.2.4.0.ebuild
+++ b/media-libs/allegro/allegro-5.2.4.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.g
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ppc ~ppc64 ~x86"
 IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
 
 REQUIRED_USE="X? ( opengl ) xinerama? ( X )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-08-21 Thread Andreas Sturmlechner
commit: 44a7c7b80de2b873ea5751554d85f4c74f04f086
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug 21 17:10:58 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug 21 17:11:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a7c7b8

media-libs/allegro: Fix USE=X build switch

Minimum change for stable 5.0.11. The big dependency fix is already
provided by 5.2.4.0.

Closes: https://bugs.gentoo.org/661414
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 media-libs/allegro/allegro-5.0.11.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
index 858be8f9f10..e5d44d7afb7 100644
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -61,6 +61,7 @@ src_configure() {
-DWANT_VORBIS=$(usex vorbis)
-DWANT_NATIVE_DIALOG=$(usex gtk)
-DWANT_OPENGL=$(usex X)
+   -DWANT_X11=$(usex X)
-DWANT_X11_XINERAMA=$(usex xinerama)
)
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/files/, media-libs/allegro/

2018-08-21 Thread Andreas Sturmlechner
commit: 56bbd26eb8317298c6dd431d3ac9f6e1cff458ce
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Thu May 24 22:41:10 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug 21 14:57:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56bbd26e

media-libs/allegro: fix format-security error

Combined patch taken from Fedora Project
(https://src.fedoraproject.org/rpms/allegro/tree/master)
Fixes #540470

Closes: https://bugs.gentoo.org/540470
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-libs/allegro/allegro-4.4.2-r1.ebuild |   1 +
 .../allegro-4.4.2-Werror-format-security.patch | 107 +
 2 files changed, 108 insertions(+)

diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild 
b/media-libs/allegro/allegro-4.4.2-r1.ebuild
index fff77ed7e25..06ed3de8d26 100644
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -44,6 +44,7 @@ PATCHES=(
"${FILESDIR}"/${P}-underlink.patch
"${FILESDIR}"/${P}-gentoo.patch
"${FILESDIR}"/${P}-rpath.patch
+   "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470
 )
 
 src_prepare() {

diff --git 
a/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch 
b/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch
new file mode 100644
index 000..b3b0bc30b34
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-Werror-format-security.patch
@@ -0,0 +1,107 @@
+diff -up allegro-4.4.2/src/unix/umodules.c~ allegro-4.4.2/src/unix/umodules.c
+--- allegro-4.4.2/src/unix/umodules.c~ 2011-05-13 10:11:33.0 +0200
 allegro-4.4.2/src/unix/umodules.c  2017-03-15 14:42:39.822612368 +0100
+@@ -126,11 +126,11 @@ void _unix_load_modules(int system_drive
+continue;
+ 
+   if (!fullpath_slash) {
+- snprintf(fullpath, sizeof fullpath, filename);
++ snprintf(fullpath, sizeof fullpath, "%s", filename);
+fullpath[(sizeof fullpath) - 1] = 0;
+   }
+   else {
+-   snprintf(fullpath_slash+1, (sizeof fullpath) - (fullpath_slash - 
fullpath) - 1, filename);
++   snprintf(fullpath_slash+1, (sizeof fullpath) - (fullpath_slash - 
fullpath) - 1, "%s", filename);
+fullpath[(sizeof fullpath) - 1] = 0;
+   }
+   
+diff -up allegro-4.4.2/src/linux/ljoy.c~ allegro-4.4.2/src/linux/ljoy.c
+--- allegro-4.4.2/src/linux/ljoy.c~2010-02-20 06:18:16.0 +0100
 allegro-4.4.2/src/linux/ljoy.c 2017-03-15 14:52:28.474215615 +0100
+@@ -93,7 +93,7 @@ static int joy_init(void)
+ 
+   if (ioctl(joy_fd[i], JSIOCGVERSION, _version) < 0) {
+  /* NOTE: IOCTL fails if the joystick API is version 0.x */
+- uszprintf(allegro_error, ALLEGRO_ERROR_SIZE, get_config_text("Your 
Linux joystick API is version 0.x which is unsupported."));
++ uszprintf(allegro_error, ALLEGRO_ERROR_SIZE, "%s", 
get_config_text("Your Linux joystick API is version 0.x which is 
unsupported."));
+  return -1; 
+   }
+   
+diff -up allegro-4.4.2/examples/extrans2.c~ allegro-4.4.2/examples/extrans2.c
+--- allegro-4.4.2/examples/extrans2.c~ 2008-01-30 11:56:50.0 +0100
 allegro-4.4.2/examples/extrans2.c  2017-03-15 15:43:03.494831521 +0100
+@@ -211,7 +211,7 @@ int main(int argc, char **argv)
+   } else {
+  msg = "no flipping";
+   }
+-  textprintf_ex(buffer, font, 1, 1, makecol(255, 255, 255), -1, msg);
++  textprintf_ex(buffer, font, 1, 1, makecol(255, 255, 255), -1, "%s", 
msg);
+ 
+   /* finally blit the back buffer on the screen */
+   blit(buffer, screen, 0, 0, 0, 0, buffer->w, buffer->h);
+diff -up allegro-4.4.2/setup/setup.c~ allegro-4.4.2/setup/setup.c
+--- allegro-4.4.2/setup/setup.c~   2010-05-23 18:05:33.0 +0200
 allegro-4.4.2/setup/setup.c2017-03-15 16:13:42.243136380 +0100
+@@ -1163,7 +1163,7 @@ static void plot_joystick_state(BITMAP *
+textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, 
uconvert_ascii("%s (%d/%d)", tmp),
+ joystick_driver->name, i+1, num_joysticks);
+   else
+-   textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, 
joystick_driver->name);
++   textprintf_ex(bmp, font, SCREEN_W/2-96, SCREEN_H/2-60+c*20, -1, -1, 
"%s", joystick_driver->name);
+   c++;
+}
+ 
+@@ -2879,7 +2879,7 @@ int main(void)
+   alert(uconvert_ascii("Error loading " SETUP_DATA_FILE, tmp1), NULL, 
NULL, uconvert_ascii("OK", tmp2), NULL, 13, 0);
+ #else
+   set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
+-  allegro_message(uconvert_ascii("Error loading " SETUP_DATA_FILE "\n", 
tmp1));
++  allegro_message("%s", uconvert_ascii("Error loading " SETUP_DATA_FILE 
"\n", tmp1));
+ #endif
+   return 1;
+}
+diff -up allegro-4.4.2/examples/exkeys.c~ allegro-4.4.2/examples/exkeys.c
+--- allegro-4.4.2/examples/exkeys.c~   2008-01-10 20:46:00.0 +0100
 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-08-21 Thread Andreas Sturmlechner
commit: 80135ab2330d78e98e4db13978693bb8f494f3d1
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug 21 14:40:36 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug 21 14:57:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80135ab2

media-libs/allegro: 5.2.4.0 version bump, add USE opengl,opus,webp

Improve description.
Properly make opengl and X dependencies optional.
Add necessary REQUIRED_USE.

Thanks-to: Azamat H. Hackimov  gmail.com>
Closes: https://bugs.gentoo.org/623798

 media-libs/allegro/Manifest   |  1 +
 media-libs/allegro/allegro-5.2.4.0.ebuild | 86 +++
 media-libs/allegro/metadata.xml   |  1 +
 3 files changed, 88 insertions(+)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index 622b8f8d4b1..3e5eeca2cc6 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,2 +1,3 @@
 DIST allegro-4.4.2.tar.gz 4674902 BLAKE2B 
9f43fad416348425692481524f6c15808ee03946d93df4a072a46557817ccd5f6ae7eede908ca4a02a0a9e49f9a7c42909c48c14923b2155d3999ff370401006
 SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 DIST allegro-5.0.11.tar.gz 3203777 BLAKE2B 
b8946e58cde38fdf52f42e041fb27ea92e9589f3425c8047afa4d66ca466cb294e6c8efdc03f0e6942f665e4624c10e533a64bc77bcfaf132662b2123b97de34
 SHA512 
bcf3bec236d5dee11c789394144959d2a2f6028ae3d89a91a726f796d74f785c7f28749ac1cda94becaf18c31c76fcf75b8f2f6d1f2c32c52d556f967a406052
+DIST allegro-5.2.4.0.tar.gz 7822903 BLAKE2B 
50538e27276fbe1572a660b3f1396bdb9b542dc2aafaa819a4108e0e2771731cb6924cf1d0b7a7bfea1ff5c12b4772ff58dc571c81bb6a601d31a2083f5f9bea
 SHA512 
c5f80191005165331635464ffd345369943d37dcb55345176a7171614e12826b25d9d74ab65602d6682d404f1b46a5d94c0dd23d7873151e6e488d62c776

diff --git a/media-libs/allegro/allegro-5.2.4.0.ebuild 
b/media-libs/allegro/allegro-5.2.4.0.ebuild
new file mode 100644
index 000..487d398bbad
--- /dev/null
+++ b/media-libs/allegro/allegro-5.2.4.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-multilib
+
+DESCRIPTION="Cross-platform library aimed at video game and multimedia 
programming"
+HOMEPAGE="https://liballeg.org/;
+SRC_URI="https://github.com/liballeg/allegro5/releases/download/${PV}/${P}.tar.gz;
+
+LICENSE="BSD ZLIB"
+SLOT="5"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="alsa dumb flac gtk jpeg openal opengl opus oss physfs png pulseaudio 
test truetype vorbis webp X xinerama"
+
+REQUIRED_USE="X? ( opengl ) xinerama? ( X )"
+
+RDEPEND="
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
+   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
+   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
+   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
+   opengl? (
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   )
+   opus? ( media-libs/opus[${MULTILIB_USEDEP}] )
+   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
+   png? ( >=media-libs/libpng-1.5.18:0=[${MULTILIB_USEDEP}] )
+   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
+   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
+   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
+   webp? ( media-libs/libwebp:0=[${MULTILIB_USEDEP}] )
+   X? (
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   )
+   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
+   x11-base/xorg-proto
+"
+
+MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
+
+src_configure() {
+   local mycmakeargs=(
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_DEMO=OFF
+   -DWANT_EXAMPLES=OFF
+   -DWANT_FLAC=$(usex flac)
+   -DWANT_IMAGE_JPG=$(usex jpeg)
+   -DWANT_IMAGE_PNG=$(usex png)
+   -DWANT_MODAUDIO=$(usex dumb)
+   -DWANT_NATIVE_DIALOG=$(usex gtk)
+   -DWANT_OPENAL=$(usex openal)
+   -DWANT_OPENGL=$(usex opengl)
+   -DWANT_OPUS=$(usex opus)
+   -DWANT_OSS=$(usex oss)
+   -DWANT_PHYSFS=$(usex physfs)
+   -DWANT_PULSEAUDIO=$(usex pulseaudio)
+   -DWANT_TESTS=$(usex test)
+   -DWANT_TTF=$(usex 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/files/, media-libs/allegro/

2018-07-16 Thread Andreas Sturmlechner
commit: cc402fa4548fc878e06c5fa778c519f27334
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 16 18:08:18 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 16 22:25:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc402fa4

media-libs/allegro: 4.4.2-r1 EAPI-6 bump

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/allegro/allegro-4.4.2-r1.ebuild | 60 +++---
 .../allegro/files/allegro-4.4.2-gentoo.patch   |  4 +-
 media-libs/allegro/files/allegro-4.4.2-rpath.patch |  4 +-
 .../allegro/files/allegro-4.4.2-shared.patch   |  4 +-
 .../allegro/files/allegro-4.4.2-underlink.patch|  4 +-
 5 files changed, 37 insertions(+), 39 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild 
b/media-libs/allegro/allegro-4.4.2-r1.ebuild
index 0cb5aac9bf3..c70499bbb40 100644
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -1,9 +1,10 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
+
 CMAKE_IN_SOURCE_BUILD=1
-inherit cmake-utils eutils
+inherit cmake-utils desktop
 
 DESCRIPTION="cross-platform multimedia library"
 HOMEPAGE="http://alleg.sourceforge.net/;
@@ -14,7 +15,8 @@ SLOT="0"
 KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
 IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
 
-RDEPEND="alsa? ( media-libs/alsa-lib )
+RDEPEND="
+   alsa? ( media-libs/alsa-lib )
jack? ( media-sound/jack-audio-connection-kit )
jpeg? ( virtual/jpeg:0 )
png? ( media-libs/libpng:0= )
@@ -55,44 +57,40 @@ src_prepare() {
 src_configure() {
# WANT_LINUX_CONSOLE is by default OFF
# WANT_EXAMPLES doesn't install anything
-
-   mycmakeargs=(
-   "-DDOCDIR=share/doc"
-   "-DINFODIR=share/info"
-   "-DMANDIR=share/man"
-   $(cmake-utils_use_want alsa)
-   "-DWANT_EXAMPLES=OFF"
-   $(cmake-utils_use_want jack)
-   $(cmake-utils_use_want jpeg JPGALLEG)
-   "-DWANT_LINUX_CONSOLE=OFF"
-   $(cmake-utils_use_want fbcon LINUX_FBCON)
-   $(cmake-utils_use_want svga LINUX_SVGALIB)
-   $(cmake-utils_use_want vga LINUX_VGA)
-   $(cmake-utils_use_want png LOADPNG)
-   $(cmake-utils_use_want vorbis LOGG)
-   $(cmake-utils_use_want oss)
-   $(cmake-utils_use_want test TESTS)
-   $(cmake-utils_use_want X TOOLS)
-   $(cmake-utils_use_want X X11)
-   )
+   local mycmakeargs=(
+   -DDOCDIR=share/doc
+   -DINFODIR=share/info
+   -DMANDIR=share/man
+   -DWANT_ALSA=$(usex alsa)
+   -DWANT_EXAMPLES=OFF
+   -DWANT_JACK=$(usex jack)
+   -DWANT_JPGALLEG=$(usex jpeg)
+   -DWANT_LINUX_CONSOLE=OFF
+   -DWANT_LINUX_FBCON=$(usex fbcon)
+   -DWANT_LINUX_SVGALIB=$(usex svga)
+   -DWANT_LINUX_VGA=$(usex vga)
+   -DWANT_LOADPNG=$(usex png)
+   -DWANT_LOGG=$(usex vorbis)
+   -DWANT_OSS=$(usex oss)
+   -DWANT_TESTS=$(usex test)
+   -DWANT_TOOLS=$(usex X)
+   -DWANT_X11=$(usex X)
+   )
 
if use X; then
-   mycmakeargs+=(
-   $(cmake-utils_use_want opengl ALLEGROGL)
-   )
+   mycmakeargs+=( -DWANT_ALLEGROGL=$(usex opengl) )
else
-   mycmakeargs+=(
-   "-DWANT_ALLEGROGL=OFF"
-   )
+   mycmakeargs+=( -DWANT_ALLEGROGL=OFF )
fi
 
cmake-utils_src_configure
 }
 
 src_install() {
-   cmake-utils_src_install
+   rm -r docs/html/{build,tmpfile.txt} || die
+   local HTML_DOCS=( docs/html/. )
 
-   dohtml docs/html/*.html
+   cmake-utils_src_install
 
#176020 (init_dialog.3), #409305 (key.3)
pushd docs/man >/dev/null

diff --git a/media-libs/allegro/files/allegro-4.4.2-gentoo.patch 
b/media-libs/allegro/files/allegro-4.4.2-gentoo.patch
index 119d9c78950..660a48437e6 100644
--- a/media-libs/allegro/files/allegro-4.4.2-gentoo.patch
+++ b/media-libs/allegro/files/allegro-4.4.2-gentoo.patch
@@ -1,5 +1,5 @@
 docs/CMakeLists.txt.old2012-03-04 20:20:05.566881387 +0100
-+++ docs/CMakeLists.txt2012-03-04 20:20:50.659714153 +0100
+--- a/docs/CMakeLists.txt  2012-03-04 20:20:05.566881387 +0100
 b/docs/CMakeLists.txt  2012-03-04 20:20:50.659714153 +0100
 @@ -71,11 +71,12 @@
  string(REGEX MATCH "[^/]*._tx" basename ${page})
  string(REPLACE "._tx" "" basename ${basename})

diff --git a/media-libs/allegro/files/allegro-4.4.2-rpath.patch 
b/media-libs/allegro/files/allegro-4.4.2-rpath.patch
index 57bdb6bf8d0..ab646e485d9 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2018-07-16 Thread Andreas Sturmlechner
commit: 694d50ca20849b80a17c9f4445398fb03342fe90
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 16 18:20:20 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 16 22:25:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694d50ca

media-libs/allegro: 5.0.11 EAPI-6 bump

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/allegro/allegro-5.0.11.ebuild   | 59 --
 .../allegro/files/allegro-5.0.11-multilib.patch|  4 +-
 .../allegro/files/allegro-5.0.11-underlink.patch   |  4 +-
 3 files changed, 35 insertions(+), 32 deletions(-)

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
index f54c046fec5..26b2dff5064 100644
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -1,7 +1,8 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
+
 inherit cmake-multilib
 
 DESCRIPTION="A game programming library"
@@ -13,9 +14,17 @@ SLOT="5"
 KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal oss physfs png pulseaudio test truetype 
vorbis X xinerama"
 
-RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+RDEPEND="
+   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
+   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
+   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+   alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
+   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
@@ -23,18 +32,12 @@ RDEPEND="alsa? ( 
>=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )"
-
+   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )
+"
 DEPEND="${RDEPEND}
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-   x11-base/xorg-proto"
+   x11-base/xorg-proto
+"
 
 PATCHES=( "${FILESDIR}"/${P}-{underlink,multilib}.patch )
 
@@ -42,32 +45,32 @@ MULTILIB_WRAPPED_HEADERS=( 
/usr/include/allegro5/allegro_native_dialog.h )
 
 src_configure() {
local mycmakeargs=(
-   $(cmake-utils_use_want alsa)
+   -DWANT_ALSA=$(usex alsa)
-DWANT_DEMO=OFF
-DWANT_EXAMPLES=OFF
-   $(cmake-utils_use_want flac)
-   $(cmake-utils_use_want jpeg IMAGE_JPG)
-   $(cmake-utils_use_want png IMAGE_PNG)
-   $(cmake-utils_use_want dumb MODAUDIO)
-   $(cmake-utils_use_want openal)
-   $(cmake-utils_use_want oss)
-   $(cmake-utils_use_want physfs)
-   $(cmake-utils_use_want pulseaudio)
-   $(cmake-utils_use_want test TESTS)
-   $(cmake-utils_use_want truetype TTF)
-   $(cmake-utils_use_want vorbis)
-   $(cmake-utils_use_want gtk NATIVE_DIALOG)
-   $(cmake-utils_use_want X opengl)
-   $(cmake-utils_use_want xinerama X11_XINERAMA)
+   -DWANT_FLAC=$(usex flac)
+   -DWANT_IMAGE_JPG=$(usex jpeg)
+   -DWANT_IMAGE_PNG=$(usex png)
+   -DWANT_MODAUDIO=$(usex dumb)
+   -DWANT_OPENAL=$(usex openal)
+   -DWANT_OSS=$(usex oss)
+   -DWANT_PHYSFS=$(usex physfs)
+   -DWANT_PULSEAUDIO=$(usex pulseaudio)
+   -DWANT_TESTS=$(usex test)
+   -DWANT_TTF=$(usex truetype)
+   -DWANT_VORBIS=$(usex vorbis)
+   -DWANT_NATIVE_DIALOG=$(usex gtk)
+   -DWANT_OPENGL=$(usex X)
+   -DWANT_X11_XINERAMA=$(usex xinerama)
)
 
cmake-multilib_src_configure
 }
 
 src_install() {
+   local HTML_DOCS=( docs/html/refman/. )
cmake-multilib_src_install
 
dodoc CHANGES-5.0.txt
-   

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2018-07-16 Thread Andreas Sturmlechner
commit: a16cffdf0dfdebdf626a4c1ba5b4f3dd575dac8b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 16 18:22:01 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 16 22:25:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16cffdf

media-libs/allegro: Fix HOMEPAGE

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/allegro/allegro-4.4.2-r1.ebuild | 2 +-
 media-libs/allegro/allegro-5.0.11.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild 
b/media-libs/allegro/allegro-4.4.2-r1.ebuild
index c70499bbb40..fff77ed7e25 100644
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -7,7 +7,7 @@ CMAKE_IN_SOURCE_BUILD=1
 inherit cmake-utils desktop
 
 DESCRIPTION="cross-platform multimedia library"
-HOMEPAGE="http://alleg.sourceforge.net/;
+HOMEPAGE="https://liballeg.org/;
 SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
index 26b2dff5064..858be8f9f10 100644
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit cmake-multilib
 
 DESCRIPTION="A game programming library"
-HOMEPAGE="http://alleg.sourceforge.net/;
+HOMEPAGE="https://liballeg.org/;
 SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
 
 LICENSE="BSD ZLIB"



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2017-07-08 Thread Alexis Ballier
commit: d843ad4bea95d69d1c8e8f92cead950d128dbc5b
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jul  8 09:14:42 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jul  8 09:18:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d843ad4b

media-libs/allegro: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-libs/allegro/allegro-4.4.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild 
b/media-libs/allegro/allegro-4.4.2-r1.ebuild
index 1f96bfffc27..a8080d151cb 100644
--- a/media-libs/allegro/allegro-4.4.2-r1.ebuild
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
 
 LICENSE="Allegro MIT GPL-2+ ZLIB"
 SLOT="0"
-KEYWORDS="amd64 ~mips ppc ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~mips ppc ppc64 x86"
 IUSE="alsa fbcon jack jpeg opengl oss png svga test vga vorbis X"
 
 RDEPEND="alsa? ( media-libs/alsa-lib )



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/

2016-02-28 Thread Michael Sterrett
commit: 54637c717de2ee1a029ec718c5b53e6e0719ebab
Author: Michael Sterrett  gentoo  org>
AuthorDate: Mon Feb 29 06:33:22 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Mon Feb 29 06:43:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54637c71

media-libs/allegro: fix building with multilib with patch from Azamat H. 
Hackimov (bug #563152)

Package-Manager: portage-2.2.26

 media-libs/allegro/allegro-5.0.11.ebuild   |  4 ++--
 media-libs/allegro/files/allegro-5.0.11-multilib.patch | 10 ++
 ...ro-5.0.4-underlink.patch => allegro-5.0.11-underlink.patch} |  0
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
index 6d0496d..2ee1cc6 100644
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}
>=x11-proto/xf86vidmodeproto-2.3.1-r1[${MULTILIB_USEDEP}]
>=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]"
 
-PATCHES=( "${FILESDIR}"/${PN}-5.0.4-underlink.patch )
+PATCHES=( "${FILESDIR}"/${P}-{underlink,multilib}.patch )
 
 MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
 

diff --git a/media-libs/allegro/files/allegro-5.0.11-multilib.patch 
b/media-libs/allegro/files/allegro-5.0.11-multilib.patch
new file mode 100644
index 000..ffb0c25
--- /dev/null
+++ b/media-libs/allegro/files/allegro-5.0.11-multilib.patch
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.old 2013-06-16 10:16:08.0 +0600
 CMakeLists.txt 2016-02-25 14:32:40.350446191 +0500
+@@ -560,7 +560,6 @@
+ endif(SUPPORT_X11 AND NOT SUPPORT_OPENGL)
+ 
+ if(SUPPORT_X11)
+-set(CMAKE_REQUIRED_LIBRARIES ${X11_LIBRARIES})
+ 
+ check_library_exists(Xcursor XcursorImageCreate "" CAN_XCURSOR)
+ if(CAN_XCURSOR)

diff --git a/media-libs/allegro/files/allegro-5.0.4-underlink.patch 
b/media-libs/allegro/files/allegro-5.0.11-underlink.patch
similarity index 100%
rename from media-libs/allegro/files/allegro-5.0.4-underlink.patch
rename to media-libs/allegro/files/allegro-5.0.11-underlink.patch



[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2015-12-17 Thread Michael Sterrett
commit: fd32f67383d27806912c20b331424073f6a13e41
Author: Michael Sterrett  gentoo  org>
AuthorDate: Thu Dec 17 19:00:04 2015 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Fri Dec 18 00:39:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd32f673

clean old

Package-Manager: portage-2.2.24

 media-libs/allegro/Manifest|  1 -
 media-libs/allegro/allegro-5.0.8-r1.ebuild | 76 --
 2 files changed, 77 deletions(-)

diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
index f23ea5f..4825f60 100644
--- a/media-libs/allegro/Manifest
+++ b/media-libs/allegro/Manifest
@@ -1,3 +1,2 @@
 DIST allegro-4.4.2.tar.gz 4674902 SHA256 
1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc SHA512 
ad4bc1c15fc83bc8a019031fed82f37a793664bb6683cf023ec05fd9cd945f00f43764f3126892426036249c63afa5678fb4906407bb325ce5827b36aee0fa86
 WHIRLPOOL 
9571305ae91d3aa93daed37d0a853cfeea926e94d1c28c7f7d81ad5e54ff453ceb97921383abe1cf5307bc55a7dbbb716f1760cc57ad60b337c54206c717324e
 DIST allegro-5.0.11.tar.gz 3203777 SHA256 
49fe14c9571463ba08db4ff778d1fbb15e49f9c33bdada3ac8599e04330ea531 SHA512 
bcf3bec236d5dee11c789394144959d2a2f6028ae3d89a91a726f796d74f785c7f28749ac1cda94becaf18c31c76fcf75b8f2f6d1f2c32c52d556f967a406052
 WHIRLPOOL 
a83cb5768c4da0989bb15424fc535da06913ea0325aa61b5e88d48ba8fda233f3603210d0a6705c1ad51256203ac50a7690969f7b9bc0c268535bb61a6bc6ee7
-DIST allegro-5.0.8.tar.gz 3139442 SHA256 
272e77d0ca0cef7586d7207887f87bf271e1d0db5f8f208dc7dd9a5e3bb6140b SHA512 
410addb05824050fead1d253c237be343a4cc7e707476aeb332341c91a6fb51eeaa9643a2d4e6e3916dbc9c25f40fd08d85c11ca39b14ceee947df2a8e5448b9
 WHIRLPOOL 
207562a313e3a7382bc6274a2314af5c473faaaf277f8d90691c8f3c7ad2e5b9707d9a577f6ca728801be937f091e83b3a4da499f680091a235b1a0462bb3049

diff --git a/media-libs/allegro/allegro-5.0.8-r1.ebuild 
b/media-libs/allegro/allegro-5.0.8-r1.ebuild
deleted file mode 100644
index 6d0496d..000
--- a/media-libs/allegro/allegro-5.0.8-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-multilib
-
-DESCRIPTION="A game programming library"
-HOMEPAGE="http://alleg.sourceforge.net/;
-SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
-
-LICENSE="BSD ZLIB"
-SLOT="5"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="alsa dumb flac gtk jpeg openal oss physfs png pulseaudio test truetype 
vorbis X xinerama"
-
-RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
-   dumb? ( >=media-libs/dumb-0.9.3-r2[${MULTILIB_USEDEP}] )
-   flac? ( >=media-libs/flac-1.2.1-r5[${MULTILIB_USEDEP}] )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   openal? ( >=media-libs/openal-1.15.1[${MULTILIB_USEDEP}] )
-   physfs? ( >=dev-games/physfs-2.0.3-r1[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.5.18:0[${MULTILIB_USEDEP}] )
-   pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
-   truetype? ( >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
-   vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] )
-   >=x11-libs/libXcursor-1.1.14[${MULTILIB_USEDEP}]
-   >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]
-   >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
-   >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
-   gtk? ( >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
-   >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
-   >=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
-   xinerama? ( >=x11-libs/libXinerama-1.1.3[${MULTILIB_USEDEP}] )"
-
-DEPEND="${RDEPEND}
-   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
-   >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}]
-   >=x11-proto/xf86vidmodeproto-2.3.1-r1[${MULTILIB_USEDEP}]
-   >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]"
-
-PATCHES=( "${FILESDIR}"/${PN}-5.0.4-underlink.patch )
-
-MULTILIB_WRAPPED_HEADERS=( /usr/include/allegro5/allegro_native_dialog.h )
-
-src_configure() {
-   local mycmakeargs=(
-   $(cmake-utils_use_want alsa)
-   -DWANT_DEMO=OFF
-   -DWANT_EXAMPLES=OFF
-   $(cmake-utils_use_want flac)
-   $(cmake-utils_use_want jpeg IMAGE_JPG)
-   $(cmake-utils_use_want png IMAGE_PNG)
-   $(cmake-utils_use_want dumb MODAUDIO)
-   $(cmake-utils_use_want openal)
-   $(cmake-utils_use_want oss)
-   $(cmake-utils_use_want physfs)
-   $(cmake-utils_use_want pulseaudio)
-   $(cmake-utils_use_want test TESTS)
-   $(cmake-utils_use_want truetype TTF)
-   $(cmake-utils_use_want vorbis)
-   $(cmake-utils_use_want gtk NATIVE_DIALOG)
-   $(cmake-utils_use_want X opengl)
-   $(cmake-utils_use_want xinerama X11_XINERAMA)
-   )
-
-   cmake-multilib_src_configure
-}
-

[gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/

2015-09-23 Thread Agostino Sarubbo
commit: aac76fe473e9c417c7d16bf74dfd633ef6ed1331
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 23 12:49:58 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 23 12:51:48 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac76fe4

media-libs/allegro: ppc64 stable wrt bug #554288

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc64"

 media-libs/allegro/allegro-5.0.11.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/allegro/allegro-5.0.11.ebuild 
b/media-libs/allegro/allegro-5.0.11.ebuild
index fba26f0..6d0496d 100644
--- a/media-libs/allegro/allegro-5.0.11.ebuild
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/alleg/${P}.tar.gz"
 
 LICENSE="BSD ZLIB"
 SLOT="5"
-KEYWORDS="amd64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ppc ppc64 x86"
 IUSE="alsa dumb flac gtk jpeg openal oss physfs png pulseaudio test truetype 
vorbis X xinerama"
 
 RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )