From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/
Date: Mon, 8 Mar 2021 05:30:51 +0000 (UTC) [thread overview]
Message-ID: <1615181440.c528603abaea51f51a4057e410e9945dfee7cd41.sam@gentoo> (raw)
commit: c528603abaea51f51a4057e410e9945dfee7cd41
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 8 05:30:40 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 05:30:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c528603a
media-libs/allegro: add 5.2.7.0
Signed-off-by: Sam James <sam <AT> 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 00000000000..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 vorbis)
+ -DWANT_OPENAL=$(usex openal)
+ -DWANT_OPENGL=$(usex opengl)
+ -DWANT_OPUS=$(usex opus)
+ -DWANT_OSS=$(usex oss)
+ -DWANT_PHYSFS=$(usex physfs)
+ -DWANT_PRIMITIVES=$(usex opengl)
+ -DWANT_PULSEAUDIO=$(usex pulseaudio)
+ -DWANT_TESTS=$(usex test)
+ -DWANT_TTF=$(usex truetype)
+ -DWANT_VORBIS=$(usex vorbis)
+ -DWANT_X11=$(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 CHANGES-5.1.txt CHANGES-5.2.txt
+ doman docs/man/*.3
+}
next reply other threads:[~2021-03-08 5:30 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-08 5:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-31 18:41 [gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/ Andreas Sturmlechner
2023-05-31 18:41 Andreas Sturmlechner
2023-03-04 18:14 Ionen Wolkens
2022-12-05 9:29 WANG Xuerui
2021-12-28 17:10 Ionen Wolkens
2021-07-19 23:14 Marek Szuba
2021-07-19 23:14 Marek Szuba
2021-04-20 11:59 Sam James
2021-04-20 11:59 Sam James
2021-04-18 21:27 Sam James
2021-04-18 21:20 Sam James
2021-02-14 20:09 Sam James
2021-01-19 0:08 Sam James
2020-12-22 5:07 Sam James
2020-12-22 5:04 Sam James
2020-12-22 1:26 Sam James
2020-12-20 19:07 Thomas Deutschmann
2020-12-20 18:01 Sam James
2020-09-05 3:04 Sam James
2020-09-04 14:06 Sam James
2020-09-01 2:49 Sam James
2020-08-30 17:14 Thomas Deutschmann
2020-07-04 12:36 Mart Raudsepp
2020-05-10 16:53 James Le Cuirot
2020-02-22 23:31 James Le Cuirot
2020-02-22 23:31 James Le Cuirot
2019-12-01 3:18 Andreas Sturmlechner
2019-11-30 21:35 Sergei Trofimovich
2019-11-23 15:27 Agostino Sarubbo
2019-09-30 21:34 James Le Cuirot
2019-05-24 10:09 Stefan Strogin
2019-01-26 1:42 Andreas K. Hüttel
2018-10-06 18:17 Mikle Kolyada
2018-09-15 18:26 Sergei Trofimovich
2018-09-15 18:23 Sergei Trofimovich
2018-08-21 17:11 Andreas Sturmlechner
2018-08-21 14:57 Andreas Sturmlechner
2018-07-16 22:26 Andreas Sturmlechner
2017-07-08 9:20 Alexis Ballier
2015-12-18 0:47 Michael Sterrett
2015-09-23 12:52 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1615181440.c528603abaea51f51a4057e410e9945dfee7cd41.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox