diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /media-libs/libwebp | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'media-libs/libwebp')
-rw-r--r-- | media-libs/libwebp/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libwebp/libwebp-1.0.1_rc2.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/media-libs/libwebp/Manifest b/media-libs/libwebp/Manifest index 828c95857b38..ac98585065a1 100644 --- a/media-libs/libwebp/Manifest +++ b/media-libs/libwebp/Manifest @@ -1,7 +1,9 @@ DIST libwebp-0.5.2.tar.gz 1221153 BLAKE2B bf8f20c9dd45f70e68dda4eb1104b511be07b4e7bf13850e376c6fff32cf18048f46c718c900fedd6150b010b4a33d96dbcb602e1b0cd693c13dcec7954a2234 SHA512 f0d798e0ef8b58bc159c53214a62b29dff4309ced9efd7c5f0e6f837877906db8318c4c3453f92725ef6f2b069b931ce3e7961ca26db723a31eedc7b52988de2 DIST libwebp-0.6.1.tar.gz 3990217 BLAKE2B 680dcc56bd10797e93d09dc64ed04fd2ffb0b8131aa0c0f1497054c50f5cff73b7ee2aa96df4f7ca760640b636f6f5265ae26e7874a77a86d39d2c74197c93b7 SHA512 fece551d8fabdd8d7ba6807baa54a69a345f8690be4415dd0c0dea54002d78fe893a5d5aacfc13800300edd462b969d596709ac3213f6bc90f8e3698b2490d5f DIST libwebp-1.0.0.tar.gz 4023549 BLAKE2B 10286182ddc1f3561d01edf095ba8921b932b950175c45bbc86400318f9a88237c7623b0bcdd0dfecea6efb085e84e029c82a61396cb784d778d59902353d2b4 SHA512 2af7036957722a3f1533fa2da0da15c76d7eb8ac98ec4ad5cf71dd4262f3d7c9897fb6b50befab83b7de22f0abceeb2c0ff52d60927513d40f8a41aa6a9abd99 +DIST libwebp-1.0.1-rc2.tar.gz 4030402 BLAKE2B 1ccc5e810add63bd8fa3690e389e84fcc7d5f5f67726911976484b0a3852e05d7c98a8631933456174951f64a87c0a4378fb818d4adf0796c9c8b6bb1c470668 SHA512 fa48901ccabc5cd4a4178f488167653d91d05a89adfe168d43789de98ecb18a8ba378996d6f55fcf099a74bb8449949b2b11bccbfac643829f96322c3185e0ce EBUILD libwebp-0.5.2.ebuild 1770 BLAKE2B 3ad8b99c05e38a51755fd047be8e51339dafff3dbdd829012252427308d1417bd3ddf7d6e7a1d7b039b6de7cdda987913085b7006b499acaa3aba43bdea681e5 SHA512 3d30b059d51b531cc22b2497c955cf3a4752042d2bb9af655932e5ee8e122101d03050823925064e34c2d52a3d9fb8d294413c502938f2eed0cf2af51dd2c2c9 EBUILD libwebp-0.6.1.ebuild 1780 BLAKE2B afaa8d09c4ea4ae4e7c6c9a9f58620518e46b2b9946dbb148291c507c7daa568831063db2ce1dd0e7ae4539114ee3e82ce0a0f4ad1f07a739d8e6409e39c22b7 SHA512 b258c8ab17c12ccf7c5daf68edfb6bbde1fcb32f65949ecdb6ca8df8c48fd437971e4bf4ef6890b4fe4ee5438c7ad96e772fb4f20925f4012b7a6b87d80b5115 EBUILD libwebp-1.0.0.ebuild 1824 BLAKE2B c1d551960e915c4c6984182b1211a007373f32dbc16612a355dd7c53dc0701da7672b1e75d1ea6a1c8d4689c54684047efb553f30d3ad321524aa7ef85b68f47 SHA512 06800280eaefc56b6cb8dd8cafb7531ab24ffcb15b05163b9adc0a5509c1a7fabc5f1dedd3637a1efb0ec1b38b754ec6c4657fdd9acc6aba14cb6739f53f5e5d +EBUILD libwebp-1.0.1_rc2.ebuild 1761 BLAKE2B 72ab4cf6b3269972c530cd1cdc37f2c82acd72ab4255595b871b990596f1aad75abf777d44c7d60259a634f088c13d310cb4649905e67562845d1852307bc6b7 SHA512 7e0d4b2b57c739b5eafaf6e86f5957ed9a8d7a044016f5cf080614a1dc4f4875864493a4b61e852287014b0703fa0b0048d2ac90ff9cce8875821df9f8fe01ab MISC metadata.xml 626 BLAKE2B b3ca86f5241deb376b10d159d67eb6001b2a3d8700167b0bc512c067a6b7c72e6a53173e6f22a8a8a923097d67eec93642ed92c132743980cbf27af022f15e1a SHA512 b7348f6c830bb9537f97fcc0f3cbf8b55491913ea45020005734088e7c1aa71dfcacab9dd87bf3085e79554a3326f90b6c30543ad41f08d863639732132be78b diff --git a/media-libs/libwebp/libwebp-1.0.1_rc2.ebuild b/media-libs/libwebp/libwebp-1.0.1_rc2.ebuild new file mode 100644 index 000000000000..0249cafc917b --- /dev/null +++ b/media-libs/libwebp/libwebp-1.0.1_rc2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools libtool multilib-minimal + +MY_P="${P/_/-}" + +DESCRIPTION="A lossy image compression format" +HOMEPAGE="https://developers.google.com/speed/webp/download" +SRC_URI="http://downloads.webmproject.org/releases/webp/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/7" # subslot = libwebp soname version +[[ "${PV}" = *_rc* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~m68k-mint" +IUSE="cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 gif +jpeg neon opengl +png static-libs swap-16bit-csp tiff" + +# TODO: dev-lang/swig bindings in swig/ subdirectory +RDEPEND="gif? ( media-libs/giflib:= ) + jpeg? ( virtual/jpeg:0= ) + opengl? ( + media-libs/freeglut + virtual/opengl + ) + png? ( media-libs/libpng:0= ) + tiff? ( media-libs/tiff:0= )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + + # Fix libtool relinking, bug 499270. + #elibtoolize + eautoreconf +} + +multilib_src_configure() { + local args=( + --enable-libwebpmux + --enable-libwebpdemux + --enable-libwebpdecoder + $(use_enable static-libs static) + $(use_enable swap-16bit-csp) + $(use_enable jpeg) + $(use_enable png) + $(use_enable opengl gl) + $(use_enable tiff) + + $(use_enable cpu_flags_x86_sse2 sse2) + $(use_enable cpu_flags_x86_sse4_1 sse4.1) + $(use_enable neon) + + # Only used for gif2webp binary wrt #486646 + $(multilib_native_use_enable gif) + ) + + ECONF_SOURCE="${S}" econf "${args[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die + dodoc AUTHORS ChangeLog doc/*.txt NEWS README{,.mux} +} |