diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-08-28 21:44:36 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-08-28 21:44:36 +0000 |
commit | fa6039a2b38349eb967c06da988f182a797f35c2 (patch) | |
tree | 99c1b6c73e1a984ee99a7104d12f281211cbba90 /media-libs/sdl2-mixer | |
parent | initial import wrt #481796 (diff) | |
download | historical-fa6039a2b38349eb967c06da988f182a797f35c2.tar.gz historical-fa6039a2b38349eb967c06da988f182a797f35c2.tar.bz2 historical-fa6039a2b38349eb967c06da988f182a797f35c2.zip |
initial import wrt #481796
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'media-libs/sdl2-mixer')
-rw-r--r-- | media-libs/sdl2-mixer/Manifest | 18 | ||||
-rw-r--r-- | media-libs/sdl2-mixer/metadata.xml | 17 | ||||
-rw-r--r-- | media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild | 104 |
3 files changed, 137 insertions, 2 deletions
diff --git a/media-libs/sdl2-mixer/Manifest b/media-libs/sdl2-mixer/Manifest index 8054e52e6274..0f12151a4f12 100644 --- a/media-libs/sdl2-mixer/Manifest +++ b/media-libs/sdl2-mixer/Manifest @@ -1,4 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST SDL2_mixer-2.0.0.tar.gz 10119589 SHA256 a8ce0e161793791adeff258ca6214267fdd41b3c073d2581cd5265c8646f725b SHA512 e04594abc13c2b6527cd92a94a8d3e18436e9e6aaee21bab83e288e259a2fb20aae8433765d07feeb3b5bf253951323d67054239091e79720846770beb30be4d WHIRLPOOL 58385d7bdb3382af4f9d3aa9904b40083fe1139af0c938fa807904d70d4561180f65314bb2ab56f3b67a35140252e72802753ed723bca2536a4745fad43cb905 -EBUILD sdl2-mixer-2.0.0.ebuild 2873 SHA256 b2bb6d669041dedadc0c277b66e7f2bc5a568435828bf1b9bcc2de8d8d962ab1 SHA512 c601e55b51938b41dad0629a97c9930283918dc2c677b80dfc2b1e8a9209e3e975f838a941bf4414e0d36468964c8d37ccac1536c3b25ebe0625310efa75f393 WHIRLPOOL 5de3eaa5e5390d4ba595d9583acfb5ff8e9730ca4abc4dfd541d6b0547d965084d3f80f333055a62aac62b2b2bb370e1ea706807d99b55cf58a8447687757491 -MISC ChangeLog 279 SHA256 c2f9efd84fd120cec7da4990245a04c8d652173e679a6c0bc00be2f890c6f152 SHA512 c18e581cc872be92c62609f2a690de3f7a7d51daa8198bd1c7835405d9decb8b9f5b20555da279a213355185827285ac8b523dd8c4ed8f8cd064fdd23c9961b8 WHIRLPOOL 33d9b40a3811d1153fbf3b75ddc21613fd529a2707a4bc1077cc90916a5e7f726f0f8336eac7ab8be19d4cf8c72551a5df53abedce98009bdcdb243797cf4548 +EBUILD sdl2-mixer-2.0.0.ebuild 2875 SHA256 0541421ca402b5c9a188092dc9fbf2e2783581cb13db78b61c116d5af421db96 SHA512 e90b7ae0d246126032a506f924a3f76e9ca9aa5a4d1dd2ae65507fd8580c3af866ac99d9aa1640fc6b1a67047cea4a1fc5eaeba973e114e5eb7d0255d07ad5b9 WHIRLPOOL 9ee74417e2f00bf7dad7af96498bdd7fd432cc306965d2e76ee5ba87ebb617647ce28ff584ff6ad673d513249c68be5e7d984bae8335801f5394bb7c3a01c1f4 +MISC ChangeLog 374 SHA256 9c6331277ee7089853cd97549bc0446d5485f10469ff2167592cf6d2f0658342 SHA512 eb8be9bd2abb57b011ba86f4f045bc8361dc03651fd11a0d3fe0aa3aa9615c164eeffdc8b8dd2d03450372666c11ba342b40f5a3d8a3b70744f7815cedd358ed WHIRLPOOL dc288268313d00f40521216e250ff3ad140b01493bc70ddf506e367967efcd37a887640515aa812675381e9156ac57aa9a37fff2d29c963bb361ee4b5e9debaf MISC metadata.xml 657 SHA256 9900dac3ab206adca75ceae4df1c50f840a131d4a779ecac28cc70bac2ff2a00 SHA512 f89f5271c5e364aac3c2ebc4e8b3177bb4472e09bb740c2d54e472ac9e5a2272988781d067b7b68bb1b80f8ba8c20611f74dd2adbb7b59fca68c36193b33bfef WHIRLPOOL caa85695a6653392f233afd978217be3b664d4e2ef0caffd2532620904c3c47c4555ba250b549d0262c111d20ab4b65c7fe4ab8127f46423bd547ff51ac25290 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJSHm9EAAoJEFpvPKfnPDWzkHsH/AjCVucJamfpFV5PgPXPzvi1 +DYjKwxjjsMniv6kJSCT/wCqCJaJfelqxgBkRsUP2AK0qLQ73pE0pQ3bzp2diCa6G +VebKCsWk4xlljZYumsyQ2ID4BJNKuEW30CAGsmpqmCttRfjpU/IlZRedOkq0eNSR +c4s1czyGJ2Kn9/wcxCNRby39/2kQCQ4CQv7EGV93+XVGF8IOdvzIRmRAkssm1KO5 +LDOeE+h25HL8Sp5VnQpmwqCF+RZaNpRoexq7yKkqy6RGTo5Ji9rOxrZkuJ+l4tvX +bWQHP9oINw4FH+qimUL94Doz1dPvMDiwDvKruZ7ma6MewnLrlHMdGy1eozaIuQI= +=m0fE +-----END PGP SIGNATURE----- diff --git a/media-libs/sdl2-mixer/metadata.xml b/media-libs/sdl2-mixer/metadata.xml new file mode 100644 index 000000000000..0947c53cc68b --- /dev/null +++ b/media-libs/sdl2-mixer/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <use> + <flag name='fluidsynth'>Use <pkg>media-sound/fluidsynth</pkg> + for MIDI support</flag> + <flag name='midi'>basic support for MIDI files</flag> + <flag name='mod'>basic support for MOD files</flag> + <flag name='playtools'>Install playwave and playmus tools (useful + for testing)</flag> + <flag name='smpeg'>Use <pkg>media-libs/smpeg</pkg> for MP3 support + </flag> + <flag name='tremor'>enable OGG Vorbis music via libtremor</flag> + <flag name='wav'>support WAVE files</flag> + </use> +</pkgmetadata> diff --git a/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild b/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild new file mode 100644 index 000000000000..c42f1138fc9d --- /dev/null +++ b/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-mixer/sdl2-mixer-2.0.0.ebuild,v 1.1 2013/08/28 21:44:34 hasufell Exp $ + +EAPI=5 +inherit eutils + +MY_P=SDL2_mixer-${PV} +DESCRIPTION="Simple Direct Media Layer Mixer Library" +HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/" +SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/${MY_P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="flac fluidsynth mad midi mikmod mod modplug mp3 playtools smpeg static-libs timidity tremor vorbis +wav" +REQUIRED_USE=" + midi? ( || ( timidity fluidsynth ) ) + timidity? ( midi ) + fluidsynth? ( midi ) + mp3? ( || ( smpeg mad ) ) + smpeg? ( mp3 ) + mad? ( mp3 ) + mod? ( || ( mikmod modplug ) ) + mikmod? ( mod ) + modplug? ( mod ) + tremor? ( vorbis ) + " + +DEPEND="media-libs/libsdl2 + flac? ( media-libs/flac ) + midi? ( + fluidsynth? ( media-sound/fluidsynth ) + timidity? ( media-sound/timidity++ ) + ) + mp3? ( + mad? ( media-libs/libmad ) + smpeg? ( >=media-libs/smpeg2-2.0.0 ) + ) + mod? ( + modplug? ( media-libs/libmodplug ) + mikmod? ( >=media-libs/libmikmod-3.1.10 ) + ) + vorbis? ( + tremor? ( media-libs/tremor ) + !tremor? ( >=media-libs/libvorbis-1.0_beta4 media-libs/libogg ) + )" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-sdltest \ + --enable-music-cmd \ + $(use_enable wav music-wave) \ + $(use_enable mod music-mod) \ + $(use_enable modplug music-mod-modplug) \ + --disable-music-mod-modplug-shared \ + $(use_enable mikmod music-mod-mikmod) \ + --disable-music-mod-mikmod-shared \ + $(use_enable midi music-midi) \ + $(use_enable timidity music-midi-timidity) \ + $(use_enable fluidsynth music-midi-fluidsynth) \ + --disable-music-fluidsynth-shared \ + $(use_enable vorbis music-ogg) \ + $(use_enable tremor music-ogg-tremor) \ + --disable-music-ogg-shared \ + $(use_enable flac music-flac) \ + --disable-music-flac-shared \ + $(use_enable mp3 music-mp3) \ + $(use_enable smpeg music-mp3-smpeg) \ + --disable-music-mp3-smpeg-shared \ + --disable-smpegtest \ + $(use_enable mad music-mp3-mad-gpl) +} + +src_install() { + emake DESTDIR="${D}" install + if use playtools; then + emake DESTDIR="${D}" install-bin + fi + dodoc {CHANGES,README}.txt + use static-libs || prune_libtool_files +} + +pkg_postinst() { + # bug 412035 + # https://bugs.gentoo.org/show_bug.cgi?id=412035 + if use midi ; then + if use fluidsynth; then + ewarn "FluidSynth support requires you to set the SDL_SOUNDFONTS" + ewarn "environment variable to the location of a SoundFont file" + ewarn "unless the game or application happens to do this for you." + + if use timidity; then + ewarn "Failing to do so will result in Timidity being used instead." + else + ewarn "Failing to do so will result in silence." + fi + fi + fi +} |