diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2010-10-26 20:55:12 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2010-10-26 20:55:12 +0000 |
commit | 2c760b49fb17b9c655e539740f7a8ab66d87ea27 (patch) | |
tree | 9d905b5d3841cf29ec7a793bd6a66d087cf57c78 /media-sound/lastfmplayer | |
parent | Stable on amd64 wrt bug #342753 (diff) | |
download | gentoo-2-2c760b49fb17b9c655e539740f7a8ab66d87ea27.tar.gz gentoo-2-2c760b49fb17b9c655e539740f7a8ab66d87ea27.tar.bz2 gentoo-2-2c760b49fb17b9c655e539740f7a8ab66d87ea27.zip |
Remove old ebuild
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/lastfmplayer')
-rw-r--r-- | media-sound/lastfmplayer/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild | 110 |
2 files changed, 5 insertions, 111 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog index 7b7b2ee37413..66aee699f9ad 100644 --- a/media-sound/lastfmplayer/ChangeLog +++ b/media-sound/lastfmplayer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/lastfmplayer # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.54 2010/10/24 15:58:20 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.55 2010/10/26 20:55:12 hwoarang Exp $ + + 26 Oct 2010; Markos Chandras <hwoarang@gentoo.org> + -lastfmplayer-1.5.4.26862-r1.ebuild: + Remove old ebuild 24 Oct 2010; Brent Baude <ranger@gentoo.org> lastfmplayer-1.5.4.26862-r2.ebuild: diff --git a/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild deleted file mode 100644 index 152a3e1f4ec6..000000000000 --- a/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.26862-r1.ebuild,v 1.6 2010/09/14 08:58:55 hwoarang Exp $ - -EAPI=2 -inherit eutils multilib toolchain-funcs qt4-r2 - -MY_P="${P/lastfmplayer/lastfm}+dfsg" - -DESCRIPTION="A player for last.fm radio streams" -HOMEPAGE="http://www.last.fm/help/player" -SRC_URI="mirror://gentoo/lastfm_${PV}+dfsg.orig.tar.gz - mirror://gentoo/lastfm/lastfm_${PV}+dfsg-3.debian.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="ipod" - -RDEPEND="x11-libs/qt-gui:4 - x11-libs/qt-sql:4 - media-libs/libsamplerate - sci-libs/fftw - media-libs/libmad - ipod? ( >=media-libs/libgpod-0.5.2 ) - media-libs/alsa-lib" -DEPEND="${RDEPEND} - app-arch/sharutils" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - qt4-r2_src_prepare - epatch "${FILESDIR}"/fix_plugin_path.patch - einfo "Applying Debian patchset" - ebegin "Disabling tray-icon-size patch" - sed -i "/^tray-icon-size.diff/d" "${WORKDIR}"/debian/patches/series - eend $? - cd "${S}" - for i in $( < "${WORKDIR}"/debian/patches/series); do - epatch "${WORKDIR}"/debian/patches/$i - done - if ! use ipod ; then - sed -i '/src\/mediadevices\/ipod/d' LastFM.pro || die "sed failed" - fi - #don't install plugins into generic location - sed -i "s:\$\$BIN_DIR/services:\$\$BIN_DIR/lastfm_services:" \ - "${S}"/definitions.pro.inc - #fix plugin search path - sed -i "s:/usr/lib/services:/usr/$(get_libdir)/lastfm_services:" \ - "${S}"/src/libMoose/MooseCommon.cpp -} - -src_compile() { - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" - cd i18n; lrelease *.ts -} - -src_install() { - cd "${WORKDIR}" - # Docs - dodoc "${S}"/ChangeLog "${S}"/README debian/README.source \ - || die "dodoc failed" - doman debian/lastfm.1 || die "doman failed" - - # Copied from debian/rules - insinto /usr/share - doins -r debian/package-files/share/icons || die "failed to install icons" - insinto /usr/share/lastfm/icons - doins "${S}"/bin/data/icons/*.png \ - || die "failed to install application icons" - insinto /usr/share/lastfm - doins "${S}"/bin/data/*.png || die "failed to install icons" - dodir /usr/$(get_libdir)/lastfm_services/ - insinto /usr/$(get_libdir)/lastfm_services/ - insopts -m0755 - doins -r "${S}"/bin/lastfm_services/*.so || die "failed to install plugins" - insinto /usr/$(get_libdir) - insopts -m0755 - doins "${S}"/bin/libLastFmTools.so.1* || die "failed to install library" - doins "${S}"/bin/libMoose.so.1* || die "failed to install library" - #fix symlinks - cd "${D}"/usr/$(get_libdir)/ - ln -sfn libLastFmTools.so.1.0.0 libLastFmTools.so.1 - ln -sfn libLastFmTools.so.1.0.0 libLastFmTools.so.1.0 - ln -sfn libMoose.so.1.0.0 libMoose.so.1 - ln -sfn libMoose.so.1.0.0 libMoose.so.1.0 - cd "${WORKDIR}" - newbin "${S}"/bin/last.fm lastfm || die "newbin failed" - insinto /usr/share/lastfm/i18n - doins "${S}"/i18n/*.qm || die "failed to install translations" - fperms 755 /usr/bin/lastfm - rm -f "${D}"/usr/share/lastfm/icons/{*profile24,systray_mac}.png - # create desktop entry - doicon "${WORKDIR}"/debian/package-files/share/icons/hicolor/48x48/apps/lastfm.png - make_desktop_entry lastfm "Last.fm Player" lastfm -} - -pkg_postinst() { - elog "To use the Last.fm player with a mozilla based browser:" - elog " 1. Install gnome-base/gconf" - elog " 2. gconftool-2 -t string -s \ -/desktop/gnome/url-handlers/lastfm/command \"/usr/bin/lastfm %s\"" - elog " 3. gconftool-2 -s \ -/desktop/gnome/url-handlers/lastfm/needs_terminal false -t bool" - elog " 4. gconftool-2 -t bool -s \ -/desktop/gnome/url-handlers/lastfm/enabled true" - elog - elog "If you experience awkward fonts or widgets, try running qtconfig." -} |