diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-09-12 00:40:24 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-09-12 00:40:24 -0400 |
commit | 010faf3a0e9e01674ba03bd66150939f76341f0d (patch) | |
tree | eee5765b0458ce79013fb9bfdc666c2c231f1249 /media-libs/libsfml | |
parent | app-misc/pax-utils: version bump to 1.1.2 (diff) | |
download | gentoo-010faf3a0e9e01674ba03bd66150939f76341f0d.tar.gz gentoo-010faf3a0e9e01674ba03bd66150939f76341f0d.tar.bz2 gentoo-010faf3a0e9e01674ba03bd66150939f76341f0d.zip |
media-libs/libsfml: version bump to 2.3.2
Diffstat (limited to 'media-libs/libsfml')
-rw-r--r-- | media-libs/libsfml/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libsfml/libsfml-2.3.2.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/media-libs/libsfml/Manifest b/media-libs/libsfml/Manifest index 923383f0a060..10781c0bc461 100644 --- a/media-libs/libsfml/Manifest +++ b/media-libs/libsfml/Manifest @@ -1,3 +1,4 @@ DIST SFML-1.6-sdk-linux-32.tar.gz 12937755 SHA256 b1c18f9b99c54ebb4cd433792f33ed2b85c846cca28eb871a12b3191dc1532f8 SHA512 518121bf05ab8b1f4ad917eaca72951ff870e992f79e2b3da94baad762e7de63ce331cf4cade172e285015fb6fec501e25039c633be2f7b77d77b171dc29cb0a WHIRLPOOL fee6692123c394b4d67d1937756315daf7386bf8d0292bbeb94ba7db53552010e8f92187496ce9b72f6aad4922e5ea5da191ddaf9baf0f96a7b741a1d1d17f2e DIST libsfml-2.2.tar.gz 17614806 SHA256 543458923e35868c16ac70e5f4c3bf172e136af9820d7b546b52afc7f1fc77f5 SHA512 cf30d431afc19d0f0126f2879dcb4c81ff4f689ce1e7aab5c3f156e8a88cdd54574e60de6230a9a5f7793a6c41ac81d811c68a9f1971ce079dada8d281ca34a3 WHIRLPOOL 8ba9c968840839295707e92281ecbc5d88b8900bab85dac0e1a4d66a0b8521bca0d5c6b0d1d330a1191aedf073f9633c7ce8f6dcbef9f84e3fac8c61d9c7c96e DIST libsfml-2.3.1.tar.gz 22209471 SHA256 59d7fd6b6c1194393ccac4cb7da3c41adbad973ab2116421ad6fcfe823221d6f SHA512 8a4d61be38cfae7b00f0c9669aed8d3e2cafd0e69aa840a155f3d6adfd9cf0cd37e6f69e4d52828f96f32b03a3c9bddb0f06366ab5e171775a036823164dcbe6 WHIRLPOOL 95c7c534915afb63e38d37ec712433267673aa22597ee3052df5f62becb6723d364440aa1e922e4012e043302c2ad70eb52fedaa4bfa6ee8a4ad3f4b0649141b +DIST libsfml-2.3.2.tar.gz 22203359 SHA256 55e7c864938e03ceb7d6d05c66f8e0dc886e632805d0ae17c222da317ba14e4c SHA512 db491b57595d567e6ce47d081fd6292bff924678fe0a61243f2dfa23df187d2c58f3bd91ea13447e49bec5f888777f338bfa461aec86d9328710623d73aeb424 WHIRLPOOL acef2cc6775ee16151cf5809e78ede2e10f5a5ae51d5d90851a17f8b73b4f599e4eb11bc16bca1db53db507906936f149a38a5670e8a81797ac5a5165d9adc83 diff --git a/media-libs/libsfml/libsfml-2.3.2.ebuild b/media-libs/libsfml/libsfml-2.3.2.ebuild new file mode 100644 index 000000000000..572bbad66923 --- /dev/null +++ b/media-libs/libsfml/libsfml-2.3.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils eutils + +MY_P=SFML-${PV} + +DESCRIPTION="Simple and Fast Multimedia Library (SFML)" +HOMEPAGE="http://www.sfml-dev.org/ https://github.com/SFML/SFML" +SRC_URI="https://github.com/SFML/SFML/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc examples" + +RDEPEND="media-libs/freetype:2 + media-libs/libpng:0= + media-libs/mesa + media-libs/flac + media-libs/libogg + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + virtual/jpeg:0 + virtual/udev + x11-libs/libX11 + x11-libs/libXrandr" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +DOCS="changelog.txt readme.txt" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.2-no-docs.patch + + sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \ + doc/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use doc SFML_BUILD_DOC) + -DSFML_INSTALL_PKGCONFIG_FILES=TRUE + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + insinto /usr/share/cmake/Modules + doins cmake/Modules/FindSFML.cmake + + if use examples ; then + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + find "${ED}"/usr/share/doc/${PF}/examples -name CMakeLists.txt -delete + fi +} |