[proaudio] [1000] traverso: version bump, use cmake-utils.eclass |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1000
Author: gimpel
Date: 2007-12-12 17:30:43 +0000 (Wed, 12 Dec 2007)
Log Message:
-----------
traverso: version bump, use cmake-utils.eclass
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/traverso/Manifest
trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/traverso/files/digest-traverso-0.42.0
trunk/overlays/proaudio/media-sound/traverso/traverso-0.42.0.ebuild
Modified: trunk/overlays/proaudio/media-sound/traverso/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/Manifest 2007-12-12 17:20:39 UTC (rev 999)
+++ trunk/overlays/proaudio/media-sound/traverso/Manifest 2007-12-12 17:30:43 UTC (rev 1000)
@@ -1,15 +1,23 @@
DIST traverso-0.40.0.tar.gz 689484 RMD160 0a834652aa56025d44eac3df629d93bddc5b25ce SHA1 cbada93544f2d52eadde33900a517eef49b8f4f8 SHA256 8a2f86563d5ce79ebbb7e793be4a29fa533110939c49044da634946e0e43a238
+DIST traverso-0.42.0.tar.gz 874836 RMD160 83adf7686da7e192a253677c904f5786e39fafe9 SHA1 7ad1c4555f93b380e44ce2941cbc88babc5f1064 SHA256 b91d1f536dcd3eb5f48a881c2b3da957e02f4f96a5573f6ca2d173347ed74be8
EBUILD traverso-0.40.0.ebuild 1852 RMD160 248b8d3944203f62ac16a9ab30b14157651f7c61 SHA1 06ae88456518744154e8320a60e98b1bab189e50 SHA256 34fc4cf7c37515823ab2f60fff3cea8e3e7a4dc2683b36f6e8de67bac9ce3ce0
MD5 cb79899d6617af06307caa5b5f0ef882 traverso-0.40.0.ebuild 1852
RMD160 248b8d3944203f62ac16a9ab30b14157651f7c61 traverso-0.40.0.ebuild 1852
SHA256 34fc4cf7c37515823ab2f60fff3cea8e3e7a4dc2683b36f6e8de67bac9ce3ce0 traverso-0.40.0.ebuild 1852
-EBUILD traverso-9999.ebuild 1959 RMD160 43ace8781a051a043677f062f3ed011f63cd9b64 SHA1 243ac307ffee92986d82fe6c6d8ef9bbf6646aa5 SHA256 cc454439ef4db1aa0e3c5ade39b6ed297bc41e75a33f2bcc2e38eaa3d7526f99
-MD5 68a1de13716199f66fad2f46deb7a08e traverso-9999.ebuild 1959
-RMD160 43ace8781a051a043677f062f3ed011f63cd9b64 traverso-9999.ebuild 1959
-SHA256 cc454439ef4db1aa0e3c5ade39b6ed297bc41e75a33f2bcc2e38eaa3d7526f99 traverso-9999.ebuild 1959
+EBUILD traverso-0.42.0.ebuild 1443 RMD160 f109d7fdf75630ed5bb3de9f6870662dd52e062c SHA1 523e7e1ca5dc4c5a98c36144a08a77592c25e2c3 SHA256 80436ae31de81904a456ac08c67aa704e4e388cbebfaf8b8eb283239a8663a03
+MD5 a4a0c6672bb768ec7dbb4086f403f8ad traverso-0.42.0.ebuild 1443
+RMD160 f109d7fdf75630ed5bb3de9f6870662dd52e062c traverso-0.42.0.ebuild 1443
+SHA256 80436ae31de81904a456ac08c67aa704e4e388cbebfaf8b8eb283239a8663a03 traverso-0.42.0.ebuild 1443
+EBUILD traverso-9999.ebuild 1439 RMD160 24761f7393e1dbac93e4d352d47b61e64c023e55 SHA1 55146de69cd8e2ef04fe727134f54dee2d17d49c SHA256 4da81f47deb91f1362487ebfef1716905321337ba8868889e7e7880b817e5398
+MD5 ce5095cf472706be1d6d352b7e681c14 traverso-9999.ebuild 1439
+RMD160 24761f7393e1dbac93e4d352d47b61e64c023e55 traverso-9999.ebuild 1439
+SHA256 4da81f47deb91f1362487ebfef1716905321337ba8868889e7e7880b817e5398 traverso-9999.ebuild 1439
MD5 37f811b156ead5da352b9cb4823f7ba6 files/digest-traverso-0.40.0 247
RMD160 77228c97909bae1f9fce0612169002d2dc7bdce2 files/digest-traverso-0.40.0 247
SHA256 decd1a7397734549bef781bdd73f6ce0568a44c5258a1c771029bf94e74a4811 files/digest-traverso-0.40.0 247
+MD5 70b4ccd2e3b5615ad4e17236f53b4e54 files/digest-traverso-0.42.0 247
+RMD160 52f993da6d1b62d63b50e7776e29fe8e27b90ea0 files/digest-traverso-0.42.0 247
+SHA256 31e2c755606b970b066f62469812bfcb5ca9386f9b2eaa9c930251c736fe821a files/digest-traverso-0.42.0 247
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-traverso-9999 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-traverso-9999 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-traverso-9999 0
Added: trunk/overlays/proaudio/media-sound/traverso/files/digest-traverso-0.42.0
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/files/digest-traverso-0.42.0 (rev 0)
+++ trunk/overlays/proaudio/media-sound/traverso/files/digest-traverso-0.42.0 2007-12-12 17:30:43 UTC (rev 1000)
@@ -0,0 +1,3 @@
+MD5 92a71c3001acacc649e9fb69dffd881d traverso-0.42.0.tar.gz 874836
+RMD160 83adf7686da7e192a253677c904f5786e39fafe9 traverso-0.42.0.tar.gz 874836
+SHA256 b91d1f536dcd3eb5f48a881c2b3da957e02f4f96a5573f6ca2d173347ed74be8 traverso-0.42.0.tar.gz 874836
Added: trunk/overlays/proaudio/media-sound/traverso/traverso-0.42.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/traverso-0.42.0.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/traverso/traverso-0.42.0.ebuild 2007-12-12 17:30:43 UTC (rev 1000)
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils qt4 cmake-utils
+
+DESCRIPTION="Professional Audio Tools for GNU/Linux"
+HOMEPAGE="http://traverso-daw.org/"
+SRC_URI="http://traverso-daw.org/download/releases/current/${P}.tar.gz"
+
+IUSE="alsa jack lv2 mad sse"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="$(qt4_min_version 4.2.3)
+ alsa? ( media-libs/alsa-lib )
+ jack? ( media-sound/jack-audio-connection-kit )
+ >=media-libs/libsndfile-1.0.12
+ media-libs/libsamplerate
+ >=sci-libs/fftw-3
+ lv2? ( dev-libs/rasqal dev-libs/redland media-libs/slv2 )
+ mad? ( media-libs/libmad media-sound/lame )
+ media-libs/libogg
+ media-libs/libvorbis
+ media-sound/wavpack"
+ # Note: wavpack and vorbis are not configurable at this point
+
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.3"
+
+src_compile() {
+ local mycmakeargs=""
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_want jack JACK)
+ $(cmake-utils_use_want alsa ALSA)
+ $(cmake-utils_use_want lv2 LV2)
+ $(cmake-utils_use_want mad MP3_DECODE)
+ $(cmake-utils_use_want mad MP3_ENCODE)"
+
+ use lv2 && mycmakeargs="${mycmakeargs} -DUSE_SYSTEM_SLV2_LIBRARY=ON"
+
+ CMAKE_IN_SOURCE_BUILD=1
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc AUTHORS ChangeLog README
+
+ doicon resources/freedesktop/icons/128x128/apps/${PN}.png
+ make_desktop_entry ${PN} Traverso ${PN} "AudioVideo;Audio;"
+}
Modified: trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild 2007-12-12 17:20:39 UTC (rev 999)
+++ trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild 2007-12-12 17:30:43 UTC (rev 1000)
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /sources/traverso/traverso/traverso-9999.ebuild,v 1.2 2007/06/03 23:15:52 ingmar Exp $
+# $Header: $
-inherit eutils qt4 toolchain-funcs cvs
+inherit eutils qt4 cmake-utils cvs
DESCRIPTION="Professional Audio Tools for GNU/Linux"
HOMEPAGE="http://traverso-daw.org/"
@@ -10,7 +10,7 @@
ECVS_SERVER="cvs.savannah.nongnu.org:/sources/traverso"
ECVS_MODULE="traverso"
-IUSE="alsa jack lv2 sse"
+IUSE="alsa jack lv2 mad sse"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS=""
@@ -21,40 +21,33 @@
>=media-libs/libsndfile-1.0.12
media-libs/libsamplerate
>=sci-libs/fftw-3
- lv2? ( dev-libs/rasqal dev-libs/redland )"
+ lv2? ( dev-libs/rasqal dev-libs/redland media-libs/slv2 )
+ mad? ( media-libs/libmad media-sound/lame )
+ media-libs/libogg
+ media-libs/libvorbis
+ media-sound/wavpack"
+ # Note: wavpack and vorbis are not configurable at this point
DEPEND="${RDEPEND}
- sys-apps/sed"
+ >=dev-util/cmake-2.4.3"
-S="${WORKDIR}/${PN}"
-
-src_unpack() {
- cvs_src_unpack
-
- cd "${S}"
-
- sed -ie "s:^\(\#define\ RESOURCES_DIR\) \(.*\):\1 \"/usr/share/traverso\":" src/config.h
- sed -ie "s:^\(target.path\ =\) \(.*\):\1 /usr/bin:" src/traverso/traverso.pro
- sed -ie "s:^\(DESTDIR_TARGET\ =\) \(.*\):\1 /usr/bin:" src/traverso/traverso.pro
- # Removing forced cxxflags
- sed -ie "s:^\(.*QMAKE_CXXFLAGS_RELEASE.*\):#\1:" src/base.pri
- # adding our cxxflags
- sed -ie "s:^\(.*release\ {.*\):\1\n QMAKE_CXXFLAGS_RELEASE\ =\ ${CXXFLAGS}:" src/base.pri
-}
-
src_compile() {
- use jack || echo "DEFINES -= JACK_SUPPORT" >> src/base.pri
- use alsa || echo "DEFINES -= ALSA_SUPPORT" >> src/base.pri
- use sse || echo "DEFINES -= SSE_OPTIMIZATIONS" >> src/base.pri
- use lv2 || echo "DEFINES -= LV2_SUPPORT" >> src/base.pri
+ local mycmakeargs=""
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_want jack JACK)
+ $(cmake-utils_use_want alsa ALSA)
+ $(cmake-utils_use_want lv2 LV2)
+ $(cmake-utils_use_want mad MP3_DECODE)
+ $(cmake-utils_use_want mad MP3_ENCODE)"
- QMAKE="/usr/bin/qmake"
- $QMAKE traverso.pro -after "QMAKE_STRIP=\"/usr/bin/true\"" || die "qmake failed"
- emake CC=$(tc-getCC) CXX=$(tc-getCXX) LINK=$(tc-getCXX) || die "emake failed"
+ use lv2 && mycmakeargs="${mycmakeargs} -DUSE_SYSTEM_SLV2_LIBRARY=ON"
+
+ CMAKE_IN_SOURCE_BUILD=1
+ cmake-utils_src_compile
}
src_install() {
- emake INSTALL_ROOT="${D}" install || die "emake install failed"
+ cmake-utils_src_install
dodoc AUTHORS ChangeLog README
doicon resources/freedesktop/icons/128x128/apps/${PN}.png