public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/picard: ChangeLog picard-0.10.ebuild picard-0.10.0_rc1.ebuild
@ 2008-08-17 12:31 Santiago M. Mola (coldwind)
  0 siblings, 0 replies; only message in thread
From: Santiago M. Mola (coldwind) @ 2008-08-17 12:31 UTC (permalink / raw
  To: gentoo-commits

coldwind    08/08/17 12:31:53

  Modified:             ChangeLog
  Added:                picard-0.10.ebuild
  Removed:              picard-0.10.0_rc1.ebuild
  Log:
  Bump to 0.10 release, fixes #233171, thanks to Vadim Efimov for the hints.
  (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 x86_64)

Revision  Changes    Path
1.13                 media-sound/picard/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.13&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?rev=1.13&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog	30 Jun 2008 20:51:11 -0000	1.12
+++ ChangeLog	17 Aug 2008 12:31:53 -0000	1.13
@@ -1,6 +1,12 @@
 # ChangeLog for media-sound/picard
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.12 2008/06/30 20:51:11 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/ChangeLog,v 1.13 2008/08/17 12:31:53 coldwind Exp $
+
+*picard-0.10 (17 Aug 2008)
+
+  17 Aug 2008; Santiago M. Mola <coldwind@gentoo.org> +picard-0.10.ebuild,
+  -picard-0.10.0_rc1.ebuild:
+  Bump to 0.10 release, fixes #233171, thanks to Vadim Efimov for the hints.
 
   30 Jun 2008; Santiago M. Mola <coldwind@gentoo.org> picard-0.9.0.ebuild,
   picard-0.10.0_rc1.ebuild:



1.1                  media-sound/picard/picard-0.10.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.10.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/picard/picard-0.10.ebuild?rev=1.1&content-type=text/plain

Index: picard-0.10.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/picard/picard-0.10.ebuild,v 1.1 2008/08/17 12:31:53 coldwind Exp $

inherit eutils distutils

MY_P="${P/_/}"
DESCRIPTION="An improved rewrite/port of the Picard Tagger using Qt"
HOMEPAGE="http://musicbrainz.org/doc/PicardQt"
SRC_URI="http://ftp.musicbrainz.org/pub/musicbrainz/picard/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cdaudio ffmpeg nls"

RDEPEND=">=dev-lang/python-2.4
	|| ( >=dev-lang/python-2.5 >=dev-python/ctypes-0.9 )
	>=dev-python/PyQt4-4.2
	media-libs/mutagen
	cdaudio? ( >=media-libs/libdiscid-0.1.1 )
	ffmpeg? ( media-video/ffmpeg
		>=media-libs/libofa-0.9.2 )"

DEPEND="${RDEPEND}"

DOCS="AUTHORS.txt INSTALL.txt NEWS.txt"
S=${WORKDIR}/${MY_P}

pkg_setup() {
	if ! use ffmpeg; then
		ewarn "The 'ffmpeg' USE flag is disabled. Acoustic fingerprinting and"
		ewarn "recognition will not be available."
	fi
	if ! use cdaudio; then
		ewarn "The 'cdaudio' USE flag is disabled. CD index lookup and"
		ewarn "identification will not be available. You can get audio CD support"
		ewarn "by installing media-libs/libdiscid."
	fi

	if ! built_with_use --missing true dev-lang/python cxx ; then
		eerror "Please, rebuild dev-lang/python with USE=\"cxx\"."
		die "dev-lang/python built without cxx support"
	fi
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	if has_version '>=media-video/ffmpeg-0.4.9_p20080326' ; then
		epatch "${FILESDIR}"/${PN}-0.10.0_rc1-ffmpeg-headers.patch
	fi
}

src_compile() {
	${python} setup.py config || die "setup.py config failed"
	if ! use ffmpeg; then
		sed -i -e "s:\(^with-avcodec\ =\ \).*:\1False:" \
			-e "s:\(^with-libofa\ =\ \).*:\1False:" \
			build.cfg || die "sed failed"
	fi
	${python} setup.py build $(use nls || echo "--disable-locales") \
		|| die "setup.py build failed"
}

src_install() {
	distutils_src_install --disable-autoupdate --skip-build \
		$(use nls || echo "--disable-locales")
}

pkg_postinst() {
	distutils_pkg_postinst
	echo
	elog "You should set the environment variable BROWSER to something like"
	elog "\"firefox '%s' &\" to let python know which browser to use."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-17 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-17 12:31 [gentoo-commits] gentoo-x86 commit in media-sound/picard: ChangeLog picard-0.10.ebuild picard-0.10.0_rc1.ebuild Santiago M. Mola (coldwind)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox