summaryrefslogtreecommitdiff
path: root/media-libs/libsfml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /media-libs/libsfml
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'media-libs/libsfml')
-rw-r--r--media-libs/libsfml/Manifest2
-rw-r--r--media-libs/libsfml/libsfml-2.5.1.ebuild19
2 files changed, 10 insertions, 11 deletions
diff --git a/media-libs/libsfml/Manifest b/media-libs/libsfml/Manifest
index 7149415ac377..aef55315a8c8 100644
--- a/media-libs/libsfml/Manifest
+++ b/media-libs/libsfml/Manifest
@@ -1,3 +1,3 @@
DIST libsfml-2.5.1.tar.gz 22868556 BLAKE2B b6c70b75a778ffeb141438153fb1e5693c3e92e277919b8f8befe98f55dfd519a67c86504bb5656961b947fcf60758b16a18d5a4ae7585c7c5256f327529ae31 SHA512 7aed2fc29d1da98e6c4d598d5c86cf536cb4eb5c2079cdc23bb8e502288833c052579dadbe0ce13ad6461792d959bf6d9660229f54c54cf90a541c88c6b03d59
-EBUILD libsfml-2.5.1.ebuild 1541 BLAKE2B 5d59a9fc6342d4ba6fbeae645a37cb514a29d38034f7a808939d6c8c0ab591f472cfd60ee6c2f0c53ebc2cd489196d2e417540e612128d20f66724386c0b0923 SHA512 0e75cf34912d7a520cf081ad2fccec0db53053b1db7150a45882fec2a08487cebb7a3192c04e8839033f52c988ffedd6e3566b08fa1922f11312d632464db4cc
+EBUILD libsfml-2.5.1.ebuild 1501 BLAKE2B de377f3a5fb7d0ccbc79ad824026d6390e1cf083a9b40a0300d2a855b1b47ceb9247ffbf410c834e6956321c0b2974981a5a97f42decfc7ffde98a1758f867ab SHA512 215c7a61421723a0ed2b33ed46efa53910e229320a4d0a67562ad55c7c4726f85782977339b5c34dd38457fc6c706571e47aa84d5837775996e41ffbcd7898a8
MISC metadata.xml 732 BLAKE2B 598678c33da33373a1669f4b9048b95503d9c430730b571b985e4137e034e5104dc509cb0a6605834ef463c6d6438b25bd2bb06ec6ce41d7e1c52fbef7219e3d SHA512 3d709fc7d52858ca5ce62ecc8f7aee20b4812be0b735d6eb66c2d4b5cd48bea5017d3b56dce3735688bdd0abb11ce485c58a5c7d4b7973307cf9877036caa8b2
diff --git a/media-libs/libsfml/libsfml-2.5.1.ebuild b/media-libs/libsfml/libsfml-2.5.1.ebuild
index 159102d00492..2b975f17c8fc 100644
--- a/media-libs/libsfml/libsfml-2.5.1.ebuild
+++ b/media-libs/libsfml/libsfml-2.5.1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit cmake-utils eapi7-ver
+EAPI=7
-MY_P="SFML-${PV}"
+inherit cmake
DESCRIPTION="Simple and Fast Multimedia Library (SFML)"
HOMEPAGE="https://www.sfml-dev.org/ https://github.com/SFML/SFML"
@@ -33,21 +32,21 @@ RDEPEND="
x11-libs/xcb-util-image
)
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
doc? ( app-doc/doxygen )
"
DOCS=( changelog.md readme.md )
-S="${WORKDIR}/${MY_P}"
+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-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -59,11 +58,11 @@ src_configure() {
if use kernel_Winnt; then
mycmakeargs+=( -DSFML_USE_SYSTEM_DEPS=TRUE )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
insinto /usr/share/cmake/Modules
doins cmake/SFMLConfig.cmake.in