[proaudio] proaudio/proaudio: [3042] Moved traverso-9999 to EAPI 6

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 3042
Author:   dominique
Date:     2017-07-18 16:21:46 +0200 (Tue, 18 Jul 2017)
Log Message:
-----------
Moved traverso-9999 to EAPI 6

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/traverso/ChangeLog
    trunk/overlays/proaudio/media-sound/traverso/Manifest
    trunk/overlays/proaudio/media-sound/traverso/metadata.xml
    trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild

Modified: trunk/overlays/proaudio/media-sound/traverso/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/ChangeLog	2017-07-18 11:19:31 UTC (rev 3041)
+++ trunk/overlays/proaudio/media-sound/traverso/ChangeLog	2017-07-18 14:21:46 UTC (rev 3042)
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  18 Jul 2017; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+  traverso-9999.ebuild: Moved to EAPI 6
+
   09 Mar 2013; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
   traverso-9999.ebuild: Moved QT depends to dev-qt/*; Fixed fftw depend
 

Modified: trunk/overlays/proaudio/media-sound/traverso/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/Manifest	2017-07-18 11:19:31 UTC (rev 3041)
+++ trunk/overlays/proaudio/media-sound/traverso/Manifest	2017-07-18 14:21:46 UTC (rev 3042)
@@ -1,3 +1,3 @@
-EBUILD traverso-9999.ebuild 1891 SHA256 d810487085dbb86ba02552e1954d3cbcb6f471b8118758aa09ed92dbf1fd549a SHA512 29cc1db4745ea9499090e030de5d948823e1ab85386c76e6fd051df8f4f0f16bd362f0046e49d6db5b880ca0738086e1ed3cdc58b505339315e40cf1f0c56a1c WHIRLPOOL a3b46f3c456dfd31a5527044d2057dec36bba818d8a4eaa52ff4035e723c423cc8a8b42dae1f8cfa0abf4f25872fe1b3da03ea8c5145889f0ea4d5f9cde145b8
-MISC ChangeLog 654 SHA256 4cc83827d370d3aaf248cc3b970677cf74d1a8f2f4e8aada6ed69716f71dff79 SHA512 178e5ab0a4ea9a5948096e340e598da781539274b6037593c18743a7ee0601ca7e9e0e0c48ddced0743615d658e744d17700ff6c8c7225f1d9ed7d534e0b5895 WHIRLPOOL 7f5d8ab831a711d1524d38320073733e7e071dcc2c30cbc6a5f832f9c60da826e05781b5cd14e69687c627a4b66a03749b5352d73352889b60709a2ea197d4a6
-MISC metadata.xml 313 SHA256 6d4e6b07a56811e6d4d354286d44cedbd889b5a37e655e1749d6af4fd0e5e1e9 SHA512 094037cd3695d4926f83112e30066aaddb057b96fe3c780dd1655413e5b2fa78eed179a4c0b38463cc41cbfc551a0ae331d01a57c0822c1a54ea30a689a7c5dd WHIRLPOOL f9f705f60c2cd257b833b51ab8c25f46e3a54d2b63727db52a95d3af0f9b247a0dabda30c40e5ceddb7d3144b922838b603a8ad87f1295dceeb3470958887869
+EBUILD traverso-9999.ebuild 2061 SHA256 c20d0cca6c5373fd176de19d2af2ed97a263e45d8176a2baba90a53895eec64b SHA512 74a8e2cc1d207b388718fe8408a4126bf36fcb217e5de93ba3f2b2edda8a4e4fca328cb58439b7a1f3bca855f9ff507194fff8d50ae89cd1f51076298193a3e3 WHIRLPOOL 1859c24f608753ee8441832ed39bbbfcb146667a7b69581eb755baa05633fea8c2ca9eb89570d991ab0ea81f1ee1165479c4a666ed57204105634957997510db
+MISC ChangeLog 761 SHA256 fa09e19ad7901212b929ecec3ee70bb4b65f96a5548ac74a26144d7ed8806588 SHA512 527deaea23de0407bb2cea0e8eb90a0884c0383bfb035f6b8553d2a50a48fc2d29f6d5425322afd2c11e7c181272b63503755d06afc6b6f54848ddaabc43022d WHIRLPOOL ffce3c9aea96bafec86afbb186003ef6a044b505168f9cfd01190342f7a9aae24172a8cde854a5677cee68f5fd4a7454a90d1494a5ce9446bcce3f4faac9aa5f
+MISC metadata.xml 328 SHA256 47e277e2cd9a25853a3a117032936a876051df7b67d5bd48390236a072e91e01 SHA512 3260676a62c6358b1b3570138c7ffbdbdb3fb2339e08709441392ab223d326028a4f0a873d167b52a7f9141a5217ff9093a2a37f8716965c82156b84709c9a83 WHIRLPOOL 2913f0e8314bb2b667598e2fa207835d0ba4ead3d004d2220df3086dc94dc32a40c6baca90d4ce4c63cd99dde21f09a2d3f20aa47f0eeb76f4a0a6de2e5fffe6

Modified: trunk/overlays/proaudio/media-sound/traverso/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/metadata.xml	2017-07-18 11:19:31 UTC (rev 3041)
+++ trunk/overlays/proaudio/media-sound/traverso/metadata.xml	2017-07-18 14:21:46 UTC (rev 3042)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-	<maintainer>
+	<maintainer type="project">
 		<email>proaudio@xxxxxxxxxxxxx</email>
 		<name>pro-audio overlay team</name>
 	</maintainer>

Modified: trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild	2017-07-18 11:19:31 UTC (rev 3041)
+++ trunk/overlays/proaudio/media-sound/traverso/traverso-9999.ebuild	2017-07-18 14:21:46 UTC (rev 3042)
@@ -1,73 +1,78 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI="2"
+EAPI=6
 
-CMAKE_IN_SOURCE_BUILD="1"
+inherit cmake-utils eutils flag-o-matic  git-r3 gnome2-utils
 
-inherit eutils qt4-r2 cmake-utils git-2
-
 DESCRIPTION="Professional Audio Tools for GNU/Linux"
 HOMEPAGE="http://traverso-daw.org/";
 
 EGIT_REPO_URI="git://git.savannah.nongnu.org/${PN}.git"
 
-IUSE="alsa debug jack lame lv2 mad opengl pch portaudio pulseaudio"
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS=""
+IUSE="alsa debug jack lame lv2 mad opengl pch portaudio pulseaudio"
 
-RDEPEND=">=media-libs/libsndfile-1.0.12
-	media-libs/libogg
+RDEPEND="dev-qt/qtcore:4
+	dev-qt/qtgui:4
+	>=media-libs/flac-1.1.2
+	>=media-libs/libogg-1.1.2
 	media-libs/libsamplerate
-	media-libs/libvorbis
-	media-sound/wavpack
+	>=media-libs/libsndfile-1.0.12
+	>=media-libs/libvorbis-1.1.2
+	>=media-sound/wavpack-4.40.0
 	sci-libs/fftw:3.0
-	dev-qt/qtcore:4
-	dev-qt/qtgui:4
-	alsa? ( media-libs/alsa-lib )
-	jack? ( media-sound/jack-audio-connection-kit )
+	alsa? ( >=media-libs/alsa-lib-1.0.0 )
+	jack? ( virtual/jack )
 	lame? ( media-sound/lame )
-	lv2? ( dev-libs/rasqal
-		dev-libs/redland
-		media-libs/slv2 )
-	mad? ( media-libs/libmad )
-	opengl? ( virtual/opengl
-		dev-qt/qtopengl )
+	lv2? ( media-libs/lilv )
+	mad? ( >=media-libs/libmad-0.15.0 )
+	opengl? ( virtual/opengl )
 	portaudio? ( =media-libs/portaudio-19* )
 	pulseaudio? ( media-sound/pulseaudio )"
 	# Note: wavpack and vorbis are not configurable at this point
 
 DEPEND="${RDEPEND}
-	>=dev-util/cmake-2.4.6"
+	virtual/pkgconfig"
 
+DOCS=( AUTHORS ChangeLog README resources/help.text )
+
 src_configure() {
-	local mycmakeargs+="
-		$(cmake-utils_use_want jack JACK)
-		$(cmake-utils_use_want alsa ALSA)
-		$(cmake-utils_use_want pulseaudio PULSEAUDIO)
-		$(cmake-utils_use_want lv2 LV2)
-		$(cmake-utils_use_want mad MP3_DECODE)
-		$(cmake-utils_use_want lame MP3_ENCODE)
-		$(cmake-utils_use_want pch PCH)
-		$(cmake-utils_use_want opengl OPENGL)
-		$(cmake-utils_use_want debug DEBUG)
-		$(cmake-utils_use_want portaudio PORTAUDIO)"
+	use lv2 && append-cppflags "$($(tc-getPKG_CONFIG) --cflags slv2)" #415165
 
+	local mycmakeargs=(
+		-DWANT_JACK=$(usex jack)
+		-DWANT_ALSA=$(usex alsa)
+		-DWANT_PULSEAUDIO=$(usex pulseaudio)
+		-DWANT_LV2=$(usex lv2)
+		-DWANT_MP3_DECODE=$(usex mad)
+		-DWANT_MP3_ENCODE=$(usex lame)
+		-DWANT_PCH=$(usex pch)
+		-DWANT_OPENGL=$(usex opengl)
+		-DWANT_DEBUG=$(usex debug)
+		-DWANT_PORTAUDIO=$(usex portaudio)
+	)
 	use lv2 && mycmakeargs+=" -DUSE_SYSTEM_SLV2_LIBRARY=ON"
 	cmake-utils_src_configure
 }
 
-src_compile() {
-	cmake-utils_src_compile
-}
-
 src_install() {
 	cmake-utils_src_install
-	dodoc AUTHORS ChangeLog HISTORY README resources/help.text
-	doicon "resources/freedesktop/icons/128x128/apps/${PN}.png"
+
+	local res
+	for res in 16 24 48 64 128; do
+		doicon -s ${res} "resources/freedesktop/icons/${res}x${res}/apps/${PN}.png"
+	done
+	doicon -s scalable "resources/freedesktop/icons/scalable/apps/${PN}.svg"
+
 	domenu resources/traverso.desktop
+
 	insinto "/usr/share/${PN}"
 	doins -r resources/themes
 }
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/