diff options
author | Chris White <chriswhite@gentoo.org> | 2006-01-01 09:27:00 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2006-01-01 09:27:00 +0000 |
commit | f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10 (patch) | |
tree | 28934745d6fe71f042cdf41eef848aeaa57ae673 /media-sound/moc | |
parent | mark stable (diff) | |
download | historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.tar.gz historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.tar.bz2 historical-f16deb3e4368d4ec6eec4c4b2c1b3ffc4f1d4e10.zip |
Added 2.3.2 with -* keywords for bug #104975. Marked ~x86 arch.
Package-Manager: portage-2.0.53
Diffstat (limited to 'media-sound/moc')
-rw-r--r-- | media-sound/moc/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/moc/Manifest | 21 | ||||
-rw-r--r-- | media-sound/moc/files/digest-moc-2.3.2 | 1 | ||||
-rw-r--r-- | media-sound/moc/files/moc-2.3.2-configure.patch | 85 | ||||
-rw-r--r-- | media-sound/moc/moc-2.3.2.ebuild | 65 |
5 files changed, 171 insertions, 11 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog index a580f535fcaa..1a5ec2604d3d 100644 --- a/media-sound/moc/ChangeLog +++ b/media-sound/moc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/moc -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.18 2005/12/02 07:00:50 chriswhite Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.19 2006/01/01 09:27:00 chriswhite Exp $ + +*moc-2.3.2 (01 Jan 2006) + + 01 Jan 2006; Chris White <chriswhite@gentoo.org> + +files/moc-2.3.2-configure.patch, +moc-2.3.2.ebuild: + Added 2.3.2 with -* keywords for bug #104975. Marked ~x86 arch. 02 Dec 2005; Chris White <chriswhite@gentoo.org> -files/moc-2.3.1-configure.patch, -moc-2.3.1.ebuild: diff --git a/media-sound/moc/Manifest b/media-sound/moc/Manifest index 20da5c216f30..b94da9e4a985 100644 --- a/media-sound/moc/Manifest +++ b/media-sound/moc/Manifest @@ -1,18 +1,21 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 2b58a49dbe642ee3cee6254157ac2c5f moc-2.2.0-r1.ebuild 1201 +MD5 56b711c920282938e7a643a949c37caa ChangeLog 2779 +MD5 986d4f67476a2c02f6ca1b20e7c57c0b files/digest-moc-2.1.4-r1 61 +MD5 285908314a37f1af4c045d98d60a1e0d files/digest-moc-2.2.0-r1 61 +MD5 397ca78b313594b61d6b090a5c9e7fd0 files/digest-moc-2.3.0 62 +MD5 5f3d26c7aa48c7904a945a28c5d8086c files/digest-moc-2.3.2 62 +MD5 7d3794df50327b997ab26ab0a1b6de61 files/moc-2.3.2-configure.patch 3063 MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 -MD5 d747889de4851cc36d047bca00da39c0 ChangeLog 2579 MD5 48cea70afc23ce66ecfdf65f749fd08f moc-2.1.4-r1.ebuild 1097 +MD5 2b58a49dbe642ee3cee6254157ac2c5f moc-2.2.0-r1.ebuild 1201 MD5 67bdf1e18ab8094ed9524b8ad9c580fc moc-2.3.0.ebuild 1225 -MD5 397ca78b313594b61d6b090a5c9e7fd0 files/digest-moc-2.3.0 62 -MD5 986d4f67476a2c02f6ca1b20e7c57c0b files/digest-moc-2.1.4-r1 61 -MD5 285908314a37f1af4c045d98d60a1e0d files/digest-moc-2.2.0-r1 61 +MD5 f1d543413a02f59851a4a727e1dcd9e6 moc-2.3.2.ebuild 1850 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDj/E1FdQwWVoAgN4RArCTAKDJUvA2Nj0uys0G9MYcRKuveWBVFgCfY4OL -IjiaGr0AYNaDMI/oiJYmTJs= -=CSKd +iD8DBQFDt6BzFdQwWVoAgN4RAjsPAKDqkw2EJ2Yr0GPuZ0VWEdREKrtAdgCg1W9w +CzixOnt5YzfrzcQf0Nttdns= +=uCZm -----END PGP SIGNATURE----- diff --git a/media-sound/moc/files/digest-moc-2.3.2 b/media-sound/moc/files/digest-moc-2.3.2 new file mode 100644 index 000000000000..0aee36b8e581 --- /dev/null +++ b/media-sound/moc/files/digest-moc-2.3.2 @@ -0,0 +1 @@ +MD5 d01e1af79d4ac1202be3f7e0c63b0a7b moc-2.3.2.tar.bz2 406058 diff --git a/media-sound/moc/files/moc-2.3.2-configure.patch b/media-sound/moc/files/moc-2.3.2-configure.patch new file mode 100644 index 000000000000..58dcd6745994 --- /dev/null +++ b/media-sound/moc/files/moc-2.3.2-configure.patch @@ -0,0 +1,85 @@ +--- configure.in.old 2005-08-02 05:30:23.000000000 +0900 ++++ configure.in 2005-10-03 23:54:27.000000000 +0900 +@@ -76,19 +76,26 @@ + [EXTRA_LIBS="$EXTRA_LIBS -lossaudio"]) + fi + +-PKG_CHECK_MODULES(ALSA, [alsa >= 0.9], +- [COMPILE_ALSA="yes" +- EXTRA_OBJS="$EXTRA_OBJS alsa.o" +- AC_DEFINE([HAVE_ALSA], 1, [Define if you have ALSA.]) +- EXTRA_LIBS="$EXTRA_LIBS $ALSA_LIBS" +- CFLAGS="$CFLAGS $ALSA_CFLAGS"], +- [COMPILE_ALSA="no"]) ++AC_ARG_WITH(jack, AS_HELP_STRING(--without-jack, Compile without JACK support.)) ++ ++if test "$with_jack" != "xno" ++then ++ PKG_CHECK_MODULES([ALSA], [alsa >= 0.9], ++ [COMPILE_ALSA="yes" ++ EXTRA_OBJS="$EXTRA_OBJS alsa.o" ++ AC_DEFINE([HAVE_ALSA], 1, [Define if you have ALSA.]) ++ EXTRA_LIBS="$EXTRA_LIBS $ALSA_LIBS" ++ CFLAGS="$CFLAGS $ALSA_CFLAGS"], ++ [COMPILE_ALSA="no"]) ++else ++ COMPILE_ALSA="no" ++fi + + AC_ARG_WITH(jack, AS_HELP_STRING(--without-jack, Compile without JACK support.)) + + if test "x$with_jack" != "xno" + then +- PKG_CHECK_MODULES(JACK, [jack >= 0.4], ++ PKG_CHECK_MODULES([JACK], [jack >= 0.4], + [COMPILE_JACK="yes" + EXTRA_OBJS="$EXTRA_OBJS jack.o" + AC_DEFINE([HAVE_JACK], 1, [Define if you have JACK.]) +@@ -214,9 +221,8 @@ + taglib_ver_minor=`echo "$taglib_ver" | awk -F. '{print $2}'` + taglib_ver_extra=`echo "$taglib_ver" | awk -F. '{print $3}'` + +- if test \( "$taglib_ver_major" = "1" -a "$taglib_ver_minor" -ge 4 \) \ +- -o \( "$taglib_ver_major" = "1" -a "$taglib_ver_minor" = "3" \ +- -a "$taglib_ver_extra" -ge 1 \) ++ if test \( "$taglib_ver_major" = "1" -a \ ++ "$taglib_ver_minor" -ge 4 \) + then + AC_MSG_RESULT([$taglib_ver, OK]) + +@@ -248,7 +254,7 @@ + AC_ARG_WITH(ogg, AS_HELP_STRING(--without-ogg,Compile without OGG support.)) + if test "x$with_ogg" != "xno" + then +- PKG_CHECK_MODULES(OGG_VORBIS, [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], ++ PKG_CHECK_MODULES([OGG_VORBIS], [ogg >= 1.0 vorbis >= 1.0 vorbisfile >= 1.0], + [AC_SUBST(OGG_VORBIS_LIBS) + AC_SUBST(OGG_VORBIS_CFLAGS) + DECODER_PLUGINS="$DECODER_PLUGINS ogg"], +@@ -269,7 +275,7 @@ + Compile without libsndfile)) + if test "x$with_sndfile" != "xno" + then +- PKG_CHECK_MODULES(sndfile, sndfile >= 1.0.0, ++ PKG_CHECK_MODULES([sndfile], [sndfile >= 1.0.0], + [AC_SUBST(sndfile_LIBS) + AC_SUBST(sndfile_CFLAGS) + DECODER_PLUGINS="$DECODER_PLUGINS sndfile"], +@@ -281,7 +287,7 @@ + Compile without speex support)) + if test "x$with_speex" != "xno" + then +- PKG_CHECK_MODULES(speex, speex >= 1.0.0, ++ PKG_CHECK_MODULES([speex], [speex >= 1.0.0], + [AC_SUBST(speex_LIBS) + AC_SUBST(speex_CFLAGS) + DECODER_PLUGINS="$DECODER_PLUGINS speex"], +@@ -294,7 +300,7 @@ + COMPILE_SAMPLERATE="no" + if test "x$with_samplerate" != "xno" + then +- PKG_CHECK_MODULES(samplerate, samplerate >= 0.1.0, ++ PKG_CHECK_MODULES([samplerate], [samplerate >= 0.1.0], + [EXTRA_LIBS="$EXTRA_LIBS $samplerate_LIBS" + CFLAGS="$CFLAGS $samplerate_CFLAGS" + AC_DEFINE([HAVE_SAMPLERATE], 1, diff --git a/media-sound/moc/moc-2.3.2.ebuild b/media-sound/moc/moc-2.3.2.ebuild new file mode 100644 index 000000000000..5d8689b23002 --- /dev/null +++ b/media-sound/moc/moc-2.3.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-2.3.2.ebuild,v 1.1 2006/01/01 09:27:00 chriswhite Exp $ + +inherit eutils autotools + +DESCRIPTION="Music On Console - ncurses interface for playing audio files" +HOMEPAGE="http://moc.daper.net/" +SRC_URI="ftp://ftp.daper.net/pub/soft/${PN}/stable/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="-* ~x86" +IUSE="flac mad oss vorbis debug alsa speex libsamplerate curl sndfile musepack" + +# libvorbis is pulled in so the USE flag is vorbis +# since upstream apparently assumes ogg is an audio +# codec +DEPEND="media-libs/libao + sys-libs/ncurses + alsa? ( >=media-libs/alsa-lib-0.9 ) + sndfile? ( >=media-libs/libsndfile-1.0.0 ) + flac? ( media-libs/flac ) + mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag ) + muse? ( media-libs/libmpcdec >=media-libs/taglib-1.3 ) + vorbis? ( >=media-libs/libvorbis-1.0 ) + jack? ( >=media-sound/jack-audio-connection-kit-0.4 ) + speex? ( >=media-libs/speex-1.0.0 ) + libsamplerate? ( >=media-libs/libsamplerate-0.1.0 ) + curl? ( >=net-misc/curl-7.12.0 )" + +src_unpack() { + unpack ${A} + cd ${S} + # big configure fixes + epatch ${FILESDIR}/${P}-configure.patch + AT_M4DIR="m4" + eautoreconf +} + +src_compile() { + econf \ + $(use_with flac) \ + $(use_with mad mp3) \ + $(use_with vorbis ogg) \ + $(use_with oss) \ + $(use_with alsa) \ + $(use_with jack) \ + $(use_with musepack) \ + $(use_enable debug) \ + $(use_with sndfile) \ + $(use_with libsamplerate samplerate) \ + || die "./configure failed" + emake || die "make failed" +} + +src_install () { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README TODO +} + +pkg_postinst() { + einfo "The binary was renamed due to conflicts with moc" + einfo "from the QT project. Its new name is mocp." +} |