summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-10 15:40:58 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-10 15:40:58 +0000
commit43ff5bd7abdde7b96deddeb23493ff950bba1dd6 (patch)
tree761d63458d317d02ff0f748acd0be3f518d938b7 /media-sound/amsynth
parentmask cuda dep for opencv bug 365451 (diff)
downloadhistorical-43ff5bd7abdde7b96deddeb23493ff950bba1dd6.tar.gz
historical-43ff5bd7abdde7b96deddeb23493ff950bba1dd6.tar.bz2
historical-43ff5bd7abdde7b96deddeb23493ff950bba1dd6.zip
Respect CFLAGS. bug #376665
Package-Manager: portage-2.2.0_alpha46/cvs/Linux x86_64
Diffstat (limited to 'media-sound/amsynth')
-rw-r--r--media-sound/amsynth/ChangeLog6
-rw-r--r--media-sound/amsynth/Manifest23
-rw-r--r--media-sound/amsynth/amsynth-1.2.3.ebuild11
-rw-r--r--media-sound/amsynth/files/amsynth-1.2.3-cflags.patch30
4 files changed, 61 insertions, 9 deletions
diff --git a/media-sound/amsynth/ChangeLog b/media-sound/amsynth/ChangeLog
index 6fe65c63202c..914aed2626f3 100644
--- a/media-sound/amsynth/ChangeLog
+++ b/media-sound/amsynth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/amsynth
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.36 2011/08/07 17:29:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.37 2011/08/10 15:40:58 hwoarang Exp $
+
+ 10 Aug 2011; Markos Chandras <hwoarang@gentoo.org> amsynth-1.2.3.ebuild,
+ +files/amsynth-1.2.3-cflags.patch:
+ Respect CFLAGS. bug #376665
07 Aug 2011; Raúl Porcel <armin76@gentoo.org> amsynth-1.2.0.ebuild,
amsynth-1.2.2.ebuild, amsynth-1.2.3.ebuild:
diff --git a/media-sound/amsynth/Manifest b/media-sound/amsynth/Manifest
index 0373645bafc1..50058e5940e1 100644
--- a/media-sound/amsynth/Manifest
+++ b/media-sound/amsynth/Manifest
@@ -1,23 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX amsynth-1.2.0+gcc-4.3.patch 2053 RMD160 f95c85ee18b3106bb332ffaa1126016f7d49de41 SHA1 d6f7146370b1efedc91af473afbeb4a0c072f51b SHA256 e8f8bd2d5575aed85e3eafd1eae52a2f8292c3cef73dc1289fcfdbc0d8698729
AUX amsynth-1.2.0-asneeded.patch 1326 RMD160 b162bafcca8924540960c1b85c6080f19bdbabaf SHA1 d40428cda5af6df537cb4e5f22587d97ecfec88a SHA256 39c4cf8de92dcce9e90eda336bf545876207cf070e1be6573e3c2368a1579d06
AUX amsynth-1.2.0-cflags.patch 542 RMD160 9725b28818b7cc6c7d4090ba1aea2dadecd5d1e7 SHA1 4725f56e6e946623fa9e043a481a8e4c54fb360e SHA256 463c6f9df0084d398e37783d25e95340ce3029660e221f68842b06aef08e3a5d
AUX amsynth-1.2.0-debug.patch 1526 RMD160 85303509b7e400b892cf4b29ef54e1125908861a SHA1 d8909b260396771c78fe1ab4e351375eb4001698 SHA256 87c5de38991eae846f8c202e649d5cfc05c69daae1c2b6e8b88ace2ca66d13b5
AUX amsynth-1.2.2-asneeded.patch 1782 RMD160 e9d0c1d22d551d4ec6999fdb2be26082b746a9c0 SHA1 e732ef3f7adf1025fba7951525e0083f1b426a97 SHA256 cab2efb93dae35f31184178cb652b19a6df9e9472589be4c330d888ee3469640
+AUX amsynth-1.2.3-cflags.patch 808 RMD160 41b84f5a80bdc095310b4b36aa4c8dc3ba7f3478 SHA1 6d069e69b84bd7503bb9231618a6b1ae155db457 SHA256 14d6442a878c1efae4f1bfe212e62d43542c59995bf88b7d0de75e8faff1a426
DIST amSynth-1.2.0.tar.gz 616311 RMD160 b24b493e1532f3b1ad574856cfaadf8418e32900 SHA1 3e92417f6898f24a0996fef45827937fbf28e9ef SHA256 5fff8dc65bd5550bbf408e3df1123c68e31517bbb7441cbe0b964ab271948b1c
DIST amSynth-1.2.2.tar.gz 611764 RMD160 70b044ca848e503929b9cebbf671b23f70053214 SHA1 3435c05be4a836666e7bf16ac44fee6def218c5d SHA256 049adb4ae35325f1f0c2c487d6dc435735c7950f6829e2d0e97f969786e5a7c0
DIST amSynth-1.2.3.tar.gz 622565 RMD160 1959b97b732b647bcf0b4b0b22d9c6ab83861a7e SHA1 b4a716535289cf9394677757ea223d47f977b953 SHA256 c5bbb62dcbfe2470d1c31f65e88794a9230978bc962786794303f5b6c29a6f85
EBUILD amsynth-1.2.0.ebuild 1454 RMD160 fb81ca6e7225365e59ff799988eadecf69421ccd SHA1 7113043a2b476849e0aeffe163609995adcb2e61 SHA256 707945bad2a8765026fca8c302818ca092c6a10500f974337ee0fbc05e794977
EBUILD amsynth-1.2.2.ebuild 1299 RMD160 12001161bd32ce6503dd850901b86cff66d71f83 SHA1 03e99181024313bb99e35c379ae2582c0ea88fe2 SHA256 6ba810a6b706967dc7ce07de609ffa97ea04d8531222fa3632eef8ed0d39b439
-EBUILD amsynth-1.2.3.ebuild 1200 RMD160 86854c5796bb86fe2c93e5af863f6940997b8583 SHA1 6b53339326f4059ef3b1b9341e0361f294620799 SHA256 bacf9aab672138c162cd7d390740c152afed5476b47995852666eb1fc8393bfe
-MISC ChangeLog 4981 RMD160 ecad3005a3f4f6cd012463c30173b33b0cd770a2 SHA1 f81a1179c55551b66defbd3158caf3bf3cfcd5e1 SHA256 bae31233e634ec91570c1a5aeb11ad3a04fabe7044f1fa30c4f9280c56cd9f3c
+EBUILD amsynth-1.2.3.ebuild 1299 RMD160 23a98cb650fe6c28887a1519bfcbaf3dcbd53fac SHA1 9a786e18e57fdcbf63cac3d38c42fd4678cbdab5 SHA256 b8414e47e1f39d2a54a8cb0b840ac121e1979fd906427db4cb1a1e0caa237a9a
+MISC ChangeLog 5125 RMD160 a434ab8df663a354401c5fbd6dcf7371c41c8ac0 SHA1 e351bcd64e4f71f0c5dfa7cb205df441152123a6 SHA256 22fc21b9acda7044b8615bae2924608eccfdb82de3f14eb2204300fae183abcd
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4+y5sACgkQuQc30/atMkDvOgCfRn8g/eXnhSh5iYdSEGLvtWRA
-Xx4AoK5S7HYgH6txRu7ZmqbkaSCZDh5n
-=oU8h
+iQIcBAEBCgAGBQJOQqZkAAoJEPqDWhW0r/LCTJ0P/2Rao5iHgsTJu/Yz8pJrTR8/
+xnPtAXO/TDh52kwcrF4Os3h2h+RyP4GD+hSO8KX6FlPPno0fqkABMTRLWc+0Zwfr
+DvF+KoUacCRYiaCtpS0/kVNauv2SdvuoUb2b8IgnRpySo0qSBGHc8SVLByQRdSdm
+8Uk6HwBK+xqQiMZexBJJpQ1/xqJA2udMomhO1f8E7obmoC2nPSktrW2MzCvMS7zS
+AzHbYU0n4sfciYLpwm/aNUFFelkaEV+9Y4HsDCatpDf8vn0fCMUlR08AsDpVDwwQ
+nggDvN6HrgzrBvWm7/7i10JH/bIHYyb43rKz7hpqIY4Ru5pC0LeaFcBbsUuYOc2f
+fCWUIshGLnI7KPxOvqulACXn4lVntkkgAKPNyFAXHtvsnbE6wzQJq8ZUSr6lOAb7
+ZhDoas+dhy5QA1zRyjIw4EBFE1Y47IR3AuYNs8vp6XKZ/heqkjbpVAmCQLyr8JjE
+AVm4ARDnYmvBFJY2IwagUSRgvfGopFX00SJF5XtgWL++63onxLtQG3hcqc9XWMJu
+wX5VRPyvgtOzDRZL96rCmisgb2Qtn9q38YYSjKvopAuR9ZPkzytiLWJmoDtoBeDR
+1mnRIlo4AQv3KLyboFDuUWiba2Tk0vSMxw5DFL26d5hbW53G+Gpus7pX4SzUdd/i
+i3jTutw6LupYlUGWoQAx
+=5ccw
-----END PGP SIGNATURE-----
diff --git a/media-sound/amsynth/amsynth-1.2.3.ebuild b/media-sound/amsynth/amsynth-1.2.3.ebuild
index 55d01ddb79a4..330ea8567289 100644
--- a/media-sound/amsynth/amsynth-1.2.3.ebuild
+++ b/media-sound/amsynth/amsynth-1.2.3.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.3.ebuild,v 1.3 2011/08/07 17:29:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.3.ebuild,v 1.4 2011/08/10 15:40:58 hwoarang Exp $
EAPI=2
-MY_P=${P/ams/amS}
+inherit autotools eutils
+
+MY_P=${P/ams/amS}
DESCRIPTION="Virtual analogue synthesizer."
HOMEPAGE="http://amsynthe.sourceforge.net/"
SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
@@ -24,6 +26,11 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_with oss) \
diff --git a/media-sound/amsynth/files/amsynth-1.2.3-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.3-cflags.patch
new file mode 100644
index 000000000000..8e063144c7de
--- /dev/null
+++ b/media-sound/amsynth/files/amsynth-1.2.3-cflags.patch
@@ -0,0 +1,30 @@
+Index: amSynth-1.2.3/configure.in
+===================================================================
+--- amSynth-1.2.3.orig/configure.in
++++ amSynth-1.2.3/configure.in
+@@ -5,7 +5,6 @@ AC_CONFIG_HEADERS([config.h])
+
+
+ addCXXFLAGS="-D_REENTRANT"
+-CXXFLAGS="$CXXFLAGS -Wall -W"
+
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+@@ -90,7 +89,6 @@ AC_ARG_ENABLE(debug,
+ if test "${enable_debug}" = "yes" ; then
+ AC_MSG_RESULT([yes])
+ debugging=yes
+- CXXFLAGS="$CXXFLAGS -g -Wall -D_DEBUG"
+ COMPOPSTR="debugging $COMPOPSTR"
+ OPTION_DEBUG="yes"
+ else
+@@ -113,9 +111,6 @@ if test "$enable_profile" = "yes" ; then
+ CXXFLAGS="$CXXFLAGS -p"
+ fi
+ else
+- if test "$GCC" = "yes" ; then
+- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer"
+- fi
+ AC_MSG_RESULT([no])
+ profiling=no
+ fi