Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: media-plugins/gmp-openh264/
Date: Sat, 09 Jul 2016 03:25:16
Message-Id: 1468034180.d57c93121ee2de7f698106e7a3ccb9606b58c06a.axs@gentoo
1 commit: d57c93121ee2de7f698106e7a3ccb9606b58c06a
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 03:16:20 2016 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 03:16:20 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d57c9312
7
8 Dropped media-plugins/gmp-openh264
9
10 This was a first attempt at providing the GMP mozilla plugins
11 in a non-AMO-forced fashion. media-libs/openh264 in the gentoo repo
12 provides this functionality
13
14 media-plugins/gmp-openh264/Manifest | 2 -
15 .../gmp-openh264-1.1_p20141021-r1.ebuild | 55 ----------------------
16 .../gmp-openh264/gmp-openh264-1.2_p20141104.ebuild | 55 ----------------------
17 3 files changed, 112 deletions(-)
18
19 diff --git a/media-plugins/gmp-openh264/Manifest b/media-plugins/gmp-openh264/Manifest
20 deleted file mode 100644
21 index c8ff004..0000000
22 --- a/media-plugins/gmp-openh264/Manifest
23 +++ /dev/null
24 @@ -1,2 +0,0 @@
25 -DIST gmp-openh264-1.1_p20141021.tar.xz 11808564 SHA256 88253dc65cc509cde88a602fc0d6f916d641235fcc163025f15467823a8fe363 SHA512 9ec0f3c7898f53917df8bd0b035de214a1dd804d01f17973ed0cde7c42141e5af9ccc710eaf5505ef33d4f0fa096d8f7d5db90f8a8499016b6ad26b86f63d227 WHIRLPOOL cf4a5def4a1577139787065466f4b94d4a721ab693590bf7b95f7a1fd4e8e120f01c48a90891466bdca35651a5cf88b816bb820cdff5433a4f3bf9a2b3236b78
26 -DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 d8359d004116eba6d2444486abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856 WHIRLPOOL 5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c
27
28 diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild b/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild
29 deleted file mode 100644
30 index 972011b..0000000
31 --- a/media-plugins/gmp-openh264/gmp-openh264-1.1_p20141021-r1.ebuild
32 +++ /dev/null
33 @@ -1,55 +0,0 @@
34 -# Copyright 1999-2014 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -
40 -inherit nsplugins
41 -
42 -DESCRIPTION="Gecko Media Plugin for openh264, to be used in mozilla packages"
43 -HOMEPAGE="http://www.openh264.org/"
44 -SRC_URI="http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz"
45 -LICENSE="BSD"
46 -SLOT="0"
47 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
48 -IUSE=""
49 -
50 -RESTRICT="bindist"
51 -
52 -RDEPEND=""
53 -DEPEND="dev-lang/nasm"
54 -
55 -DOCS=( LICENSE CONTRIBUTORS README.md )
56 -
57 -src_compile() {
58 - local mybits="ENABLE64BIT=No"
59 - case "${ABI}" in
60 - s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
61 - esac
62 - emake V=Yes ${mybits} plugin
63 -}
64 -
65 -src_install() {
66 - local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-${PN/-/}/system-installed"
67 -
68 - insinto /${plugpath}
69 - doins libgmpopenh264.so gmpopenh264.info
70 - echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-${PN}
71 - doenvd "${T}"/98-moz-${PN}
72 -}
73 -
74 -pkg_postinst() {
75 - elog "USE=system-gmps on the mozilla packages will disable the default"
76 - elog "autoupdates preference for this and other gmp plugins, but it may be"
77 - elog "overridden in a user's profile (ie, about:config)."
78 - elog ""
79 - elog "Also, if a previous mozilla version has already installed gmp-gmpopenh264"
80 - elog "into a user's profile, that version may take precedence over this package"
81 - elog "and will need to be removed before the files installed by this package"
82 - elog "are certain to be used."
83 - elog ""
84 - ewarn "You may need to modify each user's .mozilla profile"
85 - ewarn "by hand, disabling autoupdates in about:config and deleting any"
86 - ewarn "existing plugin in the profile dir, in order for this package"
87 - ewarn "to have any effect."
88 -}
89
90 diff --git a/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild b/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild
91 deleted file mode 100644
92 index 972011b..0000000
93 --- a/media-plugins/gmp-openh264/gmp-openh264-1.2_p20141104.ebuild
94 +++ /dev/null
95 @@ -1,55 +0,0 @@
96 -# Copyright 1999-2014 Gentoo Foundation
97 -# Distributed under the terms of the GNU General Public License v2
98 -# $Id$
99 -
100 -EAPI=5
101 -
102 -inherit nsplugins
103 -
104 -DESCRIPTION="Gecko Media Plugin for openh264, to be used in mozilla packages"
105 -HOMEPAGE="http://www.openh264.org/"
106 -SRC_URI="http://dev.gentoo.org/~axs/distfiles/${P}.tar.xz"
107 -LICENSE="BSD"
108 -SLOT="0"
109 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
110 -IUSE=""
111 -
112 -RESTRICT="bindist"
113 -
114 -RDEPEND=""
115 -DEPEND="dev-lang/nasm"
116 -
117 -DOCS=( LICENSE CONTRIBUTORS README.md )
118 -
119 -src_compile() {
120 - local mybits="ENABLE64BIT=No"
121 - case "${ABI}" in
122 - s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
123 - esac
124 - emake V=Yes ${mybits} plugin
125 -}
126 -
127 -src_install() {
128 - local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-${PN/-/}/system-installed"
129 -
130 - insinto /${plugpath}
131 - doins libgmpopenh264.so gmpopenh264.info
132 - echo "MOZ_GMP_PATH=\"${EROOT}${plugpath}\"" >"${T}"/98-moz-${PN}
133 - doenvd "${T}"/98-moz-${PN}
134 -}
135 -
136 -pkg_postinst() {
137 - elog "USE=system-gmps on the mozilla packages will disable the default"
138 - elog "autoupdates preference for this and other gmp plugins, but it may be"
139 - elog "overridden in a user's profile (ie, about:config)."
140 - elog ""
141 - elog "Also, if a previous mozilla version has already installed gmp-gmpopenh264"
142 - elog "into a user's profile, that version may take precedence over this package"
143 - elog "and will need to be removed before the files installed by this package"
144 - elog "are certain to be used."
145 - elog ""
146 - ewarn "You may need to modify each user's .mozilla profile"
147 - ewarn "by hand, disabling autoupdates in about:config and deleting any"
148 - ewarn "existing plugin in the profile dir, in order for this package"
149 - ewarn "to have any effect."
150 -}