diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-24 03:02:55 +0000 |
commit | 530a5a826feeb71085fb8a01927f4d775a0b131b (patch) | |
tree | b7669c45ea3f2a3a37b2437817a370226bb1c819 /media-libs/libsfml | |
parent | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (diff) |
gentoo auto-resync : 24:11:2024 - 03:02:54
Diffstat (limited to 'media-libs/libsfml')
-rw-r--r-- | media-libs/libsfml/Manifest | 4 | ||||
-rw-r--r-- | media-libs/libsfml/libsfml-2.6.1.ebuild | 2 | ||||
-rw-r--r-- | media-libs/libsfml/libsfml-2.6.2.ebuild | 75 |
3 files changed, 79 insertions, 2 deletions
diff --git a/media-libs/libsfml/Manifest b/media-libs/libsfml/Manifest index c098bd3ff70b..38761cfe8277 100644 --- a/media-libs/libsfml/Manifest +++ b/media-libs/libsfml/Manifest @@ -4,7 +4,9 @@ AUX libsfml-2.6.0-supress-werror.patch 1618 BLAKE2B af0be020c1548bb793c332be85ae 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 +DIST libsfml-2.6.2.tar.gz 28624288 BLAKE2B 52442ef05a2719c1e7cd45ba15a4a41af7f3026c7c3a01c55993769bde39c9426962d640ffa2ac293dd4d90b9290b5f0895fffe7c10d3ffadbc189b10001c7ff SHA512 d8a8bee3aa9acda4609104c2a9d4a2512e4be6d6e85fd4b24c287c03f60cfb888e669e61bfac4113dae35f0c3492559b65b3453baf38766d8c0223d9ab77aada EBUILD libsfml-2.5.1-r2.ebuild 1533 BLAKE2B 1aed471d3d5d6090d1fed261ba85335c294648eb5d727f5d440842ba038479eb13b46a7be5549851407ea0ace87c4e15266c4700c686804cdae5511e7c858d0d SHA512 d5f281d020e0e006a64c0c72442bbf415bab26315f819d0828967514711b71844e50748bdecd20ef93e38c5059df7f7b802de5b54b218367613b610694dc810b EBUILD libsfml-2.6.0.ebuild 1535 BLAKE2B bd71c06068cb95b3dab8164120b24d546f397933b4654851edb2e50d9ea2c1551e3972b57eb48af786dbe7cbc4cd8f1179d9f977af6b0e603bb1d12b58f6dbbe SHA512 27a71be7c35fdcae83b9ca92c6eec35a87a0e8fef02839fd4edf3bb3c055692517fc7e8a7c813f01e741b05ecc798b3cb81597b2206c824c42233ed8fb1411b4 -EBUILD libsfml-2.6.1.ebuild 1537 BLAKE2B 04ad774940fb0cfc99032ed61d888b7886be11969f66e284a2f81d896dd6c8e816605340eeb96ac3896f173c9146788ba93752ba436d28dab0c377bb9e4d94d8 SHA512 25aa08f1f5a43409aa628309f4e16a6c9430e11bb88b2e203ac975782ef74d507ce34bdf84f60bdbc0d1b1060bd0b863f4d30053a5b295d56a9fc92c9344deb4 +EBUILD libsfml-2.6.1.ebuild 1535 BLAKE2B bd71c06068cb95b3dab8164120b24d546f397933b4654851edb2e50d9ea2c1551e3972b57eb48af786dbe7cbc4cd8f1179d9f977af6b0e603bb1d12b58f6dbbe SHA512 27a71be7c35fdcae83b9ca92c6eec35a87a0e8fef02839fd4edf3bb3c055692517fc7e8a7c813f01e741b05ecc798b3cb81597b2206c824c42233ed8fb1411b4 +EBUILD libsfml-2.6.2.ebuild 1539 BLAKE2B 9ed6ffd729666923b520b647a7c9c1bca43d967a6bd454daf446077d0d27d733ebd3af718bf6872ab84467cee7f37a94138abd302875a3db4b94baea289f0429 SHA512 8b4a14f8327a67a1eca34992d62fc1a894d6d4bf0864a50b7e1dbe89b37e9a31f33e99f3f22fda5cd1b4dd50d2773cbdf7c118a6019710b22b1d4465220e1a4c MISC metadata.xml 733 BLAKE2B c5b2bf1cea8b01c89531f68544f8b82dc3f8b8e26327ec868cf2ce1beabd6b1b0e977ad4a5dd3cdcbe3ae0fd66930f0c411023d77f9c4a5f7464d90209fa6f6d SHA512 ffb4954d9d55f0ab147c8ef2d5e970ef728b0dd1ad78f04aac16346583a9b858d3861f6f3bfe0940ca4b41c23abf8904bf3e0160d347d9e007efa047e663ccda diff --git a/media-libs/libsfml/libsfml-2.6.1.ebuild b/media-libs/libsfml/libsfml-2.6.1.ebuild index 87c36048ce3e..7427b45b2650 100644 --- a/media-libs/libsfml/libsfml-2.6.1.ebuild +++ b/media-libs/libsfml/libsfml-2.6.1.ebuild @@ -11,7 +11,7 @@ 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" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" IUSE="debug doc examples" RDEPEND=" diff --git a/media-libs/libsfml/libsfml-2.6.2.ebuild b/media-libs/libsfml/libsfml-2.6.2.ebuild new file mode 100644 index 000000000000..771d64d56587 --- /dev/null +++ b/media-libs/libsfml/libsfml-2.6.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 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" +S="${WORKDIR}/SFML-${PV}" + +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-text/doxygen ) +" + +DOCS=( changelog.md readme.md ) + +PATCHES=( "${FILESDIR}"/libsfml-2.6.0-supress-werror.patch ) + +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 +} |