diff options
Diffstat (limited to 'media-libs/alure')
-rw-r--r-- | media-libs/alure/Manifest | 6 | ||||
-rw-r--r-- | media-libs/alure/alure-1.2-r1.ebuild | 48 | ||||
-rw-r--r-- | media-libs/alure/files/alure-1.2-include-unistd.patch | 13 | ||||
-rw-r--r-- | media-libs/alure/metadata.xml | 12 |
4 files changed, 79 insertions, 0 deletions
diff --git a/media-libs/alure/Manifest b/media-libs/alure/Manifest new file mode 100644 index 000000000000..d16b7d4c8941 --- /dev/null +++ b/media-libs/alure/Manifest @@ -0,0 +1,6 @@ +AUX alure-1.2-include-unistd.patch 192 SHA256 dbdce6389b8e49b476957a4e18ab28bead21e7680c2ba09e35ae5005dd97d994 SHA512 ebb1f841ea28f7e7690f1cdf6991af6bd97486473b63ffd11d79b05d66faf44b8ee590e45b0b1ede69af99a3f817103e8e444885834defd4ccbc76e2104649e8 WHIRLPOOL a80b168bf367b3bec2cb72a7eca6ab6d544582018b9f2a04d6a8bb2fb7c72690a2480d500deb3a2151d437c2c37200579e593553c7e18f415c8cb62bb0b155e7 +DIST alure-1.2.tar.bz2 65210 SHA256 465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71 SHA512 f1a2dbbe6870c9d34da724e49cad993cabdca393482bf6476adc925ba5da2a34dc26d86e612e6ed829183c6df595d46921766f46063d0d478ddb18deeb8878a6 WHIRLPOOL 88034f6957c5888d074c46896b6622ec478dc39a84fc55d35b74ab87d0cae5fe2d9b5af8be4ba2f5f9d41e32f4f9bb126906117d684054ea369ef5ee4296a464 +EBUILD alure-1.2-r1.ebuild 1254 SHA256 c824df85426da4282df773b053d351b89e12bb5d1429bf3fbd614f47cb7c07c1 SHA512 1c90e9f3954c9b22ad076bfc513dd8a94930f92f047ac281a91b1a554ec55c4623623aa5b10564ff42085d867848d24f48b7137d961efbdc93817a95700bd745 WHIRLPOOL bbe3e45294a473446ac7d39cbc5cfead2ee8c1ed6fe31ab5b1f4f1ff13ae1e66e4c8e522004a93fc719c8431b476ad232f5b55f17f115e7ef743e1f7d1efae7a +MISC ChangeLog 2642 SHA256 b3cfc447e69fd1d642d4bdec61c7cc682896d1832ad92bb598d2181b46819658 SHA512 34f9054eb8b2a58a1a4b7e73742972c96810f3be955509cea1cd18bce4ac3229da89fc04035055daa0c45106c250722d1eb34cf436aff0a1cd1e474fa97ab5be WHIRLPOOL 88022d00f159b71224f1e22600e6df45072d99771129c904c3adb4e26f9390c310ef507b217a8589893ba6fc206181ee266b3c83c2ba1d8d5775ab4020f4b77b +MISC ChangeLog-2015 1357 SHA256 06b46a3047cb97f0df56a3f66702fce77aafb26b4d599028190e9f8214a40f06 SHA512 20fff5edafa75788ed70b4557c80a39579169aa50f25e49ce1506425b8f099e1fda75e2796dff8dc2c4ef2bfeb1c0d9a842105d4ff6343cb113e848a12feabc4 WHIRLPOOL 0ca59ae4750bbdb685b56bc699e237f786e635b4a28a84592806062b14dc003b1732d2fd9c99eab8e51f64514c8acc4b996ada56ecd5fd59f1fa78737fd1c03e +MISC metadata.xml 440 SHA256 ecc54988e3dfd3fc3672396b876d5fcc9c5b2956cca54138e9f5fe4a059a8653 SHA512 5b6106088e98c6676d01e02b99a93dc661eb24909ee8aa235e9506c18175fbac7d765c05ce95dbe085c8aa772d45a4f8f717657f281694f40ddc10dd83f1e58e WHIRLPOOL 3f5503c77e5cbaa157403988f5e7b6c688ed8c117991202cff9957a600b665dcc88f5f642008c39b74c648b3f1f64e68c683c6cebec44cc7b2013c56e7ed655b diff --git a/media-libs/alure/alure-1.2-r1.ebuild b/media-libs/alure/alure-1.2-r1.ebuild new file mode 100644 index 000000000000..2aefcc7885f3 --- /dev/null +++ b/media-libs/alure/alure-1.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils eutils + +DESCRIPTION="The OpenAL Utility Toolkit" +HOMEPAGE="http://kcat.strangesoft.net/alure.html" +SRC_URI="http://kcat.strangesoft.net/alure-releases/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="dumb examples flac fluidsynth mp3 sndfile static-libs vorbis" + +RDEPEND=">=media-libs/openal-1.1 + dumb? ( media-libs/dumb ) + flac? ( media-libs/flac ) + fluidsynth? ( >=media-sound/fluidsynth-1.1.1 ) + mp3? ( media-sound/mpg123 ) + sndfile? ( media-libs/libsndfile ) + vorbis? ( media-libs/libvorbis )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-include-unistd.patch" ) + +src_prepare() { + cmake-utils_src_prepare + + sed -i -e "/DESTINATION/s:doc/alure:doc/${PF}:" CMakeLists.txt || die +} + +src_configure() { + # FIXME: libmodplug/sndfile.h from libmodplug conflict with sndfile.h from libsndfile + local mycmakeargs=( + -DMODPLUG=OFF + -DDUMB=$(usex dumb) + -DBUILD_EXAMPLES=$(usex examples) + -DFLAC=$(usex flac) + -DFLUIDSYNTH=$(usex fluidsynth) + -DMPG123=$(usex mp3) + -DSNDFILE=$(usex sndfile) + -DBUILD_STATIC=$(usex static-libs) + -DVORBIS=$(usex vorbis) + ) + + cmake-utils_src_configure +} diff --git a/media-libs/alure/files/alure-1.2-include-unistd.patch b/media-libs/alure/files/alure-1.2-include-unistd.patch new file mode 100644 index 000000000000..b2db3dc30fa4 --- /dev/null +++ b/media-libs/alure/files/alure-1.2-include-unistd.patch @@ -0,0 +1,13 @@ +Gentoo-bug: 500164 + +--- a/src/codec_fluidsynth.cpp ++++ b/src/codec_fluidsynth.cpp +@@ -30,6 +30,8 @@ + #ifdef _WIN32 + #include <io.h> ++#else ++#include <unistd.h> + #endif + + #include <istream> + diff --git a/media-libs/alure/metadata.xml b/media-libs/alure/metadata.xml new file mode 100644 index 000000000000..92fae40d6f3c --- /dev/null +++ b/media-libs/alure/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <use> + <flag name="dumb">Enable <pkg>media-libs/dumb</pkg> module library support</flag> + <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis</flag> + </use> +</pkgmetadata> |