From: David Seifert Date: Mon, 16 Oct 2017 02:26:33 +0000 (-0700) Subject: media-libs/libsfml: [QA] Add cmake-utils_src_prepare X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f37b2fde77e066cee6e06759c7dcb759771516c0;p=gentoo.git media-libs/libsfml: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- diff --git a/media-libs/libsfml/libsfml-2.3.2-r1.ebuild b/media-libs/libsfml/libsfml-2.3.2-r1.ebuild index 3a3d39abe39b..ab1db567cd3c 100644 --- a/media-libs/libsfml/libsfml-2.3.2-r1.ebuild +++ b/media-libs/libsfml/libsfml-2.3.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -38,8 +38,10 @@ DOCS="changelog.txt readme.txt" S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${PN}-2.2-no-docs.patch ) + src_prepare() { - epatch "${FILESDIR}"/${PN}-2.2-no-docs.patch + cmake-utils_src_prepare sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \ doc/CMakeLists.txt || die diff --git a/media-libs/libsfml/libsfml-2.4.1.ebuild b/media-libs/libsfml/libsfml-2.4.1.ebuild index fe2e6ac0c094..01bb090a4a65 100644 --- a/media-libs/libsfml/libsfml-2.4.1.ebuild +++ b/media-libs/libsfml/libsfml-2.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -44,7 +44,7 @@ src_prepare() { sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \ doc/CMakeLists.txt || die - default + cmake-utils_src_prepare } src_configure() { diff --git a/media-libs/libsfml/libsfml-2.4.2.ebuild b/media-libs/libsfml/libsfml-2.4.2.ebuild index 20adbafd423f..b27433df7bd9 100644 --- a/media-libs/libsfml/libsfml-2.4.2.ebuild +++ b/media-libs/libsfml/libsfml-2.4.2.ebuild @@ -48,7 +48,7 @@ src_prepare() { sed -i "s:DESTINATION .*:DESTINATION /usr/share/doc/${PF}:" \ doc/CMakeLists.txt || die - default + cmake-utils_src_prepare } src_configure() {