[proaudio] [2713] media-sound/synthv1: use qt4-r2 eclass to respect common variables

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


Revision: 2713
Author:   lilrc
Date:     2013-05-04 23:39:32 +0200 (Sat, 04 May 2013)
Log Message:
-----------
media-sound/synthv1: use qt4-r2 eclass to respect common variables

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/synthv1/ChangeLog
    trunk/overlays/proaudio/media-sound/synthv1/Manifest
    trunk/overlays/proaudio/media-sound/synthv1/synthv1-9999.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/synthv1/synthv1-0.3.2-r1.ebuild

Modified: trunk/overlays/proaudio/media-sound/synthv1/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/synthv1/ChangeLog	2013-05-04 20:42:52 UTC (rev 2712)
+++ trunk/overlays/proaudio/media-sound/synthv1/ChangeLog	2013-05-04 21:39:32 UTC (rev 2713)
@@ -2,7 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*synthv1-0.3.2-r1 (04 May 2013)
+
   04 May 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
+  +synthv1-0.3.2-r1.ebuild, synthv1-9999.ebuild:
+  Use qt4-r2 eclass to respect common variables.
+
+  04 May 2013; Karl Linden (lilrc) <lilrc@xxxxxxxxxxxxxxxxxxxxx>
   synthv1-0.3.2.ebuild, synthv1-9999.ebuild:
   Removed hard-enabled jack USE flag (fixed upstream).
 

Modified: trunk/overlays/proaudio/media-sound/synthv1/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/synthv1/Manifest	2013-05-04 20:42:52 UTC (rev 2712)
+++ trunk/overlays/proaudio/media-sound/synthv1/Manifest	2013-05-04 21:39:32 UTC (rev 2713)
@@ -1,5 +1,6 @@
 DIST synthv1-0.3.2.tar.gz 116343 SHA256 89bfabcc34cd8ef654ae85f17f412a680e570dd4c796bb3d20853b9c88f36088 SHA512 5fef94d00eff97ec657c745bfe4bb5da3fd373a3add3d16c7bbcd052f14a393ffb6e65b401b8a805ff031a9c6ec858a269f08eab5eb22bff3ee7219a2a50b4ed WHIRLPOOL 7f86e9fa321c3744294f6627ef1ee9872e1866b0bfce439e1d6fa43e9c0c192fec413fe716678cd8566f74ae8c4cf87d7248cb64f8d53f6a25059eef11bd2f24
+EBUILD synthv1-0.3.2-r1.ebuild 1597 SHA256 0c7fac216da841f75514d0a2ba81774431b8f39b8be98bf1a76b0dc94d48b12b SHA512 527e8e8468fbe237ce3f6bef170c7105f8232dcb5fda45d6443c4089342e54ffc8cb3d20ff8e7ac5431e0c896a1fb2a7a1f88a6c364f5e15cd24ee5639340c4b WHIRLPOOL 8e84930ad67d6f0617a8b793168c8e986617665948f139916412ce6f86f726eac860b4a54bb2ba10fef41dc2b9c16312e6d948f7aa75f28e16dfc7381e79850f
 EBUILD synthv1-0.3.2.ebuild 1293 SHA256 3d30426b462b1397a6e8b9ea232c1e5ca7961f130228bd3f0cd7f7c6b34e53e3 SHA512 ac731c1164a0fe0b621a7a0cda96eb619fca8975a3408494b4fe47a867f4266fc0a62d9a80c2f0ee47c29c7e456f304a8d75f872f56034adb9a9ea3ab9681305 WHIRLPOOL 69af363cde2250fc8423e86555d1b70dbb9842c141020d3186f4edd94f67612520d4a21874ca8c6900827bfb26383897122f9fe02431ae49903c85602774a5f2
-EBUILD synthv1-9999.ebuild 1295 SHA256 6ade6bd1195f3b71c7441238bb50b32b69ffe926a02aba90f82722215df67ea7 SHA512 5199d68fbd832543f9f76b471125dc7e32963e67869a69c4a2bf1c60275d9eaeebd86bb1ac24f016aa5675abc2a55bd25a1c53e5e7862cbf0ac25fc7924f2a24 WHIRLPOOL 8fea7cf6abf165827027277a84ea673e08e9b45cd9f9a2ac2402bd57d03dff8177a6d741257282b95062a12a9503587eeb34be9641139cb12c745bc4fbc996d4
-MISC ChangeLog 1549 SHA256 bf022e91a3ed41525e079bb2cc4f2323bc4090b52ed7bd69b90ffa6072e9fc7f SHA512 38e6d699a40dd310ad57b349903b12f07f61dfce0b9c42ff27205ac2a7910b9550dc62039ea4c026ed2f7d5471c29c07d8966b9f6588fe4ecc23a9a34a77e1ee WHIRLPOOL d948907c94d60b6b98619a1401ab56d0396e95e84eeecc98167b3dc6c2e7e806e77d8607200978e0f5884b49d2a9ab2a685d1b86dc68d494bc2d32347f8b19c4
+EBUILD synthv1-9999.ebuild 1599 SHA256 62c6b06ade7cd4784e9ad0509af9a54f6df14ab78c381129aa9ef5bf3fdee404 SHA512 92fdd07473a665a75cc740c801227297aea4f5e86649a5d5985348a9882447fe267c17997d3e95dd4eb0d203450cc5ff0248ac9bbd048044525acd3bb7085de1 WHIRLPOOL 160fd1c610c6a0539bf010e9e6bec67227d24d4e01ffae0a8eccfb38e7da007450857b398b04c50f8f9941ec3820ce2ee7b8dd5ba90e0339a4f534a41715eaa5
+MISC ChangeLog 1746 SHA256 b0e90d36c7b96e7950ccfd443861d360c00188581a0a90db71d1c07e3877a2ea SHA512 bc88233ca10cfcd842a837825b022da0ac4b4b09c8d49dddbd82ff2134884ba74ae98186660f565145d94d3e45916777360275f3eea1e6401b1aa845ef8f7290 WHIRLPOOL df62a101bd462d55baba2b27c920179016c54de05a8c25298e1a2ae942b47cc48b9a2b4d542f75af1b9a4f5c7b7f67f5e7401b0fd5b556e2745257a6fc709d38
 MISC metadata.xml 443 SHA256 5e4f2487b24581591d2196bfb8f55855d54003e43d9a1d193427def374e49f0a SHA512 d79095bdea6e89aa6c85edab36e47b085a48f5543aadfc02c026e007b03b3c416448d6d508b68975d8069590f3f6ca4a5ee25e8356c309adf550278d9ac05d22 WHIRLPOOL 247e41d25cf355611945b3350ddb06fae65d2ca63ba9ff49e589e6a573969d64b752607debc80862cbe54e7b6b4d828ffa22646b7adce7af223e6a0c1828c2ab

