summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-08-02 13:01:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-08-02 13:01:21 +0000
commitd4a0903b7aa105aca4acb112733c3f90d0b4c006 (patch)
tree99e7fa67897643638954fa8c10d319fa3653439f /media-libs/libtimidity/files
parentia64/x86 stable (diff)
downloadhistorical-d4a0903b7aa105aca4acb112733c3f90d0b4c006.tar.gz
historical-d4a0903b7aa105aca4acb112733c3f90d0b4c006.tar.bz2
historical-d4a0903b7aa105aca4acb112733c3f90d0b4c006.zip
Initial commit for bug 169786, thanks to Hendrik Iben for reporting and original ebuild. This is a required dep of >=media-sound/moc-2.5.0_alpha2.
Package-Manager: portage-2.1.3
Diffstat (limited to 'media-libs/libtimidity/files')
-rw-r--r--media-libs/libtimidity/files/digest-libtimidity-0.1.03
-rw-r--r--media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch30
2 files changed, 33 insertions, 0 deletions
diff --git a/media-libs/libtimidity/files/digest-libtimidity-0.1.0 b/media-libs/libtimidity/files/digest-libtimidity-0.1.0
new file mode 100644
index 000000000000..33e7d4989f3c
--- /dev/null
+++ b/media-libs/libtimidity/files/digest-libtimidity-0.1.0
@@ -0,0 +1,3 @@
+MD5 72173a1084df0c42f9daa7b4568ebd18 libtimidity-0.1.0.tar.bz2 273410
+RMD160 1b4b8ddea3bbd9158b6d8b8f2b504c2dc533025b libtimidity-0.1.0.tar.bz2 273410
+SHA256 52c6de6608ba640b4678041c01320290790a1f18c901ef03575fbf47807350bf libtimidity-0.1.0.tar.bz2 273410
diff --git a/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch b/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch
new file mode 100644
index 000000000000..ead93ffd32dd
--- /dev/null
+++ b/media-libs/libtimidity/files/libtimidity-0.1.0-automagic.patch
@@ -0,0 +1,30 @@
+diff -ur libtimidity-0.1.0.orig/configure.ac libtimidity-0.1.0/configure.ac
+--- libtimidity-0.1.0.orig/configure.ac 2004-11-23 06:30:46.000000000 +0200
++++ libtimidity-0.1.0/configure.ac 2007-08-02 15:51:47.000000000 +0300
+@@ -39,9 +39,24 @@
+ # Checks for libraries.
+ LIBTIMIDITY_LIBS=""
+ AC_CHECK_LIB([m], [pow], [LIBTIMIDITY_LIBS="$TIMIDITY_LIBS -lm"])
+-have_ao=no
+-XIPH_PATH_AO([have_ao=yes])
++
++AC_ARG_ENABLE([ao],
++ [AS_HELP_STRING([--enable-ao], [Enable libao (default=disabled)])],
++ [have_ao="$enableval"],
++ [have_ao="no"]
++)
++
++if test "$have_ao" = "yes"; then
++ PKG_CHECK_MODULES([AO], [ao >= 0.8.5])
++ AC_DEFINE([AO], [], [Define when building with ao])
++ HAVE_AO="true"
++else
++ HAVE_AO="false"
++fi
++
++AC_SUBST([ENABLE_AO])
+ AM_CONDITIONAL([HAVE_AO], [test $have_ao = yes])
++AC_SUBST(AO_LIBS)
+
+ # Checks for header files.
+ AC_HEADER_STDC