media-libs/openh264: drop old

Package-Manager: portage-2.2.26
This commit is contained in:
Ian Stakenvicius
2016-02-17 12:07:32 -05:00
parent 537acbec9d
commit 1aca0635f5
4 changed files with 0 additions and 247 deletions

View File

@@ -1,5 +1,2 @@
DIST gmp-api-Firefox36.tar.gz 15182 SHA256 2cdc1284a939cda0a6fe45a8c798637cc7d959c9d757d5b0c6d2dc650a037624 SHA512 69f367a83cca01c046abf1e6d4fdb2e1587d321ffd5c7795d33ce6b271e9e9ea588e1c363ac84c3e690410e79aa73cdf64b8f12e4726392b1adbe1a1900e4bd8 WHIRLPOOL c218e9e8ae80a84495f495dcaf545eae2e3fa611a43e6dd5b1e21adeda1dd000ac8160d8a1439d523395c36d939a762aadba18db724bd3c02169c47ffc1a1bc9
DIST gmp-api-Firefox38.tar.gz 16209 SHA256 6b156afe850c0d6faf0492ca5feeff4358e50ddc5ce3022ddcc6905a5bd21c80 SHA512 9aecbc84b1ba2fcfcb10c56680d92a72dd55f7ef7b8a68a3950dbce65fb7eb2c5e6a211149889f618bef2468ba1f3f8c01dc63e86e0a30d9295b019b75657eb8 WHIRLPOOL c12eb175ddf11f0ece400cc34bf9d5e690494fd4630c12667eed3765b66a625a1f9a3b41e20fc5a0c0f614eafbd75b6ddd5bd2a827077cfaac507a3f41990c42
DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 d8359d004116eba6d2444486abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856 WHIRLPOOL 5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c
DIST openh264-1.3.1.tar.gz 37642592 SHA256 b0a9a61840b4a58fbadd2a0640a81917c0ee84e922d2476c1dbcb9f29b85d7a0 SHA512 e85e300a85cefc89a66fdebebe2f059c2c3262518f614c660535312b3ea441064a1288824bc488b741bcffa076b165eabf998d1b535fb377516695326be625c9 WHIRLPOOL 5acc9645b65c2b75d117bcbff24554e0b9567514427bc8d9dc8e8eda0d45080600bec12cd8d435ab605f8226cfc321d1c371c292cf26d30a29a77fd187db6dc4
DIST openh264-1.4.0.tar.gz 37681189 SHA256 a1b9a7a7f1ee204793c613789a505f0971bc2b03b3dbd8f05d9c4a3f3b900a22 SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b WHIRLPOOL 0d9f1f728fbceef35a5e22a6fe4c9dd42fbf84d41fe14e938194438542af182d3994694ffcd68f58798f14c8096b49b0aecad23f58ec6bdbc02de43b8d783532

View File

@@ -1,74 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit nsplugins
DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages"
HOMEPAGE="http://www.openh264.org/"
SRC_URI="https://dev.gentoo.org/~axs/distfiles/gmp-${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+plugin"
RESTRICT="bindist"
RDEPEND=""
DEPEND="dev-lang/nasm"
DOCS=( LICENSE CONTRIBUTORS README.md )
S=${WORKDIR}/gmp-${P}
src_compile() {
local mybits="ENABLE64BIT=No"
case "${ABI}" in
s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
esac
emake V=Yes ${mybits}
use plugin && emake V=Yes ${mybits} plugin
}
src_install() {
emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \
install-headers
dolib libopenh264.so
if use plugin; then
local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
insinto "/${plugpath}"
doins libgmpopenh264.so gmpopenh264.info
echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN}
doenvd "${T}"/98-moz-gmp-${PN}
cat <<PREFEOF >"${T}"/${P}.js
pref("media.gmp-gmp${PN}.autoupdate", false);
pref("media.gmp-gmp${PN}.version", "system-installed");
PREFEOF
insinto /usr/$(get_libdir)/firefox/defaults/pref
doins "${T}"/${P}.js
insinto /usr/$(get_libdir)/seamonkey/defaults/pref
doins "${T}"/${P}.js
fi
}
pkg_postinst() {
if use plugin; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Please restart your login session, in order for the session's environment"
elog "to include the new MOZ_GMP_PATH variable."
elog ""
fi
elog "This package attempts to override the mozilla GMPInstaller auto-update process,"
elog "however even if it is not successful in doing so the profile-installed plugin"
elog "will not be used unless this package is removed. This package will take precedence"
elog "over any gmp-gmpopenh264 that may be installed in a user's profile."
elog ""
fi
}

