diff options
author | Sam James <sam@gentoo.org> | 2021-04-14 00:39:53 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-04-14 08:46:34 +0200 |
commit | 6f4b1b1d8b597dbe2c0e0aa25faaaa92a43f7287 (patch) | |
tree | 709b4c3ea92f0c5ad80c3a03db985cb010e725cd /media-libs/libpng | |
parent | media-libs/libpng: fix CPU_FLAGS_ARM_NEON configure argument (diff) | |
download | gentoo-6f4b1b1d8b597dbe2c0e0aa25faaaa92a43f7287.tar.gz gentoo-6f4b1b1d8b597dbe2c0e0aa25faaaa92a43f7287.tar.bz2 gentoo-6f4b1b1d8b597dbe2c0e0aa25faaaa92a43f7287.zip |
media-libs/libpng: style changes
* Sort myeconfargs
* Move DOCS definition to global scope
* s/einstalldocs/default/
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/libpng')
-rw-r--r-- | media-libs/libpng/libpng-1.6.37-r2.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/libpng/libpng-1.6.37-r2.ebuild b/media-libs/libpng/libpng-1.6.37-r2.ebuild index 9d45e05e51c9..38d7b6e61955 100644 --- a/media-libs/libpng/libpng-1.6.37-r2.ebuild +++ b/media-libs/libpng/libpng-1.6.37-r2.ebuild @@ -18,6 +18,8 @@ IUSE="apng cpu_flags_arm_neon cpu_flags_x86_sse static-libs" RDEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" +DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) + src_prepare() { default if use apng; then @@ -30,15 +32,15 @@ src_prepare() { multilib_src_configure() { local myeconfargs=( + $(use_enable cpu_flags_arm_neon arm-neon check) $(use_enable cpu_flags_x86_sse intel-sse) $(use_enable static-libs static) - $(use_enable cpu_flags_arm_neon arm-neon check) ) ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } multilib_src_install_all() { - DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) - einstalldocs + default + find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die } |