diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-12-15 12:09:02 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-12-15 12:09:02 +0000 |
commit | 927805631681a7dba1af38074d076f5e5ef20c05 (patch) | |
tree | 5dcedc2eb1134ad0b5e636754bc6756c4f891d62 /games-emulation | |
parent | Introduce the core library for mupen64plus-2.0. (diff) | |
download | historical-927805631681a7dba1af38074d076f5e5ef20c05.tar.gz historical-927805631681a7dba1af38074d076f5e5ef20c05.tar.bz2 historical-927805631681a7dba1af38074d076f5e5ef20c05.zip |
Introduce the SDL audio library for mupen64plus-2.0.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'games-emulation')
4 files changed, 127 insertions, 0 deletions
diff --git a/games-emulation/mupen64plus-audio-sdl/ChangeLog b/games-emulation/mupen64plus-audio-sdl/ChangeLog new file mode 100644 index 000000000000..34b56986f6dd --- /dev/null +++ b/games-emulation/mupen64plus-audio-sdl/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for games-emulation/mupen64plus-audio-sdl +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64plus-audio-sdl/ChangeLog,v 1.1 2013/12/15 12:09:00 mgorny Exp $ + +*mupen64plus-audio-sdl-2.0 (15 Dec 2013) + + 15 Dec 2013; Michał Górny <mgorny@gentoo.org> +metadata.xml, + +mupen64plus-audio-sdl-2.0.ebuild: + Introduce the SDL audio library for mupen64plus-2.0. diff --git a/games-emulation/mupen64plus-audio-sdl/Manifest b/games-emulation/mupen64plus-audio-sdl/Manifest new file mode 100644 index 000000000000..db4f14d7e019 --- /dev/null +++ b/games-emulation/mupen64plus-audio-sdl/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST mupen64plus-audio-sdl-src-2.0.tar.gz 26084 SHA256 943ffa6b6cdaf0cda2a24469dfa1d8e951c88c41472ded9e5c9ecbc111363286 SHA512 92ee4755c22da5a753374c7c6f5e074bf6c1ab06a0ab27d475566d50f8ed75b636b59ffe1a8c9d3d63558bf5783b999a600703951679f7bab346643c0c86871d WHIRLPOOL 82a56a49f0ffe620917dba92bf135593c7e66e2944ec0688b29cc2d5362221b81f76e162840e315476d959b445d38f3bc1bf05538fbf1fa9de96b616835b2198 +EBUILD mupen64plus-audio-sdl-2.0.ebuild 1960 SHA256 fbd0296ddbe57fa252f13b7213234c8a57b4d94d364b08bab85293d2e0a312c7 SHA512 0bba18c05247482a594e7412f923630c824daf41183ea3e1dedf614c0d9c97ec314733e1b959b5fd724288eba5f38159c8cf4519abfbc58fa78d691de8ad25aa WHIRLPOOL fb93b91228fe8c9f5a1155b6b70b4e4e5d7bfd0bf3aedbc34f1848ddbc3f2d4d9e21544dce455360a37aed61708d9cff43c85cddfc0bc31912a3738a9bc2f5d5 +MISC ChangeLog 446 SHA256 bb73d6ab8c75238a43ff58feaed8df01e2946371c0d6eb2db67aeb43526d6b84 SHA512 d6acde670aae0f0040737c68c81b1932786f9b58a495166e09324308e25efd9750a0e25955f870fab9a243322138ad8716497df49ae09af60f5cb1c64466664f WHIRLPOOL 3764e50abdfeae88bcfb83322b9518c860a31662903e6e45488de07ef7ce29dd9695e4846466259045e72cf7a3afbe9cea1a97ae5c93364b5e08efa02a2c78b0 +MISC metadata.xml 352 SHA256 b5b11f77354a3f9a9051da98c3e7499a195f42a2abc71c3fe55979eeab43c7cc SHA512 579bbf3da7e4b2a573bbec036b4e5710dbe5289278094e9dc3c3cda8d8ca9533031e189bc12a15a47abe9f4cb58f83a98d2b0796ac0394797085b367658c3af8 WHIRLPOOL 3ced83d68b1b7923be49ae91e82ffe778aac35895fd681e8be87f28f77b716a60384af1935cc632abd7c510181d76526d475548e33117c73416d9cd922af49f3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQJ8BAEBCABmBQJSrZvdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO6BEP/RTyEqeNkGwCSchW0hhTJEVC +GLLy+BUijzLnvnbdZxSTjeRKkX1sRLD6eDeUkz5zejwppwdQAwnOLV2jO2lgpxES +RdHmxKQHB8C1XXubR5suhs2Yx6fbofotV/tg/5Jc0z4dpY1E4qXx6W+YG/VrdQme +c9JmrPxDchNl0kpXZUbXONWwXOgRcTPexqRgsD4L2Yj/vUijNKXVDCWjnNECGwlA +oA0U2ViDYkSWmA+x7BtXHpWBXT25R/7A9DukzXnb6wb16YuKm+OIdTuIlxDncU/+ +cgwou0j3da40x7eHUQ1Yvw7fn9IA5Yx9uR1iwAGCan44tvRFO8Z6mkHSEu6e8SzP +irSW1W2D880mtBBExw+QaYuq5Dbl3NEVUDy/NwMgcvFPAyYKkhUEOR7qq3rplqVS +aM2+kueOGAJZNNfQWXbz5bKsWy5MUvSKqDRVNVidHatf1ddadGehTYdqTnElsa5d +mWAE4I+2U7JWzupp8+NRph+6E6n4rRz0or7+UiIvw06GJcs31q9lG8k0S07Q9Kps +O7Hmwa3CGTJpj14vPE7Zry/v7aY8kARRox+Ap/TaZ20+oRYErdmh8tPOF9uqLf/h +lzsAsGI4qGEtOsBWif2SIARfBWX0T3qqO1D4qL9uUEHt994m5sUG+yj9/e9p7m9c +9L6zl8PY26FIj5gR2s2l +=LdRo +-----END PGP SIGNATURE----- diff --git a/games-emulation/mupen64plus-audio-sdl/metadata.xml b/games-emulation/mupen64plus-audio-sdl/metadata.xml new file mode 100644 index 000000000000..9047711e4ffd --- /dev/null +++ b/games-emulation/mupen64plus-audio-sdl/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <maintainer> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <maintainer> + <email>joker@gentoo.org</email> + <name>Christian Birchinger</name> + </maintainer> +</pkgmetadata> diff --git a/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.0.ebuild b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.0.ebuild new file mode 100644 index 000000000000..59fa70924856 --- /dev/null +++ b/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64plus-audio-sdl/mupen64plus-audio-sdl-2.0.ebuild,v 1.1 2013/12/15 12:09:00 mgorny Exp $ + +EAPI=5 + +MY_P=${PN}-src-${PV} +inherit eutils toolchain-funcs games + +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL audio plugin" +HOMEPAGE="http://code.google.com/p/mupen64plus/" +SRC_URI="mirror://bitbucket/richard42/${PN}/downloads/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libsamplerate oss speex" + +RDEPEND="games-emulation/mupen64plus-core:0= + media-libs/libsdl:0=[audio] + libsamplerate? ( media-libs/libsamplerate:0= ) + speex? ( media-libs/speex:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_compile() { + MAKEARGS=( + # Note: please keep this in sync in all of mupen64plus-* packages + + -C projects/unix + + # this basically means: GNU userspace + UNAME=Linux + + # verbose output + V=1 + + CROSS_COMPILE="${CHOST}-" + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected + # so we can leave OPTFLAGS empty + OPTFLAGS= + + # paths, some of them are used at compile time + PREFIX=/usr + LIBDIR="$(games_get_libdir)" + PLUGINDIR="$(games_get_libdir)"/mupen64plus + SHAREDIR="${GAMES_DATADIR}"/mupen64plus + + # disable unwanted magic + LDCONFIG=: + INSTALL_STRIP_FLAG= + + # Package-specific stuff + + # CROSS_COMPILE causes it to look for ${CHOST}-sdl-config... + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl)" + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl)" + + NO_SPEEX=$(usex speex 0 1) + NO_SRC=$(usex libsamplerate 0 1) + NO_OSS=$(usex oss 0 1) + ) + + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) + use x86 && MAKEARGS+=( HOST_CPU=i386 ) + + emake "${MAKEARGS[@]}" all +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + einstalldocs + prepgamesdirs +} |