diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-07-03 21:47:46 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-07-03 21:47:46 +0000 |
commit | 5bac269f346c235a58b6acdf7d0e6e454a8dce3e (patch) | |
tree | 84275e5bbf3eb771b717e47250a444f3ecdd8f25 /media-libs/flac | |
parent | bump to 2.22.3. Translation updates. (diff) | |
download | historical-5bac269f346c235a58b6acdf7d0e6e454a8dce3e.tar.gz historical-5bac269f346c235a58b6acdf7d0e6e454a8dce3e.tar.bz2 historical-5bac269f346c235a58b6acdf7d0e6e454a8dce3e.zip |
Dont needlessly restrict tests, just disable them if running as root as they are expected to fail in that case.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-libs/flac')
-rw-r--r-- | media-libs/flac/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/flac/Manifest | 10 | ||||
-rw-r--r-- | media-libs/flac/flac-1.2.1-r3.ebuild | 12 |
3 files changed, 19 insertions, 9 deletions
diff --git a/media-libs/flac/ChangeLog b/media-libs/flac/ChangeLog index 7ecba989ca63..ac26dd99d9eb 100644 --- a/media-libs/flac/ChangeLog +++ b/media-libs/flac/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/flac # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.141 2008/06/16 11:15:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.142 2008/07/03 21:47:46 aballier Exp $ + + 03 Jul 2008; Alexis Ballier <aballier@gentoo.org> flac-1.2.1-r3.ebuild: + Dont needlessly restrict tests, just disable them if running as root as + they are expected to fail in that case. 16 Jun 2008; Diego Pettenò <flameeyes@gentoo.org> +files/flac-1.2.1-dontbuild-examples.patch, diff --git a/media-libs/flac/Manifest b/media-libs/flac/Manifest index a6e7edaac244..ab102d73899a 100644 --- a/media-libs/flac/Manifest +++ b/media-libs/flac/Manifest @@ -10,13 +10,13 @@ AUX flac-1.2.1-gcc-4.3-includes.patch 423 RMD160 d7502f5185e8b9bcefbadfa30014b91 DIST flac-1.2.1.tar.gz 2009217 RMD160 bd3223c848054f0a75d11200b30f903bdd375bfc SHA1 bd54354900181b59db3089347cc84ad81e410b38 SHA256 9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf EBUILD flac-1.2.1-r1.ebuild 1438 RMD160 a2c6cc0c462990ebc66c208abd23dfe5c6918d2a SHA1 5d23ca787fc69d0b790de0133ff4f2ccd97e1313 SHA256 b928002d6e7e51e675a029f713d991f10af32e6c91081ebd44238c231e47da95 EBUILD flac-1.2.1-r2.ebuild 1543 RMD160 8fb0440a7f71cb599571aaa671ae1325c3de678b SHA1 99eea839011e1b36cf3e80684bce5f9bdf7a81ff SHA256 a1497678fbf7e7bb50d3a330986fc708511f691e8aa592c5b799efce2109eef5 -EBUILD flac-1.2.1-r3.ebuild 1525 RMD160 7f2cb56415f7331a698be42c3a97a08e66f5ab41 SHA1 fae0d6b9f30dc2b19f99130b735ccb4c7bba0b26 SHA256 0689c07243c18a7dcce45b5fe6c3bfca03a8adcb741d5e00ed08a0e5ee080be6 -MISC ChangeLog 20210 RMD160 b3a68d2f2f18dbb7c521a4061173783515c6b94b SHA1 9b92329f17754dad044b02b55c100b7e23da30a7 SHA256 79c9127b8d3f47eb003c611a2ad7cc2880714f2c52613388793555334730883c +EBUILD flac-1.2.1-r3.ebuild 1646 RMD160 1da8dc3a9809964ac362d582f0ce7a7a81167d8e SHA1 04d15bc0c1794169a1ce38f5248d05a1c0ed79bc SHA256 6454e2bbfac913dd3853012ff8199046fb919b12805e1eed7c38568388651cf2 +MISC ChangeLog 20400 RMD160 b1cbdd9ce9d1c37ba08883eaa86b2e165d1fd20a SHA1 21bd1ad0d936cedf041e8af0ab7b24309faa3afd SHA256 7c36b88ed5448ae48a636ceac83d5ab9c36586f8fe8988be883ca26f93edbf8f MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkhWSzsACgkQAiZjviIA2XjyRwCfaqpBdURI6vA4xW5oeXAQEuQW -EdUAoJ8FhUJql04NxNSfYQgGdiUA7xAz -=0w1n +iEYEARECAAYFAkhtSQsACgkQvFcC4BYPU0pPdwCeMPRQZSRGJPiqGbcaddI5nEox +/VAAn2ed4JucJQ9eR5erHtO2JVf8tOec +=NezO -----END PGP SIGNATURE----- diff --git a/media-libs/flac/flac-1.2.1-r3.ebuild b/media-libs/flac/flac-1.2.1-r3.ebuild index 45312f247a69..5091b7919e07 100644 --- a/media-libs/flac/flac-1.2.1-r3.ebuild +++ b/media-libs/flac/flac-1.2.1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v 1.3 2008/06/16 11:15:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r3.ebuild,v 1.4 2008/07/03 21:47:46 aballier Exp $ EAPI=1 @@ -21,8 +21,6 @@ DEPEND="${RDEPEND} !elibc_uclibc? ( sys-devel/gettext ) dev-util/pkgconfig" -RESTRICT="test" - PATCHES=( "${FILESDIR}/${P}-asneeded.patch" "${FILESDIR}/${P}-cflags.patch" "${FILESDIR}/${P}-asm.patch" @@ -51,6 +49,14 @@ src_compile() { emake || die "emake failed." } +src_test() { + if [ $UID != 0 ] ; then + emake check || die "tests failed" + else + ewarn "Tests will fail if ran as root, skipping." + fi +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." |