diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-09-22 21:50:39 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-09-22 21:50:39 +0000 |
commit | c893cec1a02cdcc2262c869b9280706fe78eb125 (patch) | |
tree | 90dfa0ab00fc43a169c7647f2f9db92d8bf31802 /media-sound/lastfmplayer | |
parent | Avoid checking kernel details, bug #148694 (diff) | |
download | gentoo-2-c893cec1a02cdcc2262c869b9280706fe78eb125.tar.gz gentoo-2-c893cec1a02cdcc2262c869b9280706fe78eb125.tar.bz2 gentoo-2-c893cec1a02cdcc2262c869b9280706fe78eb125.zip |
Ebuild info fixes and changes thanks to Alexander Skwar <askwar@digitalprojects.com> and David Li <matrixhax0r@gmail.com> in bug 148574
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'media-sound/lastfmplayer')
-rw-r--r-- | media-sound/lastfmplayer/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild | 44 |
2 files changed, 28 insertions, 24 deletions
diff --git a/media-sound/lastfmplayer/ChangeLog b/media-sound/lastfmplayer/ChangeLog index e427a6889a30..c30f7368e2d2 100644 --- a/media-sound/lastfmplayer/ChangeLog +++ b/media-sound/lastfmplayer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/lastfmplayer # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.8 2006/08/31 00:08:11 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/ChangeLog,v 1.9 2006/09/22 21:50:39 genstef Exp $ + + 22 Sep 2006; Stefan Schweizer <genstef@gentoo.org> + lastfmplayer-1.0.0.1_p2113.ebuild: + Ebuild info fixes and changes thanks to Alexander Skwar + <askwar@digitalprojects.com> and David Li <matrixhax0r@gmail.com> in bug + 148574 31 Aug 2006; Stefan Schweizer <genstef@gentoo.org> lastfmplayer-1.0.0.1_p2113.ebuild: diff --git a/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild b/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild index 1a237b70fb44..e297fe765588 100644 --- a/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild +++ b/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild,v 1.4 2006/08/31 00:08:11 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/lastfmplayer/lastfmplayer-1.0.0.1_p2113.ebuild,v 1.5 2006/09/22 21:50:39 genstef Exp $ inherit eutils subversion versionator -DESCRIPTION="The Last.fm player allows you to listen to their internet radio which is tailored to your music profile" +DESCRIPTION="The player allows you to listen to last.fm radio streams" HOMEPAGE="http://www.last.fm/help/player" SRC_URI="" ESVN_REPO_URI="svn://svn.audioscrobbler.net/LastFM_client/trunk" @@ -15,24 +15,26 @@ SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug" -DEPEND="=x11-libs/qt-4*" +MY_QT_DEP="=x11-libs/qt-4*" +DEPEND="${MY_QT_DEP}" RDEPEND="${DEPEND}" pkg_setup() { - if ! built_with_use x11-libs/qt gif png ; then - eerror "It appears that qt was compiled without the gif or png USE flag" - eerror - eerror "In order to work, you need to enable these USE flag(s)" - eerror "To do this, run the following in a command window:" - eerror "echo \"x11-libs/qt gif png\" >> /etc/portage/package.use" - eerror "and recompile qt using \"emerge -avN1 qt\"" + local qt_version=$(best_version ${MY_QT_DEP}) + if ! built_with_use ${MY_QT_DEP} gif png ; then + eerror "It is nessary to compile ${qt_version} with gif and png USE flag" + eerror + eerror "To do this, run the following:" + eerror "echo \"${MY_QT_DEP} gif png\" >> /etc/portage/package.use" + eerror "and reemerge by running \"emerge -av1 ${MY_QT_DEP}\"" die "no gif or png support in qt" fi - if use debug && ! built_with_use x11-libs/qt debug ; then - eerror "In order to use debug, you need to compile Qt 4" + if use debug && ! built_with_use ${MY_QT_DEP} debug ; then + eerror "In order to use debug, you need to compile ${qt_version}" eerror "with debug USE flag." + die "no debug support in qt" fi } @@ -95,16 +97,12 @@ src_install() { } pkg_postinst() { - einfo "In order to use the Last.fm player with your mozilla based browser," - einfo "You must follow these steps:" - einfo " 1. Go to \"about:config\" using the location bar" - einfo " 2. Right-click on the page. Select \"New\" and then \"String\"" - einfo " 3. Type in the name field: \"network.protocol-handler.app.lastfm\"" - einfo " 4. Type in the value field: \"/usr/bin/lastfm\"" - einfo - einfo "If you experiance awkward fonts or widgets, you may consider" - einfo "running \"qtconfig\" and change the settings" + einfo "To use the Last.fm player with a mozilla based browser:" + einfo " 1. Go to about:config in the browser" + einfo " 2. Right-click on the page" + einfo " 3. Select New and then String" + einfo " 4. For the name: network.protocol-handler.app.lastfm" + einfo " 5. For the value: /usr/bin/lastfm" einfo - einfo "To configure a browser you need to add something like" - einfo "\"Browser=/usr/bin/firefox\" under [general] in ~/.config/last.fm/player.ini" + einfo "If you experiance awkward fonts or widgets, try running qtconfig." } |