diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-05-03 10:25:48 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-05-03 10:25:48 +0000 |
commit | a4c1da98d02f008dfb62d74bff37445f46b161fd (patch) | |
tree | 8ff3c1f0195585394066e4919c733f2225933c58 /media-libs/sdl2-mixer | |
parent | Add SDL mixer library to multilib p.mask. (diff) | |
download | historical-a4c1da98d02f008dfb62d74bff37445f46b161fd.tar.gz historical-a4c1da98d02f008dfb62d74bff37445f46b161fd.tar.bz2 historical-a4c1da98d02f008dfb62d74bff37445f46b161fd.zip |
Enable multilib support.
Package-Manager: portage-2.2.10/cvs/Linux x86_64
Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'media-libs/sdl2-mixer')
-rw-r--r-- | media-libs/sdl2-mixer/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/sdl2-mixer/Manifest | 27 | ||||
-rw-r--r-- | media-libs/sdl2-mixer/sdl2-mixer-2.0.0-r1.ebuild | 110 |
3 files changed, 135 insertions, 12 deletions
diff --git a/media-libs/sdl2-mixer/ChangeLog b/media-libs/sdl2-mixer/ChangeLog index a1b0fe5a4c24..246ec48d72a6 100644 --- a/media-libs/sdl2-mixer/ChangeLog +++ b/media-libs/sdl2-mixer/ChangeLog @@ -1,10 +1,14 @@ # ChangeLog for media-libs/sdl2-mixer -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-mixer/ChangeLog,v 1.1 2013/08/28 21:44:34 hasufell Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-mixer/ChangeLog,v 1.2 2014/05/03 10:25:47 mgorny Exp $ + +*sdl2-mixer-2.0.0-r1 (03 May 2014) + + 03 May 2014; Michał Górny <mgorny@gentoo.org> +sdl2-mixer-2.0.0-r1.ebuild: + Enable multilib support. *sdl2-mixer-2.0.0 (28 Aug 2013) 28 Aug 2013; Julian Ospald <hasufell@gentoo.org> +sdl2-mixer-2.0.0.ebuild, +metadata.xml: initial import wrt #481796 - diff --git a/media-libs/sdl2-mixer/Manifest b/media-libs/sdl2-mixer/Manifest index 0f12151a4f12..121be2516ff4 100644 --- a/media-libs/sdl2-mixer/Manifest +++ b/media-libs/sdl2-mixer/Manifest @@ -2,17 +2,26 @@ Hash: SHA256 DIST SDL2_mixer-2.0.0.tar.gz 10119589 SHA256 a8ce0e161793791adeff258ca6214267fdd41b3c073d2581cd5265c8646f725b SHA512 e04594abc13c2b6527cd92a94a8d3e18436e9e6aaee21bab83e288e259a2fb20aae8433765d07feeb3b5bf253951323d67054239091e79720846770beb30be4d WHIRLPOOL 58385d7bdb3382af4f9d3aa9904b40083fe1139af0c938fa807904d70d4561180f65314bb2ab56f3b67a35140252e72802753ed723bca2536a4745fad43cb905 +EBUILD sdl2-mixer-2.0.0-r1.ebuild 3168 SHA256 0b8bb1bff745e3c1039f21c0f8da19eacd888404a135f2e085234122232f4ee2 SHA512 d62c112f4e6de83927e63bd724363e2013680ff1f7acdac2d9f7068539a5ecf1c45c5a0a923c58dd03356f6cf124cb9f7ae8b5613731b0c80c40bfee5475c9ef WHIRLPOOL f2003768f66c629ae0879f6c471692cd1e7dc390b010c434aa65232f9db1d6f3cdbdaba06d799e2e7a40aaf5e84b0efd56b8d308144c24a8f1a5b7944e034f76 EBUILD sdl2-mixer-2.0.0.ebuild 2875 SHA256 0541421ca402b5c9a188092dc9fbf2e2783581cb13db78b61c116d5af421db96 SHA512 e90b7ae0d246126032a506f924a3f76e9ca9aa5a4d1dd2ae65507fd8580c3af866ac99d9aa1640fc6b1a67047cea4a1fc5eaeba973e114e5eb7d0255d07ad5b9 WHIRLPOOL 9ee74417e2f00bf7dad7af96498bdd7fd432cc306965d2e76ee5ba87ebb617647ce28ff584ff6ad673d513249c68be5e7d984bae8335801f5394bb7c3a01c1f4 -MISC ChangeLog 374 SHA256 9c6331277ee7089853cd97549bc0446d5485f10469ff2167592cf6d2f0658342 SHA512 eb8be9bd2abb57b011ba86f4f045bc8361dc03651fd11a0d3fe0aa3aa9615c164eeffdc8b8dd2d03450372666c11ba342b40f5a3d8a3b70744f7815cedd358ed WHIRLPOOL dc288268313d00f40521216e250ff3ad140b01493bc70ddf506e367967efcd37a887640515aa812675381e9156ac57aa9a37fff2d29c963bb361ee4b5e9debaf +MISC ChangeLog 514 SHA256 040037c83a3e56e037d7c174c6dbde560c6f8045bbaf3896dffa541cd09549eb SHA512 c3a11cab01b9ea5d49515480389d2e1e6d82894c8cdfbbe389c4c75469a6f88ef17f5d6f893226bd285d2ec6c17952dd902e0d991e35da98873bce27a3a73e62 WHIRLPOOL eebb86e59236e8bf4a8e3b1108c66cf8eba7b611bb1bbc575f123a0eb0e6b1512c9ef77313b23eb7e3c926df69b46d0239669fe480fe4df1113ee383371b987e MISC metadata.xml 657 SHA256 9900dac3ab206adca75ceae4df1c50f840a131d4a779ecac28cc70bac2ff2a00 SHA512 f89f5271c5e364aac3c2ebc4e8b3177bb4472e09bb740c2d54e472ac9e5a2272988781d067b7b68bb1b80f8ba8c20611f74dd2adbb7b59fca68c36193b33bfef WHIRLPOOL caa85695a6653392f233afd978217be3b664d4e2ef0caffd2532620904c3c47c4555ba250b549d0262c111d20ab4b65c7fe4ab8127f46423bd547ff51ac25290 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJSHm9EAAoJEFpvPKfnPDWzkHsH/AjCVucJamfpFV5PgPXPzvi1 -DYjKwxjjsMniv6kJSCT/wCqCJaJfelqxgBkRsUP2AK0qLQ73pE0pQ3bzp2diCa6G -VebKCsWk4xlljZYumsyQ2ID4BJNKuEW30CAGsmpqmCttRfjpU/IlZRedOkq0eNSR -c4s1czyGJ2Kn9/wcxCNRby39/2kQCQ4CQv7EGV93+XVGF8IOdvzIRmRAkssm1KO5 -LD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1.ebuild b/media-libs/sdl2-mixer/sdl2-mixer-2.0.0-r1.ebuild new file mode 100644 index 000000000000..870d127c0524 --- /dev/null +++ b/media-libs/sdl2-mixer/sdl2-mixer-2.0.0-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2014 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-r1.ebuild,v 1.1 2014/05/03 10:25:47 mgorny Exp $ + +EAPI=5 +inherit eutils multilib-minimal + +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 ) + " + +RDEPEND="media-libs/libsdl2[${MULTILIB_USEDEP}] + flac? ( media-libs/flac[${MULTILIB_USEDEP}] ) + midi? ( + fluidsynth? ( media-sound/fluidsynth[${MULTILIB_USEDEP}] ) + timidity? ( media-sound/timidity++ ) + ) + mp3? ( + mad? ( media-libs/libmad[${MULTILIB_USEDEP}] ) + smpeg? ( media-libs/smpeg2[${MULTILIB_USEDEP}] ) + ) + mod? ( + modplug? ( media-libs/libmodplug[${MULTILIB_USEDEP}] ) + mikmod? ( media-libs/libmikmod[${MULTILIB_USEDEP}] ) + ) + vorbis? ( + tremor? ( media-libs/tremor[${MULTILIB_USEDEP}] ) + !tremor? ( + media-libs/libvorbis[${MULTILIB_USEDEP}] + media-libs/libogg[${MULTILIB_USEDEP}] ) + )" +DEPEND=${RDEPEND} + +S=${WORKDIR}/${MY_P} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + 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) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + if multilib_is_native_abi && use playtools; then + emake DESTDIR="${D}" install-bin + fi +} + +multilib_src_install_all() { + 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 +} |