diff options
Diffstat (limited to 'media-sound/giada')
-rw-r--r-- | media-sound/giada/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/giada/Manifest | 6 | ||||
-rw-r--r-- | media-sound/giada/files/giada-0.5.4-configure.patch | 50 | ||||
-rw-r--r-- | media-sound/giada/files/giada-0.5.4-flags.patch | 10 | ||||
-rw-r--r-- | media-sound/giada/giada-0.5.4.ebuild | 42 | ||||
-rw-r--r-- | media-sound/giada/metadata.xml | 5 |
6 files changed, 124 insertions, 0 deletions
diff --git a/media-sound/giada/ChangeLog b/media-sound/giada/ChangeLog new file mode 100644 index 000000000000..3b22bdbbf4b1 --- /dev/null +++ b/media-sound/giada/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/giada +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/giada/ChangeLog,v 1.1 2012/11/27 07:38:44 radhermit Exp $ + +*giada-0.5.4 (27 Nov 2012) + + 27 Nov 2012; Tim Harder <radhermit@gentoo.org> +giada-0.5.4.ebuild, + +files/giada-0.5.4-configure.patch, +files/giada-0.5.4-flags.patch, + +metadata.xml: + Initial import, ebuild by me. + diff --git a/media-sound/giada/Manifest b/media-sound/giada/Manifest new file mode 100644 index 000000000000..086dfd3c8e4e --- /dev/null +++ b/media-sound/giada/Manifest @@ -0,0 +1,6 @@ +AUX giada-0.5.4-configure.patch 1211 SHA256 db02aa4b384d7dea89016e33fdbc9f7efb3419becf6554400bb7b7891165b8a1 SHA512 f6349a7ab5fe4ae0de216f5a169f6f111c8279a8c87a23db099322ccbbe9a266d9d6b4c9754f6c838f8d06b3abbe44569687f7b332a5284027a6e88d71a4b345 WHIRLPOOL 59f0aa9d275d63da9e0dbb5f7fe46355906b61d202f7f6d61bc93f4727f538ff475856d10798115c41cd1f42296731271662ea8c4d51c27d13fbbb2b0d2ff843 +AUX giada-0.5.4-flags.patch 317 SHA256 8455d0d2680038c75478d9f52264c61c63adc906f51122c36c45dd428efd2055 SHA512 d30edde13eef3a76e72ab2ef052ff4983f76293b158f1ecbca056510f8d875e2afc2cb5a0e339124f3243b17bf59f86432fe04621e0deacc72edabd9b05a0525 WHIRLPOOL 14ad4eb381c6c3f6fb3bc846e7c1c0b3058039ea471db1ad7e8d3581473fd6e75ea35451b4ab8c35e032ff3b96f59e7f242b86e2f709de47f947d4f587df6e96 +DIST giada-0.5.4.tar.gz 178328 SHA256 6dfcaf27efc59927be825548454d03e5b8a21a9d6d105932917c802e32bfa4a3 SHA512 111ae6cbe562ba61a22526b35001062b04b95fd7d6f9c3204d048c40f6f719b43a126d153cc9e0a5cb5ac8e603ff3935282115283fe5dad90e2d0572db231555 WHIRLPOOL 20b9857ca8e7f8a8c77b5137c9dd7467916d014da25682fe684a7f3e4215f7f9aa6072e44435b358703aa5f2a3c4eb27f66792f6085ca8d9ac6e3d887171d6e4 +EBUILD giada-0.5.4.ebuild 994 SHA256 c832088ec1aac57dc3d8a52c8b99885d19dc051a46c6a1e2056df9e93878e1d1 SHA512 fa72406988ff5635993f14a7501474e675b83df5d546c47e56d1c797a1f849a972e34fcc4e0eb4cedab25af2296a3f3180c32e80846f393a127ca2a284b3ae3b WHIRLPOOL 14dea97d85c2a063248f152d04491a882f1d2e4496ebcdc8fe5953e39d381411c673fc5ebbbe1aa056e9729f7bb51b979bc7a6d9c68ba63ff200b0b9d0f8cf00 +MISC ChangeLog 336 SHA256 6c60021c800fc8327c585166686cf5ae817407bb6e6bf3cbea34809bb8009dca SHA512 3294a7feb148c04b7de169e7d418f14b241bd8e73e4358f9d4b5e6a640911b2f4179bff4ef6d419252f6e2eaea24045e2409ba8f2f3686fb74bf12456e43516c WHIRLPOOL 1c942f5019bebe62a51dbd38d1c5b7aa833f989fca1bdaeec792d071448c1e96db16d5adb0e670c22116866fd766e124f8a375c12493f48961d388c102df28be +MISC metadata.xml 161 SHA256 0ba191421eefd954d1efe9f6c3384e8c8d7455d35a7e79457272e1c29211b09e SHA512 e9f8695c64d7b6aa86b9b6186490d50b5a75d593ac1c86b9698265c6345899c64fa712acdde3bdbfb2464139e44623efdae29b67b73c1c85bcbedfbd10e874fd WHIRLPOOL c01ec8b583f907a3a62da7d5bf74d09809244709021f437dc3f0064b2d52baa3dd4386369b46a9fd74020146017cf6117ad04b147e8538b1a2c7202e1b4a2dd5 diff --git a/media-sound/giada/files/giada-0.5.4-configure.patch b/media-sound/giada/files/giada-0.5.4-configure.patch new file mode 100644 index 000000000000..4a9b618b0967 --- /dev/null +++ b/media-sound/giada/files/giada-0.5.4-configure.patch @@ -0,0 +1,50 @@ +--- giada-0.5.4/configure.ac ++++ giada-0.5.4/configure.ac +@@ -52,6 +52,27 @@ + [AC_DEFINE(WITH_VST)] + ) + ++AC_ARG_ENABLE( ++ alsa, ++ AS_HELP_STRING([--disable-alsa], [disable alsa support]), ++ [AC_DEFINE(WITH_ALSA)] ++) ++AM_CONDITIONAL(ALSA, test "x$enable_alsa" = "xtrue") ++ ++AC_ARG_ENABLE( ++ jack, ++ AS_HELP_STRING([--enable-jack], [enable jack support]), ++ [AC_DEFINE(WITH_JACK)] ++) ++AM_CONDITIONAL(JACK, test "x$enable_jack" = "xtrue") ++ ++AC_ARG_ENABLE( ++ pulse, ++ AS_HELP_STRING([--enable-pulse], [enable pulseaudio support]), ++ [AC_DEFINE(WITH_PULSE)] ++) ++AM_CONDITIONAL(PULSE, test "x$enable_pulse" = "xtrue") ++ + # ---------------------------------------------------------------------- + + # Checks for programs. +--- giada-0.5.4/src/Makefile.am ++++ giada-0.5.4/src/Makefile.am +@@ -38,7 +38,16 @@ + # inside configure.ac + if LINUX + giada_LDADD = -lsndfile -lfltk -lXext -lX11 -lXft -lXpm -lm -lrtaudio \ +- -ljack -lasound -lpthread -ldl -lpulse-simple ++ -lpthread -ldl ++if ALSA ++giada_LDADD += -lasound ++endif ++if JACK ++giada_LDADD += -ljack ++endif ++if PULSE ++giada_LDADD += -lpulse-simple ++endif + endif + if WINDOWS + giada_LDADD = -lole32 -lrtaudio -ldsound -lwinmm -lwsock32 -lm \ diff --git a/media-sound/giada/files/giada-0.5.4-flags.patch b/media-sound/giada/files/giada-0.5.4-flags.patch new file mode 100644 index 000000000000..17e013ccd2fe --- /dev/null +++ b/media-sound/giada/files/giada-0.5.4-flags.patch @@ -0,0 +1,10 @@ +--- giada-0.5.4/src/Makefile.am ++++ giada-0.5.4/src/Makefile.am +@@ -1,6 +1,6 @@ + AUTOMAKE_OPTIONS = foreign + +-AM_CXXFLAGS = -Wall -pedantic -Werror ++AM_CXXFLAGS = -Wall -pedantic + + # aeffect.h (header from VST SDK) uses 'long long' which is not supported + # in ISO C++ 1998 and -Werror flag breaks the compilation. diff --git a/media-sound/giada/giada-0.5.4.ebuild b/media-sound/giada/giada-0.5.4.ebuild new file mode 100644 index 000000000000..9aaa08eae292 --- /dev/null +++ b/media-sound/giada/giada-0.5.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/giada/giada-0.5.4.ebuild,v 1.1 2012/11/27 07:38:44 radhermit Exp $ + +EAPI=5 + +inherit flag-o-matic eutils autotools + +DESCRIPTION="A free, minimal, hardcore audio tool for djs and live performers" +HOMEPAGE="http://www.monocasual.com/giada/" +SRC_URI="http://www.monocasual.com/giada/download.php?dist=source&file=${PN}_${PV}_src.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa jack pulseaudio" +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +RDEPEND="media-libs/libsndfile + media-libs/rtaudio[alsa?,jack?,pulseaudio?] + x11-libs/fltk:1 + x11-libs/libXpm" +DEPEND="${RDEPEND}" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + epatch "${FILESDIR}"/${P}-configure.patch + eautoreconf +} + +src_configure() { + append-cppflags -I/usr/include/fltk-1 + append-ldflags -L/usr/$(get_libdir)/fltk-1 + + econf \ + --target=linux \ + $(use_enable alsa) \ + $(use_enable jack) \ + $(use_enable pulseaudio pulse) +} diff --git a/media-sound/giada/metadata.xml b/media-sound/giada/metadata.xml new file mode 100644 index 000000000000..0dc3775f83d7 --- /dev/null +++ b/media-sound/giada/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +</pkgmetadata> |