From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B69631382B2 for ; Fri, 4 Jan 2013 17:13:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B10AE065A; Fri, 4 Jan 2013 17:13:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0147CE065A for ; Fri, 4 Jan 2013 17:13:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C96DD33D929 for ; Fri, 4 Jan 2013 17:13:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 6C907E5439 for ; Fri, 4 Jan 2013 17:13:16 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1357319566.6e403f169708b196fc6c8ed6cc01552914401997.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: media-libs/libsdl/ X-VCS-Repository: proj/gamerlay X-VCS-Files: media-libs/libsdl/ChangeLog media-libs/libsdl/libsdl-2.0.0_pre6799.ebuild media-libs/libsdl/metadata.xml X-VCS-Directories: media-libs/libsdl/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 6e403f169708b196fc6c8ed6cc01552914401997 X-VCS-Branch: master Date: Fri, 4 Jan 2013 17:13:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7646da6d-826b-4323-8499-1fec6b445e13 X-Archives-Hash: 0bac5b303ad848ba0fef62a21a668bd5 commit: 6e403f169708b196fc6c8ed6cc01552914401997 Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Jan 4 17:12:46 2013 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Fri Jan 4 17:12:46 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=6e403f16 [media-libs/libsdl] Experimental ebuild for 2.0 Package-Manager: portage-2.1.11.31 Manifest-Sign-Key: A018DE8C --- media-libs/libsdl/ChangeLog | 9 ++- media-libs/libsdl/libsdl-2.0.0_pre6799.ebuild | 109 +++++++++++++++++++++++++ media-libs/libsdl/metadata.xml | 3 + 3 files changed, 119 insertions(+), 2 deletions(-) diff --git a/media-libs/libsdl/ChangeLog b/media-libs/libsdl/ChangeLog index a04de89..1b8d853 100644 --- a/media-libs/libsdl/ChangeLog +++ b/media-libs/libsdl/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for media-libs/libsdl -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*libsdl-2.0.0_pre6799 (04 Jan 2013) + + 04 Jan 2013; Azamat H. Hackimov + +libsdl-2.0.0_pre6799.ebuild, metadata.xml: + [media-libs/libsdl] Experimental ebuild for 2.0 + *libsdl-1.2.14-r3 (01 Jul 2010) 01 Jul 2010; Locke Shinseiko @@ -13,4 +19,3 @@ patch tracker, fixes the bug introduced by libsdl-1.2.14-click.patch (also from debian) - diff --git a/media-libs/libsdl/libsdl-2.0.0_pre6799.ebuild b/media-libs/libsdl/libsdl-2.0.0_pre6799.ebuild new file mode 100644 index 0000000..fd8640f --- /dev/null +++ b/media-libs/libsdl/libsdl-2.0.0_pre6799.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit cmake-utils mercurial + +DESCRIPTION="Simple Direct Media Layer" +HOMEPAGE="http://www.libsdl.org/" +#SRC_URI="" +EHG_REPO_URI="http://hg.libsdl.org/SDL/" +EHG_REVISION=6799 + +LICENSE="ZLIB" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="3dnow alsa altivec +asm aqua fusionsound gles mmx nas opengl oss pulseaudio sse sse2 static-libs +threads tslib +video X xinerama xscreensaver" + +#FIXME: Replace "gles" deps with "virtual/opengles", after hitting Portage. +RDEPEND=" + nas? ( + media-libs/nas + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXt + ) + X? ( + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXi + x11-libs/libXt + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXxf86vm + ) + xinerama? ( x11-libs/libXinerama ) + xscreensaver? ( x11-libs/libXScrnSaver ) + alsa? ( media-libs/alsa-lib ) + fusionsound? ( >=media-libs/FusionSound-1.1.1 ) + pulseaudio? ( >=media-sound/pulseaudio-0.9 ) + gles? ( || ( media-libs/mesa[gles2] media-libs/mesa[gles] ) ) + opengl? ( virtual/opengl ) + tslib? ( x11-libs/tslib ) +" + +DEPEND="${RDEPEND} + nas? ( + x11-proto/xextproto + x11-proto/xproto + ) + X? ( + x11-proto/inputproto + x11-proto/xextproto + x11-proto/xf86vidmodeproto + x11-proto/xproto + x11-proto/randrproto + x11-proto/renderproto + ) + xinerama? ( x11-proto/xineramaproto ) + xscreensaver? ( x11-proto/scrnsaverproto ) +" + +DOCS=( BUGS CREDITS README README.HG README-SDL.txt TODO WhatsNew ) + +src_configure() { + mycmakeargs=( + # Disable assertion tests. + -DASSERTIONS=disabled + # Avoid hard-coding RPATH entries into dynamically linked SDL libraries. + -DRPATH=NO + # Disable obsolete and/or inapplicable libraries. + -DARTS=NO + -DESD=NO + $(cmake-utils_use 3dnow 3DNOW) + $(cmake-utils_use alsa ALSA) + $(cmake-utils_use altivec ALTIVEC) + $(cmake-utils_use asm ASSEMBLY) + $(cmake-utils_use aqua VIDEO_COCOA) + $(cmake-utils_use fusionsound FUSIONSOUND) + $(cmake-utils_use gles VIDEO_OPENGLES) + $(cmake-utils_use mmx MMX) + $(cmake-utils_use nas NAS) + $(cmake-utils_use opengl VIDEO_OPENGL) + $(cmake-utils_use oss OSS) + $(cmake-utils_use pulseaudio PULSEAUDIO) + $(cmake-utils_use threads PTHREADS) + $(cmake-utils_use sse SSE) + $(cmake-utils_use sse SSEMATH) + $(cmake-utils_use sse2 SSE2) + $(cmake-utils_use static-libs SDL_STATIC) + $(cmake-utils_use tslib INPUT_TSLIB) + $(cmake-utils_use video VIDEO_DUMMY) + $(cmake-utils_use X VIDEO_X11) + $(cmake-utils_use xcursor VIDEO_X11_XCURSOR) + $(cmake-utils_use xinerama VIDEO_X11_XINERAMA) + $(cmake-utils_use xinput VIDEO_X11_XINPUT) + $(cmake-utils_use xrandr VIDEO_X11_XRANDR) + $(cmake-utils_use xscreensaver VIDEO_X11_XSCRNSAVER) + $(cmake-utils_use xvidmode VIDEO_X11_XVM) + #$(cmake-utils_use joystick SDL_JOYSTICK) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +} diff --git a/media-libs/libsdl/metadata.xml b/media-libs/libsdl/metadata.xml index 0ee2113..6f6b34d 100644 --- a/media-libs/libsdl/metadata.xml +++ b/media-libs/libsdl/metadata.xml @@ -20,6 +20,9 @@ PHP, Pike, Python, and Ruby. Control audio support (disable at your own risk) + Enable assembly for optimization (3dnow, mmx, sse, sse2) + Enable FusionSound support + Enable OpenGL ES support Control joystick support (disable at your own risk) Build the PS3 video driver Build with tslib support for touchscreen devices