diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-05-02 20:00:29 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-05-02 20:00:29 +0000 |
commit | 7d16b899d01b652fe448bb5c5a52f7336536cf82 (patch) | |
tree | a24880e526a6bd71a0cdcaa40fe569af90627ea9 /www-plugins/chrome-binary-plugins | |
parent | EAPI 5. Fix incorrect timeout reporting for domains that are available, revis... (diff) | |
download | historical-7d16b899d01b652fe448bb5c5a52f7336536cf82.tar.gz historical-7d16b899d01b652fe448bb5c5a52f7336536cf82.tar.bz2 historical-7d16b899d01b652fe448bb5c5a52f7336536cf82.zip |
Restore the live ebuild since some people prefer it.
Package-Manager: portage-2.2.0_alpha173/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'www-plugins/chrome-binary-plugins')
-rw-r--r-- | www-plugins/chrome-binary-plugins/ChangeLog | 8 | ||||
-rw-r--r-- | www-plugins/chrome-binary-plugins/Manifest | 9 | ||||
-rw-r--r-- | www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild | 78 |
3 files changed, 90 insertions, 5 deletions
diff --git a/www-plugins/chrome-binary-plugins/ChangeLog b/www-plugins/chrome-binary-plugins/ChangeLog index c96a69045a73..fa318bf93e2c 100644 --- a/www-plugins/chrome-binary-plugins/ChangeLog +++ b/www-plugins/chrome-binary-plugins/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-plugins/chrome-binary-plugins # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.12 2013/05/02 17:22:51 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/ChangeLog,v 1.13 2013/05/02 20:00:27 floppym Exp $ + +*chrome-binary-plugins-9999 (02 May 2013) + + 02 May 2013; Mike Gilbert <floppym@gentoo.org> + +chrome-binary-plugins-9999.ebuild: + Restore the live ebuild since some people prefer it. *chrome-binary-plugins-28.0.1490.2_alpha196983 (02 May 2013) *chrome-binary-plugins-27.0.1453.73_beta197225 (02 May 2013) diff --git a/www-plugins/chrome-binary-plugins/Manifest b/www-plugins/chrome-binary-plugins/Manifest index d99689b04953..7c1b22d22448 100644 --- a/www-plugins/chrome-binary-plugins/Manifest +++ b/www-plugins/chrome-binary-plugins/Manifest @@ -10,12 +10,13 @@ DIST google-chrome-unstable_28.0.1490.2-r196983_i386.deb 40112358 SHA256 22e03de EBUILD chrome-binary-plugins-26.0.1410.63_p192696.ebuild 2199 SHA256 c825c9525da732d3cabca105e43f4ad6f15cd86b36a596a2f407a005918abdfa SHA512 d4cb4a2628c9943333f2dd4fe8a21606cc88570d1caf9fa363cd6edbf529beb8c3d0b289d8b542e1f653e743e5c44a356b32c34148de44cc17626b3ae4b62300 WHIRLPOOL 418c57a16af021c5f1196649917adcbbe90fd75d13d36b74c567d5321610a414df5635b454bcb2476f29d382d09f673dc72f895509d641a35379bb9e8c1e5587 EBUILD chrome-binary-plugins-27.0.1453.73_beta197225.ebuild 2202 SHA256 4ba46cd4baa9c1b6d505ccb53d3c690db74df1f8bd4f4503d1412a707b76d9a2 SHA512 70d8e049c1eaead3130779aa0481a08107e278c519e37df468bfef7d2c8be233abc6515f649f04574d260de77bcffa15e13fcb2562fd7d8f3f31697106b5252b WHIRLPOOL b11468f58bad3c36e39446b040f29d5f364927ab55f97cdf0b779e1b257d0b69fa23a6f270dd4ef520c048351b8d6f84aedbf6b6b270ad94d5e49f67531336b3 EBUILD chrome-binary-plugins-28.0.1490.2_alpha196983.ebuild 2202 SHA256 d8f0c9888355b0a98a5e0e67b61c0dc511f9bfe7cc761da28ff2cc6d4f79c215 SHA512 3864921b7f2540bbf7a9c248b7ef8c16cca409fa2ca321efc2ae58b066aebef99e507d7e90c98aa1595812ed88cf61a82a3a02e9095ef1ec82d5e0e1e8e28cb7 WHIRLPOOL 26812a9c43f6b186ed426951fddcb116520269df516c706e895b5a0371fd7f0c727a3de765d4f6e331e0b39c42ea966af6754ae62ead3fc9af7263e0e76af7cc -MISC ChangeLog 3276 SHA256 1b202112c3c58448f1a1871d85cc334dee303f98d797159e43efed9b6b33c5a3 SHA512 a55e6251f2cd23e91f433790eca3396ea4d4f32e9d11d5d60da5e7477ba1f0c42be31218e947bbac00fcfa979f62120ad41f94a4e98d9f5924e907e16a4ca723 WHIRLPOOL 476b04b65b9b80362c8ed86595aed8643cb82150a656203a14f9727a836a59df7f97e00f81879edc4fcc90973526932fb0f50f301d1583b1bad4a0269959f8f1 +EBUILD chrome-binary-plugins-9999.ebuild 2205 SHA256 920e1a72f226cac07081b5256c9378f2a27375daa0e6ec61ad22c6e4f0af65b5 SHA512 f4824f454cedc1bbbabf97251ef546487e29a344ef3076d4f246065e6c98105824794fe1fee5235b88e18f76e505b009c3317db295807f3423bdd9734e34e953 WHIRLPOOL b27174ca5799abb78c8ff3b0309e7cba87f7b2ca4ba501e34523874772811e1ca21cff44228a5369c26d77fa645ebf114a598f6fc032b20df241dea08f7924c5 +MISC ChangeLog 3462 SHA256 144baed359a85a95b90029497c1263c44626c5f5b71789471dc92e8e23c3d12c SHA512 cf2da70fc8da83c40ca263a7d0bd27101cdbc48c42157e81b4c473fc2b8bc4c03d7e9bc202bc6b4d73f98ecdb831b7beb6d9d0548c51396498f1cdf56bffc8b6 WHIRLPOOL f8fdab22756027ade86171a501113696ec37eb401b510c028b0b1081ea61d85c8e3706c8663cf736245eea52110a2540f1be839f6b2dfc6cb9c83d01e90cae38 MISC metadata.xml 409 SHA256 d40d69b26dd8aefe8da69937e54e0a885d6867e28e42c5dcbe193233a84ee533 SHA512 bdf4f11c173af9f80b3475f8ea32ba966806d1e0e694bd55a6a4960717e3f3ffff69eabb060ae5ee4d3b39cdf18eeeff45c9d431c3b6ce8ae5c271c7a409aa71 WHIRLPOOL 7319320d648a8aae0eec726a8ab489bb71fe5f93dfb40847e97344a02be85a09ba931d5aeee8fdb13d899de3c90746c75a59897287c715dd771dfbe8863b803b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlGCoOwACgkQC77qH+pIQ6QdNQD/cGW8Och0TdVlJ43IzFD6vyqc -+YkShHtEYjQOmMmukp4A/RMzx9Dcnuj/Fhx8AVf/XtQzlSg0TUd5Yd3kdgVhutbX -=XEK4 +iF4EAREIAAYFAlGCxdwACgkQC77qH+pIQ6Q9uQD/V4gXd4u28kWpMcmsUzhXo3Ci +Md5S4Rtbmo8+P4M9ad8BAJ5Z5Bq0zwSzlBTcUQtaLFMLm9ZjkPDCy4QfPfwiyh1k +=MZfv -----END PGP SIGNATURE----- diff --git a/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild new file mode 100644 index 000000000000..1a05a1a41461 --- /dev/null +++ b/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/chrome-binary-plugins/chrome-binary-plugins-9999.ebuild,v 1.9 2013/05/02 20:00:27 floppym Exp $ + +EAPI=4 + +inherit multilib unpacker + +DESCRIPTION="Binary plugins -- native API Flash and PDF -- from Google Chrome for use in Chromium." +HOMEPAGE="http://www.google.com/chrome" +SLOT="unstable" +URI_BASE="https://dl.google.com/linux/direct/" +URI_BASE_NAME="google-chrome-${SLOT}_current_" +SRC_URI="" # URI is left blank on live ebuild + +LICENSE="google-chrome" +KEYWORDS="" # KEYWORDS is also left blank on live ebuild +IUSE="+flash +pdf" +RESTRICT="bindist mirror strip" + +RDEPEND="www-client/chromium" + +for x in 0 beta stable unstable; do + if [[ ${SLOT} != ${x} ]]; then + RDEPEND+=" !${CATEGORY}/${PN}:${x}" + fi +done + +S="${WORKDIR}/opt/google/chrome" +QA_PREBUILT="*" + +src_unpack() { + # We have to do this inside of here, since it's a live ebuild. :-( + + if use x86; then + G_ARCH="i386"; + elif use amd64; then + G_ARCH="amd64"; + else + die "This only supports x86 and amd64." + fi + wget "${URI_BASE}${URI_BASE_NAME}${G_ARCH}.deb" + unpack_deb "./${URI_BASE_NAME}${G_ARCH}.deb" +} + +src_install() { + local version flapper + + insinto /usr/$(get_libdir)/chromium-browser/ + + use pdf && doins libpdf.so + + if use flash; then + doins -r PepperFlash + + # Since this is a live ebuild, we're forced to, unfortuantely, + # dynamically construct the command line args for Chromium. + version=$(sed -n 's/.*"version": "\(.*\)",.*/\1/p' PepperFlash/manifest.json) + flapper="${ROOT}usr/$(get_libdir)/chromium-browser/PepperFlash/libpepflashplayer.so" + echo -n "CHROMIUM_FLAGS=\"\${CHROMIUM_FLAGS} " > pepper-flash + echo -n "--ppapi-flash-path=$flapper " >> pepper-flash + echo "--ppapi-flash-version=$version\"" >> pepper-flash + + insinto /etc/chromium/ + doins pepper-flash + fi +} + +pkg_postinst() { + use flash || return + + einfo + einfo "To enable Flash for Chromium, source ${ROOT}etc/chromium/pepper-flash" + einfo "inside ${ROOT}etc/chromium/default. You may run this as root:" + einfo + einfo " # echo . ${ROOT}etc/chromium/pepper-flash >> ${ROOT}etc/chromium/default" + einfo +} |