[proaudio] [1021] add swami and libinstpatch SVN + fixed pygtk |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 1021
Author: gimpel
Date: 2007-12-13 16:37:22 +0000 (Thu, 13 Dec 2007)
Log Message:
-----------
add swami and libinstpatch SVN + fixed pygtk
Modified Paths:
--------------
trunk/overlays/proaudio/dev-libs/libinstpatch/Manifest
trunk/overlays/proaudio/media-sound/swami/Manifest
Added Paths:
-----------
trunk/overlays/proaudio/dev-libs/libinstpatch/files/digest-libinstpatch-9999
trunk/overlays/proaudio/dev-libs/libinstpatch/libinstpatch-9999.ebuild
trunk/overlays/proaudio/dev-python/pygtk/
trunk/overlays/proaudio/dev-python/pygtk/Manifest
trunk/overlays/proaudio/dev-python/pygtk/files/
trunk/overlays/proaudio/dev-python/pygtk/files/digest-pygtk-2.12.0-r1
trunk/overlays/proaudio/dev-python/pygtk/files/pygtk-gtk-extrafuncs.patch
trunk/overlays/proaudio/dev-python/pygtk/pygtk-2.12.0-r1.ebuild
trunk/overlays/proaudio/media-sound/swami/files/digest-swami-9999
trunk/overlays/proaudio/media-sound/swami/swami-9999.ebuild
Modified: trunk/overlays/proaudio/dev-libs/libinstpatch/Manifest
===================================================================
--- trunk/overlays/proaudio/dev-libs/libinstpatch/Manifest 2007-12-13 14:50:05 UTC (rev 1020)
+++ trunk/overlays/proaudio/dev-libs/libinstpatch/Manifest 2007-12-13 16:37:22 UTC (rev 1021)
@@ -3,6 +3,13 @@
MD5 6ce32ab52adce598cc0b43d19dbb0e9e libinstpatch-1.0.0_pre1.ebuild 879
RMD160 794bfbc5fb2917a2ca24d11f381bb900ce2078f8 libinstpatch-1.0.0_pre1.ebuild 879
SHA256 176acbba7b64b68b59c0f0b964d8c2257482ce52195142b3ac9e24b639827cd3 libinstpatch-1.0.0_pre1.ebuild 879
+EBUILD libinstpatch-9999.ebuild 937 RMD160 46a4330e32df4de27daba485fac8e7486842f99a SHA1 11cff8513fe79d9fa68933404acc6737b6ab6f2d SHA256 4406b327bcc7c769c291c9ab62a7860463fb5308e011ff376d7becdbebb536a0
+MD5 68cb55233caa95d7c92dc2402e40cb6c libinstpatch-9999.ebuild 937
+RMD160 46a4330e32df4de27daba485fac8e7486842f99a libinstpatch-9999.ebuild 937
+SHA256 4406b327bcc7c769c291c9ab62a7860463fb5308e011ff376d7becdbebb536a0 libinstpatch-9999.ebuild 937
MD5 ef04f47ab38680fe2eb74f5c0ecd5f83 files/digest-libinstpatch-1.0.0_pre1 268
RMD160 96434f9577cb75b3e394dd328ffc3435a22108cb files/digest-libinstpatch-1.0.0_pre1 268
SHA256 eff33fa4f9f22dc3fe4baa6ee50d491946025ea806a491e424b71a302caef681 files/digest-libinstpatch-1.0.0_pre1 268
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-libinstpatch-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-libinstpatch-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-libinstpatch-9999 0
Added: trunk/overlays/proaudio/dev-libs/libinstpatch/files/digest-libinstpatch-9999
===================================================================
Added: trunk/overlays/proaudio/dev-libs/libinstpatch/libinstpatch-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/dev-libs/libinstpatch/libinstpatch-9999.ebuild (rev 0)
+++ trunk/overlays/proaudio/dev-libs/libinstpatch/libinstpatch-9999.ebuild 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils subversion
+
+RESTRICT="nomirror"
+DESCRIPTION="sound font editor library ?"
+HOMEPAGE="http://swami.sourceforge.net/"
+#SRC_URI="mirror://sourceforge/swami/${P/_/}.tar.gz"
+
+ESVN_REPO_URI="https://swami.svn.sourceforge.net/svnroot/swami/trunk/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="3dnow altivec python debug nls sse"
+
+RDEPEND=">=dev-libs/glib-2.0
+ >=media-libs/libsndfile-1.0.0
+ python? ( dev-lang/python dev-python/pygtk )
+ media-libs/audiofile"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_compile() {
+ ./autogen.sh
+ econf \
+ $(use_enable nls) \
+ $(use_enable debug) \
+ $(use_enable 3dnow) \
+ $(use_enable sse) \
+ $(use_enable altivec) \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+}
Added: trunk/overlays/proaudio/dev-python/pygtk/Manifest
===================================================================
--- trunk/overlays/proaudio/dev-python/pygtk/Manifest (rev 0)
+++ trunk/overlays/proaudio/dev-python/pygtk/Manifest 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,13 @@
+AUX pygtk-gtk-extrafuncs.patch 618 RMD160 4e3e3798576ed7c72b3d139d9d94e01ae0d6f4f5 SHA1 c3726206b4bfd7f8012aedf3351f149bac75bf9a SHA256 38789e564b86a6031257b432d85faa50dea8225799ffdd6a586b14ff4f17c9b6
+MD5 4552027263e3d6521438027e533fe98c files/pygtk-gtk-extrafuncs.patch 618
+RMD160 4e3e3798576ed7c72b3d139d9d94e01ae0d6f4f5 files/pygtk-gtk-extrafuncs.patch 618
+SHA256 38789e564b86a6031257b432d85faa50dea8225799ffdd6a586b14ff4f17c9b6 files/pygtk-gtk-extrafuncs.patch 618
+DIST pygtk-2.12.0.tar.bz2 2154621 RMD160 d982a9752abcd214be975a3ead3946b3c8d1d474 SHA1 8248a620ef4147af07a708643926523024789d4e SHA256 0200c16528c8fd32eec2a9b1c1c2a303d88f5dc6ca94124a6e3ec8be1cac496e
+DIST pygtk2reference-2.9.0.tar.bz2 759824 RMD160 966cae10fa93b512f565aa0d552a8c83fe5de53f SHA1 b952fb86c3c0d98a6ea15b10c3d02f35eb169801 SHA256 a01cf19a26aca49b2522f6c987cb48bcc9a2a393b4383709707acd5a994e00fd
+EBUILD pygtk-2.12.0-r1.ebuild 2584 RMD160 191ffb396603b059fe434c7f12d30e314ccad91b SHA1 1bd081840330db2f54051d320fa443d632d7c85a SHA256 56ea548c684061ff05b4df508e02801fd2ec9a59999eaa27fdd6deb7d7018c77
+MD5 36289dac496f84872337ce3ad91829e6 pygtk-2.12.0-r1.ebuild 2584
+RMD160 191ffb396603b059fe434c7f12d30e314ccad91b pygtk-2.12.0-r1.ebuild 2584
+SHA256 56ea548c684061ff05b4df508e02801fd2ec9a59999eaa27fdd6deb7d7018c77 pygtk-2.12.0-r1.ebuild 2584
+MD5 ccf31440c99966c66b97989c84730282 files/digest-pygtk-2.12.0-r1 512
+RMD160 b6a4f774cd947551f9757b3a719bcaaaef0ffe4d files/digest-pygtk-2.12.0-r1 512
+SHA256 0807d37c3700e784f747547434120e510cddcb2f52109f9074e7fac9565d308c files/digest-pygtk-2.12.0-r1 512
Added: trunk/overlays/proaudio/dev-python/pygtk/files/digest-pygtk-2.12.0-r1
===================================================================
--- trunk/overlays/proaudio/dev-python/pygtk/files/digest-pygtk-2.12.0-r1 (rev 0)
+++ trunk/overlays/proaudio/dev-python/pygtk/files/digest-pygtk-2.12.0-r1 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,6 @@
+MD5 3c1a42b774600c353342cfa3782a7d77 pygtk-2.12.0.tar.bz2 2154621
+RMD160 d982a9752abcd214be975a3ead3946b3c8d1d474 pygtk-2.12.0.tar.bz2 2154621
+SHA256 0200c16528c8fd32eec2a9b1c1c2a303d88f5dc6ca94124a6e3ec8be1cac496e pygtk-2.12.0.tar.bz2 2154621
+MD5 ad0624dd26a19fbb9286c1c7711a60bc pygtk2reference-2.9.0.tar.bz2 759824
+RMD160 966cae10fa93b512f565aa0d552a8c83fe5de53f pygtk2reference-2.9.0.tar.bz2 759824
+SHA256 a01cf19a26aca49b2522f6c987cb48bcc9a2a393b4383709707acd5a994e00fd pygtk2reference-2.9.0.tar.bz2 759824
Added: trunk/overlays/proaudio/dev-python/pygtk/files/pygtk-gtk-extrafuncs.patch
===================================================================
--- trunk/overlays/proaudio/dev-python/pygtk/files/pygtk-gtk-extrafuncs.patch (rev 0)
+++ trunk/overlays/proaudio/dev-python/pygtk/files/pygtk-gtk-extrafuncs.patch 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,16 @@
+Index: gtk/Makefile.am
+===================================================================
+RCS file: /cvs/gnome/pygtk/gtk/Makefile.am,v
+retrieving revision 1.80
+diff -u -p -r1.80 Makefile.am
+--- gtk/Makefile.am 3 Oct 2006 17:49:16 -0000 1.80
++++ gtk/Makefile.am 28 Nov 2006 04:19:53 -0000
+@@ -130,7 +130,7 @@ nodist__gtk_la_SOURCES = gtk.c gdk.c
+ if BUILD_GTK
+ pygtkexec_LTLIBRARIES += _gtk.la
+ defs_DATA += $(GDK_DEFS) $(GDK_TYPES_DEFS) $(GTK_DEFS) $(GTK_TYPES_DEFS) \
+- gdk.defs gtk.defs gdk-types.defs gtk-types.defs
++ gdk.defs gtk.defs gdk-types.defs gtk-types.defs gtk-extrafuncs.defs
+ endif
+
+ # libglade module
Added: trunk/overlays/proaudio/dev-python/pygtk/pygtk-2.12.0-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/dev-python/pygtk/pygtk-2.12.0-r1.ebuild (rev 0)
+++ trunk/overlays/proaudio/dev-python/pygtk/pygtk-2.12.0-r1.ebuild 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,95 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.12.0.ebuild,v 1.8 2007/11/27 03:40:01 jer Exp $
+
+NEED_PYTHON=2.3.5
+
+inherit gnome.org python flag-o-matic
+
+DESCRIPTION="GTK+2 bindings for Python"
+HOMEPAGE="http://www.pygtk.org/"
+
+DOC_FILE="pygtk2reference-2.9.0.tar.bz2"
+SRC_URI="${SRC_URI}
+ doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
+IUSE="doc examples opengl"
+
+RDEPEND=">=dev-libs/glib-2.8.0
+ >=x11-libs/pango-1.16.0
+ >=dev-libs/atk-1.12.0
+ >=x11-libs/gtk+-2.11.6
+ >=gnome-base/libglade-2.5.0
+ >=dev-lang/python-2.4.4-r5
+ >=dev-python/pycairo-1.0.2
+ >=dev-python/pygobject-2.14
+ !arm? ( dev-python/numeric )
+ opengl? ( virtual/opengl
+ dev-python/pyopengl
+ >=x11-libs/gtkglarea-1.99
+ )"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-libs/libxslt >=app-text/docbook-xsl-stylesheets-1.70.1 )
+ >=dev-util/pkgconfig-0.9"
+
+# Tests fail (missing display)
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${A}
+ use doc || sed -e 's/\(SUBDIRS =.*\) docs$/\1/' -i "${S}"/Makefile.am
+
+ # disable pyc compiling
+ mv "${S}"/py-compile "${S}"/py-compile.orig
+ ln -s $(type -P true) "${S}"/py-compile
+
+ # fix http://bugzilla.gnome.org/show_bug.cgi?id=380020
+ cd ${S}/gtk && epatch "${FILESDIR}/${PN}-gtk-extrafuncs.patch"
+}
+
+src_compile() {
+ use hppa && append-flags -ffunction-sections
+ econf $(use_enable doc docs) --enable-thread || die
+ # possible problems with parallel builds (#45776)
+ emake -j1 || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
+
+ if use examples; then
+ rm examples/Makefile*
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+
+ if use doc; then
+ insinto /usr/share/gtk-doc/html/pygtk
+ cd "${WORKDIR}"/pygtk2reference
+ doins -r cursors icons images
+ fi
+}
+
+src_test() {
+ cd tests
+ make check-local || die "tests failed"
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/share/pygtk/2.0/codegen /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/share/pygtk/2.0/codegen
+ python_mod_cleanup
+ rm -f "${ROOT}"/usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.{py,pth}
+ alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.py pygtk.py-[0-9].[0-9]
+ alternatives_auto_makesym /usr/$(get_libdir)/python${PYVER}/site-packages/pygtk.pth pygtk.pth-[0-9].[0-9]
+}
Modified: trunk/overlays/proaudio/media-sound/swami/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/swami/Manifest 2007-12-13 14:50:05 UTC (rev 1020)
+++ trunk/overlays/proaudio/media-sound/swami/Manifest 2007-12-13 16:37:22 UTC (rev 1021)
@@ -8,6 +8,10 @@
MD5 ed6c6e553210a52ec22b4df0fb7c9c6d swami-1.0.0_pre1-r1.ebuild 862
RMD160 910dc3fa48735ec0717499e38b437838258ed4a4 swami-1.0.0_pre1-r1.ebuild 862
SHA256 c60bf350d6e5aa9a968227e024181ae434c5e081942e6ddc9be8843e5fb4de20 swami-1.0.0_pre1-r1.ebuild 862
+EBUILD swami-9999.ebuild 1140 RMD160 b86afc853207c0b037ca3c0c527dcaae38f7b7a9 SHA1 6783cb15804b3724385a82d05e8867727014f60f SHA256 1926462e153f86eb71df4a4af2754f64eea8051ea09d0af33bcac8961e73ba8d
+MD5 585a5c53810b4ca2ade228de09f4d7b8 swami-9999.ebuild 1140
+RMD160 b86afc853207c0b037ca3c0c527dcaae38f7b7a9 swami-9999.ebuild 1140
+SHA256 1926462e153f86eb71df4a4af2754f64eea8051ea09d0af33bcac8961e73ba8d swami-9999.ebuild 1140
MISC ChangeLog 489 RMD160 4b2fa13e4d71a68ce430e2cb861c49d149be5961 SHA1 f031fe972dc2195b5b211fb2a8e0120777b6bc10 SHA256 513d4e825b839b9963bd727b96850914ce4d703cc5e5f97cc43ca7d9521b8e35
MD5 744e2eb3e436ebe5e102b05bda8de131 ChangeLog 489
RMD160 4b2fa13e4d71a68ce430e2cb861c49d149be5961 ChangeLog 489
@@ -22,3 +26,6 @@
MD5 727f7f00672e610119de331d5644d96a files/digest-swami-1.0.0_pre1-r1 250
RMD160 9c647dcb09b890bf8405abfdcbf1eb1d94c66728 files/digest-swami-1.0.0_pre1-r1 250
SHA256 0ca293d6e152208cbdc1fab5d4b42f845c306536923c1eb6e21ce7ed34aa3248 files/digest-swami-1.0.0_pre1-r1 250
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-swami-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-swami-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-swami-9999 0
Added: trunk/overlays/proaudio/media-sound/swami/files/digest-swami-9999
===================================================================
Added: trunk/overlays/proaudio/media-sound/swami/swami-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/swami/swami-9999.ebuild (rev 0)
+++ trunk/overlays/proaudio/media-sound/swami/swami-9999.ebuild 2007-12-13 16:37:22 UTC (rev 1021)
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils flag-o-matic subversion
+
+DESCRIPTION="A GPL sound font editor"
+HOMEPAGE="http://swami.sourceforge.net/"
+#SRC_URI="mirror://sourceforge/swami/${P/_/}.tar.gz"
+
+ESVN_REPO_URI="https://swami.svn.sourceforge.net/svnroot/swami/trunk/swami"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug nls python"
+
+RDEPEND="media-libs/alsa-lib
+ =x11-libs/gtk+-2*
+ >=dev-libs/glib-2.0
+ >=gnome-base/libglade-2.6.0
+ x11-libs/gtksourceview
+ >=dev-python/pygtk-2.12.0-r1
+ media-libs/libpng
+ >=sci-libs/fftw-3.1
+ >=media-sound/fluidsynth-1.0.4
+ >=media-libs/libsndfile-1.0.0
+ =dev-libs/libinstpatch-9999
+ python? ( >=dev-lang/python-2.4 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_compile() {
+ # fails with --as-needed
+ filter-ldflags -Wl,--as-needed --as-needed
+
+ ./autogen.sh
+ use amd64 && myconf='--with-pic'
+ econf ${myconf} \
+ $(use_enable nls) \
+ $(use_enable debug) \
+ $(use_enable python) \
+ || die
+ emake -j1 || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+}