summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2015-09-22 09:44:45 -0600
committerChristoph Junghans <ottxor@gentoo.org>2015-09-22 09:44:45 -0600
commitc7d34320aa21a4727ad0121d30647f40947e54e5 (patch)
tree39f7df0f2d025aaa44683a91ac1233c399f8eaed /media-sound
parentapp-admin/denyhosts: remove old (diff)
downloadgentoo-c7d34320aa21a4727ad0121d30647f40947e54e5.tar.gz
gentoo-c7d34320aa21a4727ad0121d30647f40947e54e5.tar.bz2
gentoo-c7d34320aa21a4727ad0121d30647f40947e54e5.zip
media-sound/google-musicmanager: version bump
Gentoo-Bug: 561082 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/google-musicmanager/Manifest2
-rw-r--r--media-sound/google-musicmanager/google-musicmanager-1.0.221.5230_beta.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/google-musicmanager/Manifest b/media-sound/google-musicmanager/Manifest
index 47003c47f22f..38ae42b52415 100644
--- a/media-sound/google-musicmanager/Manifest
+++ b/media-sound/google-musicmanager/Manifest
@@ -4,3 +4,5 @@ DIST google-musicmanager-beta_1.0.182.3607-r0_amd64.deb 3976548 SHA256 a463d614b
DIST google-musicmanager-beta_1.0.182.3607-r0_i386.deb 3923342 SHA256 346ce6ed2b045c8e02156fef98987cff61529d4c509547615848c27e8f52d11c SHA512 f111507af3ac4c99b30c5f7ece746ac256a6b9982651083afae82b5037e72eb0e1a3dd3db3e7c03a86618a781d1734d0966fd3473e8ba72a31855450c2804522 WHIRLPOOL 89fed2558d5cab3b3194304483c8c6fc69dac6c68c5bc16e514583f699dac9b7965a30ce2bdb14704da561dcbd6cbfb347c4e3d54638105c9b7b495077246237
DIST google-musicmanager-beta_1.0.196.8837-r0_amd64.deb 4334448 SHA256 1b46d257a93cea3c209a6e9b0e2985e31b6990b9de778459ad78b086d3f6d2b0 SHA512 70c144b446c1a6cca7725e2d8bb494f5175a50cbe9ba1a5d0a18867fb9d821e3d302cafdca83c78d1e27971f41b9d5848c15c5643ccba2f984b87136d9233789 WHIRLPOOL 38be4761e48975dbc3ea484260aa343b913a09bbb88724c1ca6caee758b849552a83583b248da6c2adba96de00f8add17888baeed6faf6a6b1a63d0a7efe80bb
DIST google-musicmanager-beta_1.0.196.8837-r0_i386.deb 4196444 SHA256 7005a06a921040eafd9afa0f15d63fba014c59ae150c89099f0a6be2deecdae7 SHA512 b9d237be61249e5cd27b48a0ed25426e59cd01660d57e900e692bec5ac2a1ff915da39f9837f61d558380b208a23990289c7191fa806bc0747c4926947f8ae6d WHIRLPOOL a054ea29e91bb059ebec01a8dc2b2d5a60fc98691df3bf24b303625852af0a3bcdc89f5eb984eff79b7cb82e0db709d5dd9ee8a4ac87e1031ed3aa66c154302b
+DIST google-musicmanager-beta_1.0.221.5230-r0_amd64.deb 4330938 SHA256 67e063d58508a4b8df37ea0b87c9a33e54143be3653daabe16b1276ffed21ac0 SHA512 cf093c2f8e3010432ce5fcd0614fbece0d02c082cfad1d82c39a5b7498d92f9cfc3f275c0dec8a1090841ce296169adce3353111aeb2bf5990f242be78ccc04d WHIRLPOOL 4d24fa84422ab280be018b07ab79c9ece627f4f00d2d800d3b817dc0f1cd77222505ceda0071a3ef1b8792aa73eb7c0e2bae3ec17cb4951e4e533a3ee71b3a81
+DIST google-musicmanager-beta_1.0.221.5230-r0_i386.deb 4189032 SHA256 31b48b6df317dec41ec5d3c5b6e19ea89ac6eb200d90bb28beab087dfab70c61 SHA512 276071acecc143b65dd5a14a60b7dfb1245818e6c3bb569883d1dab83841f228d6537b161446cf0bb2c115f95844da21951d94bb88e60e6494d0f5e8d0c3f19a WHIRLPOOL 6a0a38732ac301a6130d978f1b7bdcfd1b8949aa8954a47ea09c0dfc4298dfbcc029c3f6ef7ccd5a126feeedaf546e0729f79275f18496472177853ef85d931d
diff --git a/media-sound/google-musicmanager/google-musicmanager-1.0.221.5230_beta.ebuild b/media-sound/google-musicmanager/google-musicmanager-1.0.221.5230_beta.ebuild
new file mode 100644
index 000000000000..0da8947750cb
--- /dev/null
+++ b/media-sound/google-musicmanager/google-musicmanager-1.0.221.5230_beta.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils unpacker
+
+#https://dl.google.com/linux/musicmanager/deb/dists/stable/main/binary-i386/Packages
+MY_URL="https://dl.google.com/linux/musicmanager/deb/pool/main/${P:0:1}/${PN}-beta"
+MY_PKG="${PN}-beta_${PV/_beta}-r0_i386.deb"
+
+DESCRIPTION="Google Music Manager is a application for adding music to your Google Music library"
+HOMEPAGE="https://music.google.com"
+SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
+ amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
+
+LICENSE="Google-TOS Apache-2.0 MIT LGPL-2.1 gSOAP BSD FDL-1.2 MPL-1.1 openssl ZLIB libtiff"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="log"
+
+OBSOLETE="yes"
+[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
+
+RDEPEND="
+ dev-libs/expat
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtwebkit:4
+ media-libs/flac
+ media-libs/libvorbis
+ net-dns/libidn
+ sys-libs/glibc
+ log? ( dev-libs/log4cxx )
+ "
+
+DEPEND="app-arch/xz-utils
+ app-admin/chrpath"
+
+INSTALL_BASE="opt/google/musicmanager"
+
+QA_PREBUILT="${INSTALL_BASE}/.*"
+
+S="${WORKDIR}/${INSTALL_BASE}"
+
+pkg_nofetch() {
+ if [[ ${OBSOLETE} = yes ]]; then
+ elog "This version is no longer available from Google and the license prevents mirroring."
+ elog "This ebuild is intended for users who already downloaded it previously and have problems"
+ elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
+ use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
+ elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
+ elog "and copy the file ${MY_PKG} to ${DISTDIR}."
+ else
+ einfo "This version is no longer available from Google."
+ einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
+ einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)."
+ fi
+}
+
+src_install() {
+ insinto "/${INSTALL_BASE}"
+ doins config.json product_logo* lang.*.qm
+
+ exeinto "/${INSTALL_BASE}"
+ chrpath -d MusicManager || die
+ doexe MusicManager google-musicmanager minidump_upload
+ #TODO unbundle this
+ doexe libaacdec.so libaudioenc.so.0 libmpgdec.so.0 libid3tag.so
+
+ dosym /"${INSTALL_BASE}"/google-musicmanager /opt/bin/google-musicmanager
+
+ local icon size
+ for icon in product_logo_*.png; do
+ size=${icon#product_logo_}
+ size=${size%.png}
+ newicon -s "${size}" "${icon}" ${PN}.png
+ done
+ domenu ${PN}.desktop
+}