View File

@@ -1,78 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit nsplugins
MOZVER=36
DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages"
HOMEPAGE="http://www.openh264.org/"
SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+plugin"
RESTRICT="bindist"
RDEPEND="!<www-client/firefox-${MOZVER}"
DEPEND="dev-lang/nasm"
DOCS=( LICENSE CONTRIBUTORS README.md )
src_prepare() {
ln -s ../gmp-api-Firefox${MOZVER} gmp-api
}
src_compile() {
local mybits="ENABLE64BIT=No"
case "${ABI}" in
s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
esac
emake V=Yes ${mybits}
use plugin && emake V=Yes ${mybits} plugin
}
src_install() {
emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \
install-headers
dolib libopenh264.so
if use plugin; then
local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
insinto "/${plugpath}"
doins libgmpopenh264.so gmpopenh264.info
echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN}
doenvd "${T}"/98-moz-gmp-${PN}
cat <<PREFEOF >"${T}"/${P}.js
pref("media.gmp-gmp${PN}.autoupdate", false);
pref("media.gmp-gmp${PN}.version", "system-installed");
PREFEOF
insinto /usr/$(get_libdir)/firefox/defaults/pref
doins "${T}"/${P}.js
insinto /usr/$(get_libdir)/seamonkey/defaults/pref
doins "${T}"/${P}.js
fi
}
pkg_postinst() {
if use plugin; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Please restart your login session, in order for the session's environment"
elog "to include the new MOZ_GMP_PATH variable."
elog ""
fi
elog "This package attempts to override the mozilla GMPInstaller auto-update process,"
elog "however even if it is not successful in doing so the profile-installed plugin"
elog "will not be used unless this package is removed. This package will take precedence"
elog "over any gmp-gmpopenh264 that may be installed in a user's profile."
elog ""
fi
}

View File

@@ -1,92 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit nsplugins multilib-minimal
MOZVER=38
DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
HOMEPAGE="http://www.openh264.org/"
SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
RDEPEND="!<www-client/firefox-${MOZVER}"
DEPEND="dev-lang/nasm"
DOCS=( LICENSE CONTRIBUTORS README.md )
src_prepare() {
epatch "${FILESDIR}"/pkgconfig-pathfix.patch
multilib_copy_sources
}
multilib_src_configure() {
ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
}
emakecmd() {
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \
PREFIX="${EPREFIX}/usr" \
SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \
$@
}
multilib_src_compile() {
local mybits="ENABLE64BIT=No"
case "${ABI}" in
s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
esac
emakecmd ${mybits} ${tgt}
use plugin && emakecmd ${mybits} plugin
}
multilib_src_install() {
emakecmd DESTDIR="${D}" install-shared
use utils && dobin h264{enc,dec}
if use plugin; then
local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
insinto "/${plugpath}"
doins libgmpopenh264.so* gmpopenh264.info
echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-gmp-${PN}
doenvd "${T}"/98-moz-gmp-${PN}
cat <<PREFEOF >"${T}"/${P}.js
pref("media.gmp-gmp${PN}.autoupdate", false);
pref("media.gmp-gmp${PN}.version", "system-installed");
PREFEOF
insinto /usr/$(get_libdir)/firefox/defaults/pref
doins "${T}"/${P}.js
insinto /usr/$(get_libdir)/seamonkey/defaults/pref
doins "${T}"/${P}.js
fi
}
pkg_postinst() {
if use plugin; then
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Please restart your login session, in order for the session's environment"
elog "to include the new MOZ_GMP_PATH variable."
elog ""
fi
elog "This package attempts to override the Mozilla GMPInstaller auto-update process,"
elog "however even if it is not successful in doing so the profile-installed plugin"
elog "will not be used unless this package is removed. This package will take precedence"
elog "over any gmp-gmpopenh264 that may be installed in a user's profile."
elog ""
fi
}