summaryrefslogtreecommitdiff
path: root/media-libs/allegro
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/allegro
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/allegro')
-rw-r--r--media-libs/allegro/Manifest13
-rw-r--r--media-libs/allegro/allegro-4.4.2-r1.ebuild113
-rw-r--r--media-libs/allegro/allegro-5.0.11.ebuild75
-rw-r--r--media-libs/allegro/files/allegro-4.4.2-gentoo.patch16
-rw-r--r--media-libs/allegro/files/allegro-4.4.2-rpath.patch8
-rw-r--r--media-libs/allegro/files/allegro-4.4.2-shared.patch11
-rw-r--r--media-libs/allegro/files/allegro-4.4.2-underlink.patch11
-rw-r--r--media-libs/allegro/files/allegro-5.0.11-multilib.patch10
-rw-r--r--media-libs/allegro/files/allegro-5.0.11-underlink.patch11
-rw-r--r--media-libs/allegro/metadata.xml25
10 files changed, 293 insertions, 0 deletions
diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest
new file mode 100644
index 000000000000..805f29599350
--- /dev/null
+++ b/media-libs/allegro/Manifest
@@ -0,0 +1,13 @@
+AUX allegro-4.4.2-gentoo.patch 756 SHA256 4fa30522a96ba6b2cc2740c60bb504e85bcba11af88b56a3f2e808db15ec4c07 SHA512 72a445f989b208fde469a10d87af76d48abe4a48fb388e383802a39bbb46555ed1831b3d974fb6861f6a5c0ce03826a738dd84e94e4d801175146e3d3b9840df WHIRLPOOL 4f053b9932298f8aa70f5d26db9e8a7912aaaac678d4bbf450241f44c19a1c31da758f192482356a48b631e4c711c4401d2a99c53d4dc2f6984aad5d2a5b8b6c
+AUX allegro-4.4.2-rpath.patch 178 SHA256 baab915e625d59950573ed053587226f28adc59a18bbe39a10a732cb906b2188 SHA512 b50d829f3301551e3c6e9b2efdc40363b63f8981471e4b275fdbafc5e6a0f4f7f94e1d983234a6862ad3e5cb6eff54ee17ed647348aa45cb3ffa657c534f295b WHIRLPOOL 410198c34e2e89596090d16aba8086b5f5720fb8e5bcec9e8060d4bf52b2956123e5100c8f3d3135cbb0cf943ba14cb04991858f1529df412a4ceda1557acce3
+AUX allegro-4.4.2-shared.patch 243 SHA256 99c282c3c0377fafd613b81e3f3b13a817cabf1a7ab34219f1342a20c06c2d6d SHA512 87de70b7f9b658cc3efef18423bf8e8aba901b6006bb7253bcd003ed4508caa0175429176c92ea2ead6d13e5f32ee50a6dd0efb13c30b61abdf3639a03b589ea WHIRLPOOL 6b187e42f680fc06e81175b0803d157a183b9cfa86b7abdc98cdbd153c5daad6e73236a6da6a5536f96f4e44780f1aeedcec1eb262f4c102c2a5eb79e6dd68b5
+AUX allegro-4.4.2-underlink.patch 456 SHA256 0bcaff3494611330f2448d3d81ab2bcb0072bff3a1672610bb4ca0edfd007ae3 SHA512 8f4882a6fcff986aa0aeefb05e92d76345c5218d67b5d358bef279679162121a56e400ee549bf52d175fe563897454d679a551d9514170ebaab13ae3c5bd3e30 WHIRLPOOL 7345df7a94f33293ac79dfa13e1d30afd233163744d813c93f92ca21db74c71a68b178239821d6dd7e411f0b47297ee53eba7dda29900ea9159a88e529d24a7b
+AUX allegro-5.0.11-multilib.patch 340 SHA256 92618bab3c02b071d8dc410ce96c74b981f8685fdf2fe0148982ab56c43d7bfa SHA512 28bebec6e44f7b1fe7ca9e649fbfa070d6a34cab3079b223c968b8c58347f453697faf2187fda42cacb0b76383ecc1588f7c7a181ef6528598d59e29964e3ceb WHIRLPOOL 45b436393fdcdb6be13ac7349664be031755d600b0bbf639eb33401c343e2573fc4edf4acdcdc8d9a71977ba4abbf93cb977cbf0cfa5e8aa2982b3805f926e90
+AUX allegro-5.0.11-underlink.patch 390 SHA256 ea4d01bca76627303a81dab285278d7e2ce27079a0810407598070db090964fc SHA512 ad137dd9c148ada1a3075135df10e92462271327fb9d07768dcdb4c58007a5909cde52912750eae235ef5440bf9d6aaa7488f2c62d443729c2ecc4da3380d8f2 WHIRLPOOL ff7ba8e40826e138152d656f2a009cbd625a132446f0dc3132d9d23658496b1363a40835d39094c46bde7eeca7df040fd7c435a00d1c5dc9e2071b704d627f07
+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
+EBUILD allegro-4.4.2-r1.ebuild 2594 SHA256 ffe569db430cc44fdf910f5c81c1920a94d510c1ffbb05485ecf4b73a9df79e2 SHA512 9cdf6ef5b1dff675547f2eb1d7d251c50df02e44daff8f70c1eece9075c34c78297cb0f0171beb0ec00f66c524f25eb2bdba6bcee2ebd749be69c37463db29d5 WHIRLPOOL 9c917c25ad64696c5899a3c493bf58cae372f22b632eb12b89246294dfa83752de88f3b9261b9f0b76973b3bb0a11415330ead1afaa91cfcfdf95c6d6e747adf
+EBUILD allegro-5.0.11.ebuild 2594 SHA256 3738e7236ed2d2c7847ee849dd897c92d1e8e587e75c6c268cc989fced520776 SHA512 2d21588d05b1bbd814410529996970979ca0ed79433030d906c8133dc883d5f674c24eea4694f1ddbf2e014988e5cc263b345f5cce96360ec76af16ca9bab47c WHIRLPOOL d475d4a5729d943030d0b96f6d9898f14a6d375e3a92968bda353f04231bacd5d79987a8e688a2d115976c16e8ca40917ca68d94c7ef178ff1ac4d7ed94c1468
+MISC ChangeLog 3360 SHA256 e1a72d363a5481e2be87ead94827bc1b95bc84270fcfb6e6db6a27f682fc135e SHA512 b6ccbc4e36ab610adfb2c2ea803a9f57f273f64ec34a5a1fc7763baf709f917e051a0a4b65eb9a107f9f49880bfc969d5b2a54b389e404082c8cb05452c27e20 WHIRLPOOL 39acce26d2aeec632bb6cad14371f00e3e9bfce69e39dab61d522439ffccc1e016bfb5dc71751d0a75f36ab63fe2ffeedeaa50771b89588e303dc0565c6f152b
+MISC ChangeLog-2015 21051 SHA256 478554b64fb6e482b95dd86e9c06b58e0c9118da7b6f5af07c07cd3e4b172fce SHA512 226b61368fa9dee71d7542c6519f5e60b195ae935c6561aaa251c640dd376ba83b77980d7c6483a95d5645a50c7833d1942c7853420b307f7d7df171273dca80 WHIRLPOOL b61769d64d41934cd1143bbd531e04ba07d7fa9685a132b171d013eacde7640902b259483fb8dd7d3ec413082b8b27f06dcaf39b8ba78f763bac3fac25d6be4c
+MISC metadata.xml 1034 SHA256 d74d8065d39366ad5dddf8e072c080a1bb50dcdad85f092772e065a0ad190c5f SHA512 21301cc66fe94a4d728900cd5856d3e0d27507b1d340e36246c183b13232cb7f9c9da9f8b20428bd387c7216a892dce169c2bc885caabacb08a32892faffc994 WHIRLPOOL 49979067db5723392c54e0b84d21803d88af7d0363ed518209bc594221a7a17c345590ba3b950b98e25a15f114a5b752866f671b1928bf2a93cd959d449ecd1e
diff --git a/media-libs/allegro/allegro-4.4.2-r1.ebuild b/media-libs/allegro/allegro-4.4.2-r1.ebuild
new file mode 100644
index 000000000000..a8080d151cb2
--- /dev/null
+++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils eutils
+
+DESCRIPTION="cross-platform multimedia library"
+HOMEPAGE="http://alleg.sourceforge.net/"
+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-proto/xextproto
+ x11-proto/xf86dgaproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xproto
+ )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-shared.patch \
+ "${FILESDIR}"/${P}-underlink.patch \
+ "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/${P}-rpath.patch
+
+ 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
+
+ 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)
+ )
+
+ if use X; then
+ mycmakeargs+=(
+ $(cmake-utils_use_want opengl ALLEGROGL)
+ )
+ else
+ mycmakeargs+=(
+ "-DWANT_ALLEGROGL=OFF"
+ )
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ dohtml docs/html/*.html
+
+ #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-5.0.11.ebuild b/media-libs/allegro/allegro-5.0.11.ebuild
new file mode 100644
index 000000000000..1dd3002441e6
--- /dev/null
+++ b/media-libs/allegro/allegro-5.0.11.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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}"/${P}-{underlink,multilib}.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
+}
+
+src_install() {
+ cmake-multilib_src_install
+
+ dodoc CHANGES-5.0.txt
+ dohtml -r docs/html/refman/*
+ doman docs/man/*.3
+}
diff --git a/media-libs/allegro/files/allegro-4.4.2-gentoo.patch b/media-libs/allegro/files/allegro-4.4.2-gentoo.patch
new file mode 100644
index 000000000000..119d9c789508
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-gentoo.patch
@@ -0,0 +1,16 @@
+--- docs/CMakeLists.txt.old 2012-03-04 20:20:05.566881387 +0100
++++ 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})
+
+- set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
+ if(${page} MATCHES "/build/")
++ set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
+ set(txt_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.txt)
+ set(html_out ${CMAKE_CURRENT_BINARY_DIR}/build/${basename}.html)
+ else()
++ set(page ${CMAKE_CURRENT_SOURCE_DIR}/${page})
+ set(txt_out ${CMAKE_CURRENT_BINARY_DIR}/txt/${basename}.txt)
+ set(html_out ${CMAKE_CURRENT_BINARY_DIR}/html/${basename}.html)
+ endif()
diff --git a/media-libs/allegro/files/allegro-4.4.2-rpath.patch b/media-libs/allegro/files/allegro-4.4.2-rpath.patch
new file mode 100644
index 000000000000..57bdb6bf8d0e
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-rpath.patch
@@ -0,0 +1,8 @@
+--- setup/CMakeLists.txt
++++ setup/CMakeLists.txt
+@@ -1,3 +1,5 @@
++set(CMAKE_SKIP_BUILD_RPATH TRUE)
++
+ add_our_executable(setup setup.c)
+ copy_files(copy_setup_data setup.dat)
+
diff --git a/media-libs/allegro/files/allegro-4.4.2-shared.patch b/media-libs/allegro/files/allegro-4.4.2-shared.patch
new file mode 100644
index 000000000000..665c03e31204
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-shared.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -830,7 +830,7 @@
+ option(WANT_LOGG "Enable logg" on)
+ option(WANT_JPGALLEG "Enable JPGAlleg" on)
+
+-if(WANT_FRAMEWORKS)
++if(SHARED)
+ set(ADDON_LINKAGE SHARED)
+ else()
+ set(ADDON_LINKAGE STATIC)
diff --git a/media-libs/allegro/files/allegro-4.4.2-underlink.patch b/media-libs/allegro/files/allegro-4.4.2-underlink.patch
new file mode 100644
index 000000000000..33dc9d260b2d
--- /dev/null
+++ b/media-libs/allegro/files/allegro-4.4.2-underlink.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.old 2011-06-06 23:46:06.057320691 +0200
++++ CMakeLists.txt 2011-06-06 23:46:21.900313261 +0200
+@@ -392,7 +392,7 @@
+ message(FATAL_ERROR "Unix port requires pthreads support.")
+ endif()
+ set(ALLEGRO_HAVE_LIBPTHREAD 1)
+- list(APPEND PLATFORM_LIBS m ${CMAKE_THREAD_LIBS_INIT})
++ list(APPEND PLATFORM_LIBS dl m ${CMAKE_THREAD_LIBS_INIT})
+ list(APPEND PLATFORM_SOURCES ${ALLEGRO_SRC_UNIX_FILES})
+
+ if(WANT_OSS)
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 000000000000..ffb0c25fc8b6
--- /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.000000000 +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.11-underlink.patch b/media-libs/allegro/files/allegro-5.0.11-underlink.patch
new file mode 100644
index 000000000000..7702c1d2c6db
--- /dev/null
+++ b/media-libs/allegro/files/allegro-5.0.11-underlink.patch
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.old 2011-06-06 23:56:09.367125536 +0200
++++ CMakeLists.txt 2011-06-06 23:56:19.311748807 +0200
+@@ -703,7 +703,7 @@
+
+ if(ALLEGRO_UNIX) # not MACOSX
+ list(APPEND LIBRARY_SOURCES ${ALLEGRO_SRC_UNIX_FILES})
+- list(APPEND PLATFORM_LIBS m ${CMAKE_THREAD_LIBS_INIT})
++ list(APPEND PLATFORM_LIBS dl m ${CMAKE_THREAD_LIBS_INIT})
+ endif(ALLEGRO_UNIX)
+
+ if(SUPPORT_X11)
diff --git a/media-libs/allegro/metadata.xml b/media-libs/allegro/metadata.xml
new file mode 100644
index 000000000000..1a6f9338ec6e
--- /dev/null
+++ b/media-libs/allegro/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <longdescription>
+Allegro is a game programming library for C/C++ developers distributed
+freely, supporting the following platforms: DOS, Unix (Linux, FreeBSD,
+Irix, Solaris, Darwin), Windows, QNX, BeOS and MacOS X. It provides many
+functions for graphics, sounds, player input (keyboard, mouse and joystick)
+and timers. It also provides fixed and floating point mathematical
+functions, 3d functions, file management functions, compressed datafile
+and a GUI.
+</longdescription>
+ <use>
+ <flag name="dumb">Enable <pkg>media-libs/dumb</pkg> module library support</flag>
+ <flag name="physfs">Enable physfs support</flag>
+ <flag name="vga">Enables the VGA graphics driver</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">alleg</remote-id>
+ </upstream>
+</pkgmetadata>