From a0130e0a66d1da801fd9bc4641f3adb5ae60071c Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sun, 4 Mar 2007 02:18:47 +0000 Subject: [PATCH] =?utf8?q?add=20media-libs/alsa-lib=20midi=20check=20for?= =?utf8?q?=20bug=20#169219=20with=20patch=20from=20Diego=20Petten=C3=B2=20?= =?utf8?q?Package-Manager:=20portage-2.1.2-r9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- games-emulation/dosbox/ChangeLog | 7 ++++++- games-emulation/dosbox/Manifest | 24 +++++++++++------------ games-emulation/dosbox/dosbox-0.65.ebuild | 13 ++++++++++-- games-emulation/dosbox/dosbox-0.70.ebuild | 11 ++++++++++- 4 files changed, 39 insertions(+), 16 deletions(-) diff --git a/games-emulation/dosbox/ChangeLog b/games-emulation/dosbox/ChangeLog index b5a4189594fc..fee8acac83db 100644 --- a/games-emulation/dosbox/ChangeLog +++ b/games-emulation/dosbox/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/dosbox # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.28 2007/03/03 20:46:17 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.29 2007/03/04 02:18:47 mr_bones_ Exp $ + + 04 Mar 2007; Michael Sterrett dosbox-0.65.ebuild, + dosbox-0.70.ebuild: + add media-libs/alsa-lib midi check for bug #169219 with patch from Diego + Pettenò *dosbox-0.70 (03 Mar 2007) diff --git a/games-emulation/dosbox/Manifest b/games-emulation/dosbox/Manifest index 719afff04409..b8bde2bae059 100644 --- a/games-emulation/dosbox/Manifest +++ b/games-emulation/dosbox/Manifest @@ -5,18 +5,18 @@ EBUILD dosbox-0.58.ebuild 691 RMD160 9bb7c3aeb62afe0c1e1c9e475d3149076c8cec15 SH MD5 1b0ad62e69f0918764e337ea3c9052fa dosbox-0.58.ebuild 691 RMD160 9bb7c3aeb62afe0c1e1c9e475d3149076c8cec15 dosbox-0.58.ebuild 691 SHA256 b8fbf9905c530bcb6a3874764207b555403f2d3d782dea6977b62fed26b115b3 dosbox-0.58.ebuild 691 -EBUILD dosbox-0.65.ebuild 1101 RMD160 1d9c04b40f84e7002d3b0b21d22f304a47cfba78 SHA1 fbe4684b71a5f62158d8bcbbef1e4c0bd2967d6c SHA256 22dc2bbe71770792f9f1a8c84eb9d8bda72304fed49d5114484af35b1c15d947 -MD5 a8ba59c2dd8a803a86861f18fe34ba74 dosbox-0.65.ebuild 1101 -RMD160 1d9c04b40f84e7002d3b0b21d22f304a47cfba78 dosbox-0.65.ebuild 1101 -SHA256 22dc2bbe71770792f9f1a8c84eb9d8bda72304fed49d5114484af35b1c15d947 dosbox-0.65.ebuild 1101 -EBUILD dosbox-0.70.ebuild 1105 RMD160 f997287b4916cd334fb91a8f4d0c79c1eb9eb319 SHA1 c48a65f5119e3e4b38b34fc393322f5b0919151b SHA256 792d354ddc5ab02dc2c9cd371721412f1fea82534d99ae437bbf23f2f8a9cc35 -MD5 220a98b60c0da8c93c9d5c7c45c849aa dosbox-0.70.ebuild 1105 -RMD160 f997287b4916cd334fb91a8f4d0c79c1eb9eb319 dosbox-0.70.ebuild 1105 -SHA256 792d354ddc5ab02dc2c9cd371721412f1fea82534d99ae437bbf23f2f8a9cc35 dosbox-0.70.ebuild 1105 -MISC ChangeLog 3763 RMD160 d14ea8a0f6e13af51af5f49cccafb61e5d383b1c SHA1 f7cabe65e5683a628b13ab477080cfe89a65adcd SHA256 e080208b94ce1c23b25caceb4abd2e2c1a99c22a60109fc79f7116eef4e08876 -MD5 d9337fcc895a79004a6fb718f30f0aac ChangeLog 3763 -RMD160 d14ea8a0f6e13af51af5f49cccafb61e5d383b1c ChangeLog 3763 -SHA256 e080208b94ce1c23b25caceb4abd2e2c1a99c22a60109fc79f7116eef4e08876 ChangeLog 3763 +EBUILD dosbox-0.65.ebuild 1405 RMD160 358d145e3625f7c4d03f97af3d2f091375573caa SHA1 9beb043bdacab3e86bd7a5f1057b20ac2f8dfa65 SHA256 46f77f884f43e3b0cadd8bc094d8bc45ffb728d7a9104fdb046d316fc8bf8a67 +MD5 4a7b1956651a3bff29725f83af7040ef dosbox-0.65.ebuild 1405 +RMD160 358d145e3625f7c4d03f97af3d2f091375573caa dosbox-0.65.ebuild 1405 +SHA256 46f77f884f43e3b0cadd8bc094d8bc45ffb728d7a9104fdb046d316fc8bf8a67 dosbox-0.65.ebuild 1405 +EBUILD dosbox-0.70.ebuild 1405 RMD160 bbf32c209074df5af2360d72282bbc8f08e6d766 SHA1 204008efde705bb9ead2ad7d494237f0621078eb SHA256 21d4a60494bcbf5c4a6cf091d11c7900b482b87f34ab5af526774601fb030237 +MD5 02fa478187e9c897017f480dc7910ee2 dosbox-0.70.ebuild 1405 +RMD160 bbf32c209074df5af2360d72282bbc8f08e6d766 dosbox-0.70.ebuild 1405 +SHA256 21d4a60494bcbf5c4a6cf091d11c7900b482b87f34ab5af526774601fb030237 dosbox-0.70.ebuild 1405 +MISC ChangeLog 3947 RMD160 7d2c821024b4a4417802ff1be2f3e043b48fa7d7 SHA1 f269e82ecafd6e00d465519a67a548a9ce3d6b9a SHA256 bd3cc3e174eb35f4d4cf856892ceb4f76ae37aac8a873024f7ce3c668180d2e4 +MD5 0e8facc9db2323dc012d37e7263b0181 ChangeLog 3947 +RMD160 7d2c821024b4a4417802ff1be2f3e043b48fa7d7 ChangeLog 3947 +SHA256 bd3cc3e174eb35f4d4cf856892ceb4f76ae37aac8a873024f7ce3c668180d2e4 ChangeLog 3947 MISC metadata.xml 221 RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 SHA1 e947c4afb6291420a09d464cb18472cfcf1cb498 SHA256 80c34a967b80bba5f0f27215677fdad5b1ed739678287b62db1f6c345cf69811 MD5 95e2b5bfd7767aeae061c77f7e1a055e metadata.xml 221 RMD160 617e2d275f39c937dfdc8ae1ebc0b4fac331d0a9 metadata.xml 221 diff --git a/games-emulation/dosbox/dosbox-0.65.ebuild b/games-emulation/dosbox/dosbox-0.65.ebuild index 99d458d96895..26bed9cc8b39 100644 --- a/games-emulation/dosbox/dosbox-0.65.ebuild +++ b/games-emulation/dosbox/dosbox-0.65.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.65.ebuild,v 1.5 2006/09/20 16:47:46 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.65.ebuild,v 1.6 2007/03/04 02:18:47 mr_bones_ Exp $ inherit games @@ -21,6 +21,15 @@ DEPEND="sys-libs/zlib media-libs/sdl-net media-libs/sdl-sound" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "To be able to build dosbox with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi + games_pkg_setup +} + src_compile() { local myconf= diff --git a/games-emulation/dosbox/dosbox-0.70.ebuild b/games-emulation/dosbox/dosbox-0.70.ebuild index 50edad68bfaa..05bdc57bbfad 100644 --- a/games-emulation/dosbox/dosbox-0.70.ebuild +++ b/games-emulation/dosbox/dosbox-0.70.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.70.ebuild,v 1.1 2007/03/03 20:46:17 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.70.ebuild,v 1.2 2007/03/04 02:18:47 mr_bones_ Exp $ inherit games @@ -21,6 +21,15 @@ DEPEND="sys-libs/zlib media-libs/sdl-net media-libs/sdl-sound" +pkg_setup() { + if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then + eerror "To be able to build dosbox with ALSA support you need" + eerror "to have built media-libs/alsa-lib with midi USE flag." + die "Missing midi USE flag on media-libs/alsa-lib" + fi + games_pkg_setup +} + src_compile() { local myconf= -- 2.26.2