diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/allegro | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/allegro')
-rw-r--r-- | media-libs/allegro/Manifest | 3 | ||||
-rw-r--r-- | media-libs/allegro/allegro-4.4.2-r1.ebuild | 114 | ||||
-rw-r--r-- | media-libs/allegro/allegro-5.0.11.ebuild | 76 | ||||
-rw-r--r-- | media-libs/allegro/allegro-5.0.8-r1.ebuild | 76 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-gentoo.patch | 16 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-rpath.patch | 8 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-shared.patch | 11 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-4.4.2-underlink.patch | 11 | ||||
-rw-r--r-- | media-libs/allegro/files/allegro-5.0.4-underlink.patch | 11 | ||||
-rw-r--r-- | media-libs/allegro/metadata.xml | 22 |
10 files changed, 348 insertions, 0 deletions
diff --git a/media-libs/allegro/Manifest b/media-libs/allegro/Manifest new file mode 100644 index 000000000000..f23ea5fd4dd5 --- /dev/null +++ b/media-libs/allegro/Manifest @@ -0,0 +1,3 @@ +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-4.4.2-r1.ebuild b/media-libs/allegro/allegro-4.4.2-r1.ebuild new file mode 100644 index 000000000000..49e57d2ad8fc --- /dev/null +++ b/media-libs/allegro/allegro-4.4.2-r1.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 ~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..fba26f07528a --- /dev/null +++ b/media-libs/allegro/allegro-5.0.11.ebuild @@ -0,0 +1,76 @@ +# 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 +} + +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/allegro-5.0.8-r1.ebuild b/media-libs/allegro/allegro-5.0.8-r1.ebuild new file mode 100644 index 000000000000..6d0496dabaa6 --- /dev/null +++ b/media-libs/allegro/allegro-5.0.8-r1.ebuild @@ -0,0 +1,76 @@ +# 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 +} + +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.4-underlink.patch b/media-libs/allegro/files/allegro-5.0.4-underlink.patch new file mode 100644 index 000000000000..7702c1d2c6db --- /dev/null +++ b/media-libs/allegro/files/allegro-5.0.4-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..7d103d5f8d67 --- /dev/null +++ b/media-libs/allegro/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <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> |