media-libs/libsfml: [QA] Add cmake-utils_src_prepare
authorDavid Seifert <soap@gentoo.org>
Mon, 16 Oct 2017 02:26:33 +0000 (19:26 -0700)
committerDavid Seifert <soap@gentoo.org>
Mon, 16 Oct 2017 02:46:58 +0000 (19:46 -0700)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

media-libs/libsfml/libsfml-2.3.2-r1.ebuild
media-libs/libsfml/libsfml-2.4.1.ebuild
media-libs/libsfml/libsfml-2.4.2.ebuild

index 3a3d39abe39bc1b2a3065b92907187e12b16849c..ab1db567cd3ca25abb6b3dc807a2aa6c4b7c58ba 100644 (file)
@@ -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
index fe2e6ac0c094d20017919ffd92c785846adbcadb..01bb090a4a65de0f78b498489f6d6f825fc02600 100644 (file)
@@ -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() {
index 20adbafd423ff682c1522062e6f7890b98873747..b27433df7bd99adfb3956e6ee14650363e2e7958 100644 (file)
@@ -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() {