public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsfml/
Date: Fri, 10 Nov 2023 16:20:29 +0000 (UTC)	[thread overview]
Message-ID: <1699633173.e7941abe9fcf8b6c2a939edd8c1801616b3136b4.pacho@gentoo> (raw)

commit:     e7941abe9fcf8b6c2a939edd8c1801616b3136b4
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 10 16:16:44 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Nov 10 16:19:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7941abe

media-libs/libsfml: add 2.6.1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-libs/libsfml/Manifest             |  1 +
 media-libs/libsfml/libsfml-2.6.1.ebuild | 74 +++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/media-libs/libsfml/Manifest b/media-libs/libsfml/Manifest
index 4d099784e2e0..812571c63fd8 100644
--- a/media-libs/libsfml/Manifest
+++ b/media-libs/libsfml/Manifest
@@ -1,2 +1,3 @@
 DIST libsfml-2.5.1.tar.gz 22868556 BLAKE2B b6c70b75a778ffeb141438153fb1e5693c3e92e277919b8f8befe98f55dfd519a67c86504bb5656961b947fcf60758b16a18d5a4ae7585c7c5256f327529ae31 SHA512 7aed2fc29d1da98e6c4d598d5c86cf536cb4eb5c2079cdc23bb8e502288833c052579dadbe0ce13ad6461792d959bf6d9660229f54c54cf90a541c88c6b03d59
 DIST libsfml-2.6.0.tar.gz 25493305 BLAKE2B 205db3aa9fa197dbc29c8b3a74c09651fb9ca8e60bf18e385b8ecfa350d85b31ab33b6d2e61b6cdcfdc3caf77a8af37cbe97445e871b6e688359b320a12a3cea SHA512 aac734e8b0e16936c0238ec792c922923545ec6cf06576bc70004fa1920cd05b4c5e56fbc8a77b650bbe6e202adc39df1d30509dbce95778d04338917a38a87a
+DIST libsfml-2.6.1.tar.gz 25499153 BLAKE2B 0e4251d7aade5a596e9d0afdaa86d843fb5ba3ca63fc4f9dccb2e7db70aa8ae253af30dba68d57dd6869a6142818575e6fd843005a6e54fe186b20b573ad8f63 SHA512 b376d3b00277ed60d107fe1268c210749b3aafcee618a8f924b181a9b476e92b9cb9baddecf70a8913b5910c471d53ea0260a876ad7b2db2b98b944d9f508714

diff --git a/media-libs/libsfml/libsfml-2.6.1.ebuild b/media-libs/libsfml/libsfml-2.6.1.ebuild
new file mode 100644
index 000000000000..eb139865f848
--- /dev/null
+++ b/media-libs/libsfml/libsfml-2.6.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Simple and Fast Multimedia Library (SFML)"
+HOMEPAGE="https://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/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="debug doc examples"
+
+RDEPEND="
+	media-libs/flac:=
+	media-libs/freetype:2
+	media-libs/libjpeg-turbo:=
+	media-libs/libogg
+	media-libs/libpng:=
+	media-libs/libvorbis
+	media-libs/openal
+	sys-libs/zlib
+	virtual/opengl
+	x11-libs/libX11
+	x11-libs/libXcursor
+	x11-libs/libXrandr
+	x11-libs/libxcb
+	x11-libs/xcb-util-image
+	kernel_linux? ( virtual/libudev:= )
+"
+DEPEND="${RDEPEND}
+	x11-base/xorg-proto"
+BDEPEND="
+	doc? ( app-doc/doxygen )
+"
+
+DOCS=( changelog.md readme.md )
+
+PATCHES=( "${FILESDIR}"/libsfml-2.6.0-supress-werror.patch )
+
+S="${WORKDIR}/SFML-${PV}"
+
+src_prepare() {
+	sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \
+		doc/CMakeLists.txt || die
+
+	find examples -name CMakeLists.txt -delete || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSFML_BUILD_DOC=$(usex doc)
+		-DSFML_INSTALL_PKGCONFIG_FILES=TRUE
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /usr/share/cmake/Modules
+	doins cmake/SFMLConfig.cmake.in
+	doins cmake/SFMLConfigDependencies.cmake.in
+
+	if use examples ; then
+		docompress -x /usr/share/doc/${PF}/examples
+		dodoc -r examples
+	fi
+}


             reply	other threads:[~2023-11-10 16:20 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 16:20 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23 19:49 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsfml/ Sam James
2024-11-23 19:01 Sam James
2024-11-23 18:27 Michał Górny
2024-10-31 11:17 Andreas K. Hüttel
2023-10-09 18:57 Sam James
2023-10-09  4:46 Sam James
2023-09-11 12:36 Sam James
2023-09-11 11:41 Arthur Zamarin
2023-08-19 12:59 Joonas Niilola
2023-06-25 19:17 Sam James
2022-12-01  9:23 Jakov Smolić
2022-06-10 21:38 Jakov Smolić
2021-09-12 14:26 Yixun Lan
2021-02-28 12:26 Andreas Sturmlechner
2020-12-02 23:21 Sam James
2019-02-21 10:29 Andreas Sturmlechner
2019-02-16  8:55 Pacho Ramos
2018-10-20 18:52 Pacho Ramos
2018-10-20 18:52 Pacho Ramos
2018-05-20  1:47 Aaron Bauman
2017-11-19  2:50 Tim Harder
2017-11-19  2:50 Tim Harder
2017-10-15 22:08 Thomas Deutschmann
2017-08-31 11:36 Tim Harder
2017-02-11 11:24 Lars Wendler
2017-02-11 11:24 Lars Wendler
2016-11-17 18:08 Lars Wendler
2016-08-09  3:15 Tim Harder
2016-04-12  5:57 Tim Harder
2016-01-07 17:30 Michał Górny
2015-11-03 15:19 Agostino Sarubbo
2015-09-12  4:42 Tim Harder
2015-08-29 18:02 Tim Harder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1699633173.e7941abe9fcf8b6c2a939edd8c1801616b3136b4.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox