diff options
author | Sam James <sam@gentoo.org> | 2022-09-10 08:37:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-10 09:40:14 +0100 |
commit | c8448966c346af2ebb288b6a773f355b3013939e (patch) | |
tree | 29a7e0b2a2b3d272bc316a32f3c28e0d4b5976a5 /media-libs/libsfml/libsfml-2.5.1.ebuild | |
parent | media-libs/libextractor: add media-libs/flac subslot dep (diff) | |
download | gentoo-c8448966c346af2ebb288b6a773f355b3013939e.tar.gz gentoo-c8448966c346af2ebb288b6a773f355b3013939e.tar.bz2 gentoo-c8448966c346af2ebb288b6a773f355b3013939e.zip |
media-libs/libsfml: add media-libs/flac subslot dep
media-libs/flac-1.4.0 breaks ABI.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libsfml/libsfml-2.5.1.ebuild')
-rw-r--r-- | media-libs/libsfml/libsfml-2.5.1.ebuild | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/media-libs/libsfml/libsfml-2.5.1.ebuild b/media-libs/libsfml/libsfml-2.5.1.ebuild deleted file mode 100644 index 42bc3556d5ac..000000000000 --- a/media-libs/libsfml/libsfml-2.5.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 ~arm64 ~ppc64 ~riscv x86" -IUSE="debug doc examples" - -RDEPEND=" - media-libs/flac - media-libs/freetype:2 - media-libs/libpng:0= - media-libs/libogg - media-libs/libvorbis - media-libs/openal - sys-libs/zlib - virtual/jpeg:0 - kernel_linux? ( virtual/libudev:0 ) - virtual/opengl - !kernel_Winnt? ( - x11-libs/libX11 - x11-libs/libXrandr - x11-libs/libxcb - x11-libs/xcb-util-image - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( app-doc/doxygen ) -" - -DOCS=( changelog.md readme.md ) - -S="${WORKDIR}/SFML-${PV}" - -PATCHES=( - "${FILESDIR}"/${P}-musl-1.2.3-nullptr.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 - ) - - if use kernel_Winnt; then - mycmakeargs+=( -DSFML_USE_SYSTEM_DEPS=TRUE ) - fi - 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 -} |