summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-08-30 09:37:04 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-08-30 09:37:04 +0000
commit2e03132e3a0b33df2e5bb23fa244bd3fb0331d81 (patch)
tree53ff681352daa42fce76dacf5214cc96c15953eb
parentVersion bump. Respect LDFLAGS (bug #334759) and update to EAPI 4. (diff)
downloadhistorical-2e03132e3a0b33df2e5bb23fa244bd3fb0331d81.tar.gz
historical-2e03132e3a0b33df2e5bb23fa244bd3fb0331d81.tar.bz2
historical-2e03132e3a0b33df2e5bb23fa244bd3fb0331d81.zip
Revision bump for EAPI 4 porting and CFLAGS respect patch by Markos "hwoarang" Chandros with input from Samuli Suominen in bug #376665 filed by Agostino "ago" Sarubbo.
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
-rw-r--r--media-sound/amsynth/ChangeLog10
-rw-r--r--media-sound/amsynth/Manifest12
-rw-r--r--media-sound/amsynth/amsynth-1.2.3-r1.ebuild57
-rw-r--r--media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch20
4 files changed, 93 insertions, 6 deletions
diff --git a/media-sound/amsynth/ChangeLog b/media-sound/amsynth/ChangeLog
index 4574eb21e370..27af12c4bbaf 100644
--- a/media-sound/amsynth/ChangeLog
+++ b/media-sound/amsynth/ChangeLog
@@ -1,6 +1,14 @@
# 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.39 2011/08/12 10:15:54 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.40 2011/08/30 09:37:04 chainsaw Exp $
+
+*amsynth-1.2.3-r1 (30 Aug 2011)
+
+ 30 Aug 2011; Tony Vroon <chainsaw@gentoo.org> +amsynth-1.2.3-r1.ebuild,
+ +files/amsynth-1.2.3-respect-cflags.patch:
+ Revision bump for EAPI 4 porting and CFLAGS respect patch by Markos
+ "hwoarang" Chandros with input from Samuli Suominen in bug #376665 filed by
+ Agostino "ago" Sarubbo.
10 Aug 2011; Markos Chandras <hwoarang@gentoo.org> amsynth-1.2.3.ebuild,
-files/amsynth-1.2.3-cflags.patch:
diff --git a/media-sound/amsynth/Manifest b/media-sound/amsynth/Manifest
index de68e955598f..b0dde32ab963 100644
--- a/media-sound/amsynth/Manifest
+++ b/media-sound/amsynth/Manifest
@@ -1,23 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
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-respect-cflags.patch 628 RMD160 42bfa8ab274a243fe5537582bbd0535271b12195 SHA1 d55a0d4430cd16cba5f60e9ee1bf8640d3354c36 SHA256 32ccf83a7a4869708839ef2abadb104a799eb554d2b9fde689fc2dee57a39fbc
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-r1.ebuild 1301 RMD160 bf5a1646a2717c578a20a312fdab5a10c8f72cb2 SHA1 34c76da5f487f07e25c3a6888db787acb1ab6764 SHA256 41e9cda6f6d436043056b18ed2531e43a1c0fd69b57e1e14931948dd8e3c79b5
EBUILD amsynth-1.2.3.ebuild 1201 RMD160 0334ed0b066e70e6cf6a7a002fda5f64b7f7e0e0 SHA1 e337b92ea1cb1f7959ff6c51e018c1b343010336 SHA256 c5fc8ef22401b8fdeaee2b99fb0ea34d1d8d3fefe7e23b2e8760d3327d8f6ad0
-MISC ChangeLog 5263 RMD160 33f3965f30ce6043641e09a21852b70319cc234b SHA1 9c61631454ad1a87fd476fef141f1f20660ce353 SHA256 b514603cfac53b5a63d42a8af163b1569f0c81345fad9a0fcfdc620d6e87001a
+MISC ChangeLog 5594 RMD160 fd88fd7c1f1025badad10b2debe5afe56d9da17f SHA1 83460d0c6cde63bec8fc9ed25ddd34cf530429a8 SHA256 f630ccbafceaef8b4bc1f4ad03a40088bedbb07bd380483f223095341dfe5d28
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREIAAYFAk5E/WAACgkQV3J2n04Eauy3oQCgtfdSeHszFcq7LCLtFVUwGqfk
-FmwAn18ll/SZXvvtnIvgD2+zG7LWDWAr
-=xATh
+iEYEARECAAYFAk5cr0gACgkQp5vW4rUFj5oVCgCaAmKQ5xEs2IbSZmlhtZbmTDp5
+NtwAn1CfTMXwk5UPJEnAonPFJAWH+jBJ
+=8bLX
-----END PGP SIGNATURE-----
diff --git a/media-sound/amsynth/amsynth-1.2.3-r1.ebuild b/media-sound/amsynth/amsynth-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..60c86b1f3468
--- /dev/null
+++ b/media-sound/amsynth/amsynth-1.2.3-r1.ebuild
@@ -0,0 +1,57 @@
+# 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-r1.ebuild,v 1.1 2011/08/30 09:37:04 chainsaw Exp $
+
+EAPI=4
+
+inherit base autotools
+
+MY_P=${P/ams/amS}
+DESCRIPTION="Virtual analogue synthesizer."
+HOMEPAGE="http://amsynthe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/amsynthe/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa debug jack oss sndfile"
+
+RDEPEND="dev-cpp/gtkmm:2.4
+ sndfile? ( >=media-libs/libsndfile-1 )
+ alsa? ( media-libs/alsa-lib
+ media-sound/alsa-utils )
+ jack? ( media-sound/jack-audio-connection-kit )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}/${P}-respect-cflags.patch" )
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with oss) \
+ $(use_with alsa) \
+ $(use_with jack) \
+ $(use_with sndfile) \
+ $(use_enable debug)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS README
+}
+
+pkg_postinst() {
+ elog
+ elog "amSynth has been installed normally. If you would like to use"
+ elog "the virtual keyboard option, then do:"
+ elog "# emerge vkeybd"
+ elog "and make sure you emerged amSynth with alsa support (USE=alsa)"
+ elog
+}
diff --git a/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch b/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch
new file mode 100644
index 000000000000..2a640ce17108
--- /dev/null
+++ b/media-sound/amsynth/files/amsynth-1.2.3-respect-cflags.patch
@@ -0,0 +1,20 @@
+--- amSynth-1.2.3/configure.in
++++ amSynth-1.2.3/configure.in
+@@ -90,7 +90,7 @@ AC_ARG_ENABLE(debug,
+ if test "${enable_debug}" = "yes" ; then
+ AC_MSG_RESULT([yes])
+ debugging=yes
+- CXXFLAGS="$CXXFLAGS -g -Wall -D_DEBUG"
++ CXXFLAGS="$CXXFLAGS -Wall -D_DEBUG"
+ COMPOPSTR="debugging $COMPOPSTR"
+ OPTION_DEBUG="yes"
+ else
+@@ -114,7 +114,7 @@ if test "$enable_profile" = "yes" ; then
+ fi
+ else
+ if test "$GCC" = "yes" ; then
+- CXXFLAGS="$CXXFLAGS -O3 -ffast-math -fno-exceptions -fomit-frame-pointer"
++ CXXFLAGS="$CXXFLAGS -ffast-math -fno-exceptions -fomit-frame-pointer"
+ fi
+ AC_MSG_RESULT([no])
+ profiling=no