diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-08-26 00:36:09 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-08-26 00:36:09 +0000 |
commit | 1ecc5dcefe34ddfe8af24c4a00497ecaf244f67b (patch) | |
tree | d6f49fe97070a50c6d39f008f39e48155d16e2bc /media-sound/lastfmplayer | |
parent | Remove old (diff) | |
download | gentoo-2-1ecc5dcefe34ddfe8af24c4a00497ecaf244f67b.tar.gz gentoo-2-1ecc5dcefe34ddfe8af24c4a00497ecaf244f67b.tar.bz2 gentoo-2-1ecc5dcefe34ddfe8af24c4a00497ecaf244f67b.zip |
Stabilize everywhere to promote the desktop file fix to the stable tree. Remove old
(Portage version: 2.1.11.11/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/lastfmplayer')
-rw-r--r-- | media-sound/lastfmplayer/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r1.ebuild | 132 | ||||
-rw-r--r-- | media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild | 4 |
3 files changed, 8 insertions, 135 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog index 7f7afbf28748..f78c904ea40e 100644 --- a/media-sound/lastfmplayer/ChangeLog +++ b/media-sound/lastfmplayer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/lastfmplayer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.70 2012/08/01 13:40:01 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.71 2012/08/26 00:36:09 hwoarang Exp $ + + 26 Aug 2012; Markos Chandras <hwoarang@gentoo.org> + -lastfmplayer-1.5.4.27091-r1.ebuild, lastfmplayer-1.5.4.27091-r3.ebuild: + Stabilize everywhere to promote the desktop file fix to the stable tree. + Remove old 01 Aug 2012; Markos Chandras <hwoarang@gentoo.org> -files/fix_plugin_path.patch: diff --git a/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r1.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r1.ebuild deleted file mode 100644 index bc6631efd903..000000000000 --- a/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r1.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2011 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.27091-r1.ebuild,v 1.4 2011/08/07 12:36:36 xarthisius 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 - http://www.mehercule.net/staticpages/index.php/lastfm" -SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/lastfm-${PV}+dfsg.tar.gz - http://dev.gentoo.org/~hwoarang/distfiles/lastfm_${PV}+dfsg-2.debian.tar.gz - dbus? ( http://glue.umd.edu/~rossatok/dbusextension-2.0.tar.bz2 )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ppc x86" -IUSE="dbus 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 - # Use a different extensions path - epatch "${FILESDIR}"/${PN}-extensions-path.patch - einfo "Applying Debian patchset" - sed -i "/^tray-icon-size.diff/d" "${WORKDIR}"/debian/patches/series - 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 - #fix plugin search path for multilib support - sed -i -e "s:/usr/lib/:/usr/$(get_libdir)/:g" \ - "${S}"/src/libMoose/MooseCommon.cpp - if use dbus; then - mv "${WORKDIR}"/dbus "${S}"/src/dbus - sed -i -e "/include/s:../definitions.pro.in:definitions.pro.in:" \ - -e "/TARGET/s:dbusextension:LastFmDbusExtension:" \ - "${S}"/src/dbus/dbusextension.pro - fi -} - -src_configure() { - if use dbus; then - pushd "${S}"/src/dbus - eqmake4 dbusextension.pro - popd >> /dev/null - fi - qt4-r2_src_configure -} - -src_compile() { - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "emake failed" - if use dbus; then - einfo "Building DBUS plugin" - emake -C "${S}"/src/dbus || die "failed to build dbus extension" - fi - cd i18n; lrelease *.ts -} - -src_install() { - cd "${WORKDIR}" - # Docs - dodoc "${S}"/ChangeLog.txt "${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" - if use dbus; then - insinto /usr/$(get_libdir)/lastfm_services/extensions/ - insopts -m0755 - doins "${S}"/bin/lastfm_services/extensions/*.so || die - fi - 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." -} diff --git a/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild index 0092d61cc35a..db82ad6e5688 100644 --- a/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild +++ b/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 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.27091-r3.ebuild,v 1.1 2012/07/14 17:10:48 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.5.4.27091-r3.ebuild,v 1.2 2012/08/26 00:36:09 hwoarang Exp $ EAPI=2 inherit eutils multilib toolchain-funcs qt4-r2 @@ -16,7 +16,7 @@ SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/lastfm-${PV}+dfsg.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" +KEYWORDS="amd64 ~arm ppc x86" IUSE="dbus ipod" RDEPEND="x11-libs/qt-gui:4 |