public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libsfml: metadata.xml ChangeLog libsfml-1.6-r1.ebuild libsfml-1.6.ebuild
@ 2011-02-07 10:43 Tim Harder (radhermit)
  0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2011-02-07 10:43 UTC (permalink / raw
  To: gentoo-commits

radhermit    11/02/07 10:43:53

  Modified:             metadata.xml ChangeLog
  Added:                libsfml-1.6-r1.ebuild
  Removed:              libsfml-1.6.ebuild
  Log:
  Revbump and remove old. Transition the C and python libraries to external packages and bump to EAPI 4.
  
  (Portage version: 2.2.0_alpha20/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  media-libs/libsfml/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/metadata.xml?r1=1.1&r2=1.2

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libsfml/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml	5 Feb 2011 05:38:21 -0000	1.1
+++ metadata.xml	7 Feb 2011 10:43:52 -0000	1.2
@@ -14,7 +14,4 @@
 	as a fully-featured multimedia library for building games or interactive
 	programs.
 	</longdescription>
-	<use>
-		<flag name="csfml">Build the C libraries for SFML</flag>
-	</use>
 </pkgmetadata>



1.3                  media-libs/libsfml/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libsfml/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	5 Feb 2011 05:43:54 -0000	1.2
+++ ChangeLog	7 Feb 2011 10:43:52 -0000	1.3
@@ -1,6 +1,13 @@
 # ChangeLog for media-libs/libsfml
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsfml/ChangeLog,v 1.2 2011/02/05 05:43:54 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsfml/ChangeLog,v 1.3 2011/02/07 10:43:52 radhermit Exp $
+
+*libsfml-1.6-r1 (07 Feb 2011)
+
+  07 Feb 2011; Tim Harder <radhermit@gentoo.org> -libsfml-1.6.ebuild,
+  +libsfml-1.6-r1.ebuild, -files/libsfml-1.6-csfml-destdir.patch, metadata.xml:
+  Revbump and remove old. Transition the C and python libraries to external
+  packages and bump to EAPI 4.
 
   05 Feb 2011; Tim Harder <radhermit@gentoo.org> libsfml-1.6.ebuild:
   Use capital letters and add acronym to DESCRIPTION.



1.1                  media-libs/libsfml/libsfml-1.6-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/libsfml-1.6-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libsfml/libsfml-1.6-r1.ebuild?rev=1.1&content-type=text/plain

Index: libsfml-1.6-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libsfml/libsfml-1.6-r1.ebuild,v 1.1 2011/02/07 10:43:52 radhermit Exp $

EAPI=4

inherit eutils multilib toolchain-funcs

MY_P="SFML-${PV}"
DESCRIPTION="Simple and Fast Multimedia Library (SFML)"
HOMEPAGE="http://sfml.sourceforge.net/"
SRC_URI="mirror://sourceforge/sfml/${MY_P}-sdk-linux-32.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc examples static-libs"

DEPEND="media-libs/freetype:2
	media-libs/glew
	media-libs/libpng
	media-libs/libsndfile
	media-libs/mesa
	media-libs/openal
	sys-libs/zlib
	virtual/jpeg
	x11-libs/libX11
	x11-libs/libXrandr"
RDEPEND="${DEPEND}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-destdir.patch
	epatch "${FILESDIR}"/${P}-deps-and-flags.patch
}

src_compile() {
	local myconf
	use debug && myconf="$myconf DEBUGBUILD=yes"

	emake $myconf CPP=$(tc-getCXX) CC=$(tc-getCC)
	use static-libs && emake $myconf STATIC=yes CPP=$(tc-getCXX) CC=$(tc-getCC)
}

src_install() {
	emake DESTDIR="${D}" prefix=/usr libdir=/usr/$(get_libdir) install

	use static-libs && dolib.a lib/*.a
	use doc && dohtml doc/html/*

	if use examples ; then
		docompress -x /usr/share/doc/${PF}/examples
		for i in ftp opengl pong post-fx qt sockets sound sound_capture voip window wxwidgets X11 ; do
			insinto /usr/share/doc/${PF}/examples/$i
			doins samples/$i/*
		done
	fi
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-07 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07 10:43 [gentoo-commits] gentoo-x86 commit in media-libs/libsfml: metadata.xml ChangeLog libsfml-1.6-r1.ebuild libsfml-1.6.ebuild Tim Harder (radhermit)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox