media-sound/traverso: EAPI 6
authorJohannes Huber <johu@gentoo.org>
Sun, 26 Feb 2017 10:54:32 +0000 (11:54 +0100)
committerJohannes Huber <johu@gentoo.org>
Sun, 26 Feb 2017 10:54:32 +0000 (11:54 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

media-sound/traverso/files/traverso-0.49.2-desktop.patch
media-sound/traverso/traverso-0.49.3.ebuild

index 5e2f54303ee39a45a5fb385ccc856777158efa83..a6584b644d31211a252f01df6c465b9a8823aee3 100644 (file)
@@ -1,5 +1,5 @@
---- resources/traverso.desktop
-+++ resources/traverso.desktop
+--- a/resources/traverso.desktop
++++ b/resources/traverso.desktop
 @@ -1,12 +1,10 @@
  [Desktop Entry]
 -Encoding=UTF-8
index 452a443a03e66d575bbe7a43185e467dfc24ac50..79a78a35af3a5ba22fa3a094b442edd3f71a26fe 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=6
 inherit cmake-utils eutils flag-o-matic gnome2-utils
 
 DESCRIPTION="Professional Audio Tools for GNU/Linux"
@@ -43,13 +43,13 @@ src_configure() {
        use lv2 && append-cppflags "$($(tc-getPKG_CONFIG) --cflags slv2)" #415165
 
        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 debug TRAVERSO_DEBUG)
+               -DWANT_ALSA=$(usex alsa)
+               -DWANT_TRAVERSO_DEBUG=$(usex debug)
+               -DWANT_JACK=$(usex jack)
+               -DWANT_MP3_ENCODE=$(usex lame)
+               -DWANT_LV2=$(usex lv2)
+               -DWANT_MP3_DECODE=$(usex mad)
+               -DWANT_PULSEAUDIO=$(usex pulseaudio)
        )
        cmake-utils_src_configure
 }