Copied: trunk/overlays/proaudio/media-sound/synthv1/synthv1-0.3.2-r1.ebuild (from rev 2712, trunk/overlays/proaudio/media-sound/synthv1/synthv1-0.3.2.ebuild)
===================================================================
--- trunk/overlays/proaudio/media-sound/synthv1/synthv1-0.3.2-r1.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/synthv1/synthv1-0.3.2-r1.ebuild	2013-05-04 21:39:32 UTC (rev 2713)
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+[[ "${PV}" = "9999" ]] && inherit subversion
+
+[[ "${PV}" = "9999" ]] && AUTOTOOLS_AUTORECONF="1"
+inherit base qt4-r2 autotools-utils
+
+DESCRIPTION="An old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx."
+HOMEPAGE="http://synthv1.sourceforge.net/";
+
+if [[ "${PV}" = "9999" ]]; then
+	ESVN_REPO_URI="http://svn.code.sf.net/p/${PN}/code/trunk";
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+IUSE="alsa debug jack +jackmidi jacksession lv2"
+# Build fails with jack or jackmidi disabled (fixed upstream)
+REQUIRED_USE="jack jackmidi"
+#	jackmidi? ( jack )
+#	jacksession? ( jack )"
+
+LICENSE="GPL-2"
+
+SLOT="0"
+
+RDEPEND="dev-qt/qtcore
+	dev-qt/qtgui
+	alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )
+	lv2? ( media-libs/lv2 )"
+DEPEND="${RDEPEND}"
+
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS ChangeLog README )
+
+src_unpack() {
+	[[ "${PV}" = "9999" ]] && subversion_src_unpack
+	[[ "${PV}" = "9999" ]] || base_src_unpack
+}
+
+src_configure() {
+	use jack && eqmake4 "${PN}_jack.pro" -o "${PN}_jack.mak"
+	use lv2 && eqmake4 "${PN}_lv2.pro" -o "${PN}_lv2.mak"
+
+	local myeconfargs=(
+		$(use_enable alsa alsa-midi)
+		$(use_enable debug)
+		$(use_enable jack)
+		$(use_enable jackmidi jack-midi)
+		$(use_enable jacksession jack-session)
+		$(use_enable lv2)
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install INSTALL_ROOT="${D}"
+}

Modified: trunk/overlays/proaudio/media-sound/synthv1/synthv1-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/synthv1/synthv1-9999.ebuild	2013-05-04 20:42:52 UTC (rev 2712)
+++ trunk/overlays/proaudio/media-sound/synthv1/synthv1-9999.ebuild	2013-05-04 21:39:32 UTC (rev 2713)
@@ -7,7 +7,7 @@
 [[ "${PV}" = "9999" ]] && inherit subversion
 
 [[ "${PV}" = "9999" ]] && AUTOTOOLS_AUTORECONF="1"
-inherit autotools-utils
+inherit base qt4-r2 autotools-utils
 
 DESCRIPTION="An old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx."
 HOMEPAGE="http://synthv1.sourceforge.net/";
@@ -41,7 +41,15 @@
 AUTOTOOLS_IN_SOURCE_BUILD="1"
 DOCS=( AUTHORS ChangeLog README )
 
+src_unpack() {
+	[[ "${PV}" = "9999" ]] && subversion_src_unpack
+	[[ "${PV}" = "9999" ]] || base_src_unpack
+}
+
 src_configure() {
+	use jack && eqmake4 "${PN}_jack.pro" -o "${PN}_jack.mak"
+	use lv2 && eqmake4 "${PN}_lv2.pro" -o "${PN}_lv2.mak"
+
 	local myeconfargs=(
 		$(use_enable alsa alsa-midi)
 		$(use_enable debug)
@@ -54,3 +62,7 @@
 	)
 	autotools-utils_src_configure
 }
+
+src_install() {
+	autotools-utils_src_install INSTALL_ROOT="${D}"
+}


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