summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-12-04 04:01:09 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-12-04 04:01:09 +0000
commitc9013f1761d4dc1c78c5361dd94c65c22fcb5e82 (patch)
treebc9296d8cc304bf684e85cef061a631a9cea0e7d /media-libs
parentVersion bump. (diff)
downloadhistorical-c9013f1761d4dc1c78c5361dd94c65c22fcb5e82.tar.gz
historical-c9013f1761d4dc1c78c5361dd94c65c22fcb5e82.tar.bz2
historical-c9013f1761d4dc1c78c5361dd94c65c22fcb5e82.zip
Initial commit. Upstream doesn't release distfiles nor do they release versions in a particularily reliable manner, so packages will be snapshots for the time being. Note also that the mozilla prefs overrides will not forcibly install at a later version, however a script needs to be written to synchronize their installation.
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B6559ED
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/openh264/ChangeLog14
-rw-r--r--media-libs/openh264/Manifest14
-rw-r--r--media-libs/openh264/metadata.xml11
-rw-r--r--media-libs/openh264/openh264-1.2_p20141104.ebuild74
4 files changed, 113 insertions, 0 deletions
diff --git a/media-libs/openh264/ChangeLog b/media-libs/openh264/ChangeLog
new file mode 100644
index 000000000000..d4240baabb01
--- /dev/null
+++ b/media-libs/openh264/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for media-libs/openh264
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openh264/ChangeLog,v 1.1 2014/12/04 04:01:03 axs Exp $
+
+*openh264-1.2_p20141104 (04 Dec 2014)
+
+ 04 Dec 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ +openh264-1.2_p20141104.ebuild, +metadata.xml:
+ Initial commit. Upstream doesn't release distfiles nor do they release
+ versions in a particularily reliable manner, so packages will be snapshots
+ for the time being. Note also that the mozilla prefs overrides will not
+ forcibly install at a later version, however a script needs to be written to
+ synchronize their installation.
+
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
new file mode 100644
index 000000000000..209e345c00e8
--- /dev/null
+++ b/media-libs/openh264/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 d8359d004116eba6d2444486abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856 WHIRLPOOL 5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c
+EBUILD openh264-1.2_p20141104.ebuild 2096 SHA256 6b7873db8d3affb60797955c8e22881e43ef7057d33e5daf4e95d1da04e47ad1 SHA512 4e0507b0889047391147ddf3613856021f407f3590a8858b558d3e7d12deb05406bd9b9c55e5136527a09675f49686ddcf31272b1257612cdca6c1860f05b004 WHIRLPOOL ad77e548a9c3ef811c4a21f6b41c7891dd4cd7c81f7769dc11b2a220a655eca07fee8dab99345b99894ed04c5a891b9b65757096d35675a80629adfdee888b8a
+MISC ChangeLog 691 SHA256 d30361b93b2677a7516fb225af224d2e4981b618341580e77f795a3f5c1342ab SHA512 1e0a166cb7f11fd545b2984c3c20d05997fbe8874c7e88296a8a6bb19b5af12ec587b2254af30554edf996a351f7c7e46edcfef651e87dbd5f396bdb43fceac1 WHIRLPOOL 23e06e9a12554b96b5973befbe31f97adac51c176fb0db240510c80f96c80609db04eed45738eba48fc6043e83fe821e31699f7740df007439f29c4512fce2ac
+MISC metadata.xml 344 SHA256 d7f9b28ed01bf2010c65bd977f082bfc1ace8bb0cca5de1bdce64fce83c38f91 SHA512 2d02205cebc7b07f3e437a0e0a0510f5f5965fb9fe205a9e989ac8d7bcdda21ea39618779415fd67580945855b5959f0825f507ab81795cde58f1296c89915e4 WHIRLPOOL d0a3587b88e1b7838d81a2c7bc40d594d91b0db7efe9e5f9d7b57a432781a831aa54f76eaa645eca846632f9c9cc3e5aa4e288b2dfdfb66c503b17a6f6a63b56
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iF4EAREIAAYFAlR/3IMACgkQ2ugaI38ACPBRxgD/eN7rQmyaFn2HSzCKwQVppEqP
+C5ubf0jzEdppVX7+9iUA/jqo6DU9TPDdOJTSPJY6Qw5pNhQBWs7l1jillYTAg+1E
+=FGYC
+-----END PGP SIGNATURE-----
diff --git a/media-libs/openh264/metadata.xml b/media-libs/openh264/metadata.xml
new file mode 100644
index 000000000000..058f4124f74d
--- /dev/null
+++ b/media-libs/openh264/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>axs@gentoo.org</email>
+ <name>Ian Stakenvicius</name>
+</maintainer>
+<use>
+ <flag name='plugin'>Install the Gecko Media Plugin (GMP) for use with Mozilla packages</flag>
+</use>
+</pkgmetadata>
diff --git a/media-libs/openh264/openh264-1.2_p20141104.ebuild b/media-libs/openh264/openh264-1.2_p20141104.ebuild
new file mode 100644
index 000000000000..551c103661da
--- /dev/null
+++ b/media-libs/openh264/openh264-1.2_p20141104.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openh264/openh264-1.2_p20141104.ebuild,v 1.1 2014/12/04 04:01:03 axs Exp $
+
+EAPI=5
+
+inherit nsplugins
+
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages"
+HOMEPAGE="http://www.openh264.org/"
+SRC_URI="http://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
+}