You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.1 KiB
77 lines
2.1 KiB
13 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/media-sound/google-musicmanager/google-musicmanager-1.0.35.3998_beta.ebuild,v 1.1 2012/05/23 07:57:44 zmedico Exp $
|
||
13 years ago
|
|
||
|
EAPI=4
|
||
|
|
||
12 years ago
|
inherit eutils unpacker
|
||
13 years ago
|
|
||
|
MY_URL="http://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="http://music.google.com"
|
||
|
SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
|
||
|
amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
|
||
|
|
||
|
LICENSE="google-talkplugin Apache-2.0 MIT LGPL-2.1 gSOAP BSD FDL-1.2 MPL-1.1 openssl ZLIB as-is"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="-* ~amd64 ~x86"
|
||
|
IUSE="log"
|
||
|
|
||
12 years ago
|
RESTRICT="strip mirror"
|
||
13 years ago
|
|
||
|
RDEPEND="
|
||
|
dev-libs/expat
|
||
|
dev-libs/glib:2
|
||
|
media-libs/flac
|
||
|
media-libs/fontconfig
|
||
|
media-libs/freetype:2
|
||
|
media-libs/libogg
|
||
|
media-libs/libvorbis
|
||
|
net-dns/libidn
|
||
|
sys-libs/glibc
|
||
|
x11-libs/libX11
|
||
|
x11-libs/libXext
|
||
|
x11-libs/libXi
|
||
|
x11-libs/libXrandr
|
||
|
x11-libs/libXrender
|
||
|
x11-libs/qt-core
|
||
|
x11-libs/qt-gui
|
||
12 years ago
|
x11-libs/qt-webkit
|
||
13 years ago
|
log? ( dev-libs/log4cxx )
|
||
|
"
|
||
|
|
||
|
DEPEND="app-arch/xz-utils
|
||
|
app-admin/chrpath"
|
||
|
|
||
|
INSTALL_BASE="opt/google/musicmanager"
|
||
|
|
||
|
QA_TEXTRELS="${INSTALL_BASE}/libmpgdec.so.0"
|
||
|
|
||
|
QA_DT_HASH="${INSTALL_BASE}/.*"
|
||
|
|
||
|
S="${WORKDIR}/${INSTALL_BASE}"
|
||
|
|
||
|
pkg_nofetch() {
|
||
12 years ago
|
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 http://bugs.gentoo.org (search existing bugs for ${PN} first!)."
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
insinto "/${INSTALL_BASE}"
|
||
|
doins config.xml product_logo*
|
||
|
|
||
|
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
|
||
|
|
||
|
make_desktop_entry "${PN}" "Google Music Manager" \
|
||
|
"/${INSTALL_BASE}/product_logo_32.xpm" "AudioVideo;Audio;Player;Music"
|
||
|
}
|