From 1bf3355bbadbe4c35dff1e110b7d0c2d9054cf36 Mon Sep 17 00:00:00 2001 From: Paweł Hajdan Date: Tue, 7 Apr 2015 20:34:44 +0000 Subject: Version bump, bug #545872 by Martin Wohlert. Package-Manager: portage-2.2.14/cvs/Linux i686 Manifest-Sign-Key: 0x4F1A2555EA71991D! --- media-libs/libvpx/ChangeLog | 7 +- media-libs/libvpx/Manifest | 33 ++++----- media-libs/libvpx/libvpx-1.4.0.ebuild | 122 ++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 17 deletions(-) create mode 100644 media-libs/libvpx/libvpx-1.4.0.ebuild (limited to 'media-libs') diff --git a/media-libs/libvpx/ChangeLog b/media-libs/libvpx/ChangeLog index d9802430d19b..5ddbcd593067 100644 --- a/media-libs/libvpx/ChangeLog +++ b/media-libs/libvpx/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libvpx # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.117 2015/02/05 16:00:23 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/ChangeLog,v 1.118 2015/04/07 20:34:20 phajdan.jr Exp $ + +*libvpx-1.4.0 (07 Apr 2015) + + 07 Apr 2015; Pawel Hajdan jr +libvpx-1.4.0.ebuild: + Version bump, bug #545872 by Martin Wohlert. 05 Feb 2015; Michał Górny libvpx-1.3.0.ebuild, libvpx-9999.ebuild: diff --git a/media-libs/libvpx/Manifest b/media-libs/libvpx/Manifest index 3b019c0bc000..3ed6b676ee1e 100644 --- a/media-libs/libvpx/Manifest +++ b/media-libs/libvpx/Manifest @@ -9,32 +9,33 @@ AUX libvpx-1.2.0_pre20130625-armv7.patch 1480 SHA256 80518bcba1f7e8dce0a89cf4c69 AUX libvpx-1.3.0-dash.patch 387 SHA256 2cc615c50ea4eefad81757ee23342802b30da504ee573a8167e1d7cfac83fc2b SHA512 577a24f76e90b18a1e933cd31a20d99bc41728c2cdb8301ec260e0df643664fba65fc90d279e1fd54b1330bff6a297f5d2517184004568776807d38ab10cca60 WHIRLPOOL ab7b44552ca0f604d202309f4783226c333a4990ecafaa0e3310d43875ab78a098f6c93a17494d746d7b3f5e308a5b65c4e29991d9f8457663bb1ba01b23c1c0 AUX libvpx-1.3.0-sparc-configure.patch 475 SHA256 0854c8886cd3b2e74fc284db5f17984ebbc4afbfd96a64f90aa9d5390c1c688e SHA512 39b3e5563db9410ec2cf39bc72276b0ccb8ac0ffff479b3896bc4243981d7d59a96523baac067823126b2dde88211a87b7f615ff7a021b774449cb00b01d5c64 WHIRLPOOL f074ce8a4790caf67091f03edcfcb657fb2cd830331926bffe6355811362f39abb6148302c99c45e96c50a507dcd3bef66ac5a8b04d3153ab72a7c0149ad5b72 DIST libvpx-1.2.0_pre20130625.tar.bz2 1726341 SHA256 61e7a3b0e0587ed899fb5cc8240324a4f578489abf06c8916abcb59d322f6b58 SHA512 198575c2adec26e7772f59eb4915dda2fb0de04ca5980b51057557ba6a15f0fb6ca9a0db583866fcbe2585939b8cc09500642a0aea46ac2b696ec1ae54cf6c7f WHIRLPOOL 194df8c550a302e678aaf0959ea395185aea004206d24b969263ffedf77adfc76f04f5bc89cbbd66e9d7d925e07cedceb698507c92afba8d4096839b6575ae1f +DIST libvpx-1.4.0.tar.bz2 1807989 SHA256 f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4 SHA512 70234220e0ed64db000689ec8bea02dadef938a4f4dea96e5781d361c15245456212c1b6aec2b698d32ed423e73917d2303009e49224a2237669cab416dd6984 WHIRLPOOL 309055669aea96f8ed051ae33d2b86c4aac2096be43ac7140812d2b42e0b1b6e609d86206a01268137f18769f967cbd074beb75fe5b059ced71a1caefb8dcb05 DIST libvpx-testdata-1.2.0.tar.bz2 43521881 SHA256 41dc3eb8ad0b24177ccc43f7dd6ec7946f78e6aaa5ff94d0883487e02eb4da2c SHA512 77d909435137965d2d13d5bbd053e658664caa035dfc60b2ba91d075a37624ed27d75cac53f013c8043624fc9b56219ad0b0dd20dd4eecc471935b2757110637 WHIRLPOOL 19c3d8d27e03407098f9e9f3120c242b25bea442aa1fb1755b63fce875662ec00942949af3c5e499f6e18ccfef67f18e1403c226b288e925786ef6fc64e112e0 DIST libvpx-testdata-1.3.0.tar.bz2 45380954 SHA256 0956429f629f068b734d760f6af49bbb679ee65f8d860bbf2cb4e2c574c03550 SHA512 fe96c16c8aea352dd145ee73058404024b13b9bee1d3431ac2513e3636d13880d1fa0eb9eeaea2805fbc2ec8dc6e2be381c6d50baac472a0de835b0563d63c94 WHIRLPOOL 0cc5a39405a0de6238beb7f3da5b01845e4bc39a3b9858b13c73dd69bed275964c13d62468c7fb3a1af33fb7bc5d65ddc5abfe87a71b21c5d3575924e29734da +DIST libvpx-testdata-1.4.0.tar.bz2 113132379 SHA256 8458297dfe6ecc168a6bb3b41260aeef5c35296b99ced888767f70af40a50046 SHA512 5a0402ce1943fcd1a0e954a42728a409a512c9382883c227adea399f4ca4ff8b7d72d0247dce842c3e929dce86ca2bdad935fc82d3ee58ea72291c8fcdeca393 WHIRLPOOL b4b451be2074a1af1e36c757ac14dc41c764a32eeb4b4fed2bbb38030e51a18d0c37afd71db3118dc4af4546e212946fabc6e1cf453ebee88e66a43045c938be DIST libvpx-v1.1.0.tar.bz2 1653485 SHA256 9ce074cf4b3bcd9a49ff93e05485b71c273bfc3685a305e55a0e7fa51beb72c5 SHA512 5c165a1a171143f7c406ef899914a353d35f6dec0e3c49eec9a4f3311fd4072dea2e0da8ceb80651ad23e24cdbf2d6da328805bda8be042bbea2c65c9e53eaaa WHIRLPOOL 2dc8164e3f812903a1b52901438857bcdf172cb1d979f1ced45933fc12ffbb0c49e2a6c02b0c6f3360f48b146e1e5c6ea25c1613abafc3089030f6c1e7af92ed DIST libvpx-v1.3.0.tar.bz2 2084229 SHA256 d3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a9 SHA512 af26766a3336155c5bc7b8cce7c23228de054287b990f9cacdc35273384a7af4999c01bb623d12143f40107036308a8b3207081efe67936748503c30c985fd6b WHIRLPOOL 03de78d6701daab8847c453317d8cc0a22e4a332994b7e1f55c5d6953b7f3acf94f3c623943dd8588bb1a174df4f7d9a8b8bc889f50823d92767c40c96fc5e68 EBUILD libvpx-1.1.0.ebuild 2943 SHA256 e892752a61bea9e354660733f0355353bd6a317c4c6dbe1f487976e2c2feae37 SHA512 92a6420c7add19017c487af2bc0ea0cf9a0f92d719d35dd5a4dcadeaa49e16d22af54bb841c594369d7e33ab63b1dc038e1f62996afa4030580a568869a7cfd7 WHIRLPOOL 39df3b07e00cde919ab38e9e0acc1f49c1d1ad836fb45c2df0151a86b3cd284b0eb0f31a0360bca42432ce2e36203d483f2faa8625a308cd48a5cd6fdab64ea6 EBUILD libvpx-1.2.0_pre20130625.ebuild 3727 SHA256 feae23ac0473cb94e3e1acaa5a76ff1ae3fcdbe648b1d9113ae7b72b2cf44e5c SHA512 ef38d92a45e949b2131df705df6e2bbd0cfcfae0cf5e8da941dc57abac11854267bc697a7d476a76e8232dba32961336c7d63618e2894b9752c2605f9e5585ca WHIRLPOOL 0f83cdb7b919f15c7c0a572a1147d281e643e8f343e0800a4304dfcd33bc280c0c7c08a78142b39b9e53f74f3f025404e781e3eb076fd187f7b1a5bb6539538d EBUILD libvpx-1.3.0.ebuild 4018 SHA256 c4022fe04b1d715813576f50723c6bdf7aac5c48d28571fbc2ad732a3c0c4a46 SHA512 a594b5fa478c566f5aededa3acdf551b3900ec8cdfb59ba201257bfaa5cc4bb88733ee786c5b7c866ab8ae234797e8965f6097f73e17a556f2f634ac449fd49c WHIRLPOOL f5d729ff92bc62817a2bdf93e01512f2149bedab928962f20d5da2b76b6d7ca7c18b1aa02e3d0cd904d4126b280d7247ddec92cdf45f4b1da75f72018efb93a1 +EBUILD libvpx-1.4.0.ebuild 3993 SHA256 21e0657989bc1b3afcf906f4382579e4d3a262bb83903acd9176558c9065e20c SHA512 3444fbecd629ac5b9173c467863c9282ee2c8baea980600d3a07ee3c645ac5b121b1b1f48a9227448e03ac38904df7c1888981bd96e5b7fe50eec815a3ec0cba WHIRLPOOL 038ebb008125f9bcdb6d6ce63d6822ea5bc55f16377e6ae1c24dd41099168844ac181ac9af6ba7464f37cc637c0c22132ba69dd9c49897e2721ec0393e7aaba7 EBUILD libvpx-9999.ebuild 3871 SHA256 4c9d490e0b2007b807db80d6f28f11dcfe73b0034758133f885c4424d9ab7c4d SHA512 ff8113a507b7bf628618507d4696db41867210097cd1b43e1eff48fe20396ff3cf09b72f5e96fdfd1451e18ad3992a22e2f29ce903b8703c522f228685cc66a0 WHIRLPOOL cf75c3eba5a800440d9493fc4ce5fdcaeb2f8bc838847d9130476a23fe5afa2dc64652e72e078ca30d200f6fd5f7c3da19304c49a45b3570dfe9ebd9fcf2b328 -MISC ChangeLog 17269 SHA256 65a792890e5cf4fafa9400cc2c13920f68f19ec37844654f93699525fa1fe8ca SHA512 9ab6bdfe22395258161cbd32f89fe1cb5bd276ff424295304653d2855a3821b6cd880f2c57178e11836cfbd63c3ea8eb76145b022d91889ebf8d6a4060498116 WHIRLPOOL e01dc97a6a32e69a915f958a9adf4ec1df78a8905dc2e57a03cb8babeb7a8d24c554b0b4e5c0516e5418133515effb8c0afa27fc4505514719b2c5b2fd2dcbbb +MISC ChangeLog 17427 SHA256 69312c78ac3f575f02bd829893a37a17d13607088162025d6a76f2aed05619bb SHA512 5646b51b9aebbbf5cd24f31ba8c8a4d2c7350dc70b7794cf6193526c47ad55a8bc0d6e3f1afe897a9d4fee335e02eaba4c479acf023c9bcab1d9dccd62a1607f WHIRLPOOL 0a6cb238a41ec37032f7c004ec00616b5d4d49d47e589fae83b049e8cc124498c1e4b9942d45e4ca3f400120f8c36353dedfc8dc0156ce157252116e7db30b86 MISC metadata.xml 413 SHA256 8b3166e69e516607b6b438464fc78be663aef1baa22a13472e56e1b199a7dff4 SHA512 267f60229a29e07401b6e699589f9ef02a479e64a89932dbd490b9f03de3a793a2f0512b25a656a6a56bca8370f51d08f2998578677f3b40927f2312826a2aa2 WHIRLPOOL ad89e65f8cc8d471223605ef02a4772fdf124375338fbaefaebc4d88aa600fe2cdefc3bfc7067beb3c03f3b4910834f6f044e9787afa9aab75a1ceb47fda05cb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJU05OaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOXFoQAKlJPF+5ubqwxmrAEUIV5bdk -dvkhZbOihnDXTe1V/hLLfjTYUdhw0yeOp0jOdkXvQ6fK95vBwj1EbtrmGotqfn80 -xXK/AhLOecgI9v9iU6CYgaZg9Sj3LBLCR4Xy9sBhcg0hX60v2G95WRQq5pGFW/MV -Dz75QDKotwdN2PW3BNZfDhlXoLq9UK2le2pTEwIJwWh0Rr/eMARGBpOi/ukLI5no -wy+N0U5pZ8XKUMlnW0+tDPhPAOZiSY8ALfo/vVvSsJnVbtdLMFrOaddWDHxUiyUS -rohL+7Wc2FWCJDVbCTPf2yLGq/uEqQS89l/gjaK6uBnwZ5ksWTcbLryL9RDqhst2 -zYQsjLQIxAEeKNqf25yK2Bd7BQaCCpSJC1qlBqsxBYL3Jo1lRbwcAJ7Ea8XUnYqs -ie219DxZ0QBYqZjeBTONuR2BJNTWb35xkpIkBIaA+syzRDlIvKQpmLIaYWnIBrRV -5186sjhWivFqlzcuMlKVBkwiFomSfgvPZMQCU2U+rPpueV3j8Ferw16N/Che07PO -Er/NlsSJMuySHGa4JpQ0rCwuDLG1eH3aJtq35rFU/QNgOxLnArhZ/QnvEElnWrPB -4JS9O9you+fLqUqm083mLaeVr1ElLcV/5v9xMGJvyyWbP/7XV+GDwXGrsldBZlpt -UbV4aUR+yxJ/fHjDSQWB -=UUEn +iQIcBAEBCAAGBQJVJD9XAAoJEE8aJVXqcZkdR4EP+wViN2MzF7+UfGcULSAsFDTk +2nMTVuaVToQzyT5MT4tpgqTYNoYfw8zithb7r3RAdm3Zyc+Qtz8DSFCCkRaB96JT +tvmaRQHyRrmvFT1PI3PxmgVkhha/kyYPl1rnLNtNYDrBLrOZkZSb4JSvQebf+q9l +MU0Zn1cF0UqRVkAFcOO2GXOOGgsMyjz9+ZD+j12s46AvouHi4Zu5DPJtsFQJZyW7 +qAWdIHK1grNEnqaEkFQ3U03RKFq+YalSlq0+eqQDTzMT7924zAa/hTKVZ2kT8+7G +jNWhu7Z1WXdDY9ey/swiRF2JJGL4vOm2N/TvdHG/xplZAdtJgWTZ4Dovmk7OYGHl +neC6nBQNBtoW4ckCy7KsuujDz+0G4fc+7HMz8wSFS66UQT/FMjGMUWI43u5koyyk +EcdbMq37BaKbB4grAputSXYHjaCPag5HjXO7IYCb5hPN0278eWGjt/L0nEOXsrRo +k+5GU905YK789ugtRjsesk5+vGKZmv8kevyZRBPhDwJ3YHP9C2TbBRApoR+FhHgE +VTtJnpj1+ZYkO9FZxgPYPWVFbZG3FKMAuLv+hjzk7l40kG5a0zMAi4BpYevUwPfh +r1pSxYJ2+i+IhfMVtTPtbzwh5/poPrpoo8+jhmE+o/NdkCFCOScI3RVpc7mtujB0 ++UBKbPgJBoVFoVDTYAN/ +=dqfP -----END PGP SIGNATURE----- diff --git a/media-libs/libvpx/libvpx-1.4.0.ebuild b/media-libs/libvpx/libvpx-1.4.0.ebuild new file mode 100644 index 000000000000..8084f8463c16 --- /dev/null +++ b/media-libs/libvpx/libvpx-1.4.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libvpx/libvpx-1.4.0.ebuild,v 1.1 2015/04/07 20:34:20 phajdan.jr Exp $ + +EAPI=5 +inherit eutils multilib toolchain-funcs multilib-minimal + +LIBVPX_TESTDATA_VER=1.4.0 + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="https://chromium.googlesource.com/webm/${PN}.git" +elif [[ ${PV} == *pre* ]]; then + SRC_URI="mirror://gentoo/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +else + SRC_URI="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +fi +# generated by: make LIBVPX_TEST_DATA_PATH=libvpx-testdata testdata + tar'ing +# it. +SRC_URI="${SRC_URI} + test? ( mirror://gentoo/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.bz2 )" + +DESCRIPTION="WebM VP8 Codec SDK" +HOMEPAGE="http://www.webmproject.org" + +LICENSE="BSD" +SLOT="0" +IUSE="altivec cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 static-libs test +threads" + +RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" +DEPEND="abi_x86_32? ( dev-lang/yasm ) + abi_x86_64? ( dev-lang/yasm ) + x86-fbsd? ( dev-lang/yasm ) + amd64-fbsd? ( dev-lang/yasm ) + doc? ( + app-doc/doxygen + dev-lang/php + ) +" + +REQUIRED_USE=" + cpu_flags_x86_sse2? ( cpu_flags_x86_mmx ) + cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 ) +" + +src_prepare() { + epatch "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010 +} + +multilib_src_configure() { + unset CODECS #357487 + + # let the build system decide which AS to use (it honours $AS but + # then feeds it with yasm flags without checking...) #345161 + tc-export AS + case "${CHOST}" in + i?86*) export AS=yasm;; + x86_64*) export AS=yasm;; + esac + + # http://bugs.gentoo.org/show_bug.cgi?id=384585 + # https://bugs.gentoo.org/show_bug.cgi?id=465988 + # copied from php-pear-r1.eclass + addpredict /usr/share/snmp/mibs/.index + addpredict /var/lib/net-snmp/ + addpredict /var/lib/net-snmp/mib_indexes + addpredict /session_mm_cli0.sem + + # Build with correct toolchain. + tc-export CC CXX AR NM + # Link with gcc by default, the build system should override this if needed. + export LD="${CC}" + + local myconf + if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then + myconf+=" $(use_enable doc install-docs) $(use_enable doc docs)" + else + # not needed for multilib and will be overwritten anyway. + myconf+=" --disable-examples --disable-install-docs --disable-docs" + fi + + # #498364: sse doesn't work without sse2 enabled, + "${S}/configure" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --enable-pic \ + --enable-vp8 \ + --enable-shared \ + --extra-cflags="${CFLAGS}" \ + $(use_enable altivec) \ + $(use_enable cpu_flags_x86_avx avx) \ + $(use_enable cpu_flags_x86_avx2 avx2) \ + $(use_enable cpu_flags_x86_mmx mmx) \ + $(use_enable postproc) \ + $(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse4_1) \ + $(use_enable cpu_flags_x86_ssse3 ssse3) \ + $(use_enable static-libs static) \ + $(use_enable test unit-tests) \ + $(use_enable threads multithread) \ + ${myconf} \ + || die +} + +multilib_src_compile() { + # build verbose by default and do not build examples that will not be installed + emake verbose=yes GEN_EXAMPLES= +} + +multilib_src_test() { + LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" \ + emake verbose=yes GEN_EXAMPLES= LIBVPX_TEST_DATA_PATH="${WORKDIR}/${PN}-testdata" test +} + +multilib_src_install() { + emake verbose=yes GEN_EXAMPLES= DESTDIR="${D}" install + [ "${ABI}" = "${DEFAULT_ABI}" ] && use doc && dohtml docs/html/* +} -- cgit v1.2.3-65-gdbad