diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-18 22:12:16 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-08-18 22:12:16 +0000 |
commit | cfca39cb64b311f0cb59be1e8a4a243b47beafbe (patch) | |
tree | 2280fba0d45ada6c7ce0edf14daa98713ca24f55 /media-video | |
parent | Pre-masked toxine. (diff) | |
download | historical-cfca39cb64b311f0cb59be1e8a4a243b47beafbe.tar.gz historical-cfca39cb64b311f0cb59be1e8a4a243b47beafbe.tar.bz2 historical-cfca39cb64b311f0cb59be1e8a4a243b47beafbe.zip |
Added toxine, CLI frontend to xine-lib. Masked for tests,
Package-Manager: portage-2.0.51.22
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/toxine/ChangeLog | 11 | ||||
-rw-r--r-- | media-video/toxine/Manifest | 16 | ||||
-rw-r--r-- | media-video/toxine/files/digest-toxine-0.6.3 | 1 | ||||
-rw-r--r-- | media-video/toxine/files/toxine-0.6.3-configure.patch | 81 | ||||
-rw-r--r-- | media-video/toxine/files/toxine-0.6.3-gcc4.patch | 14 | ||||
-rw-r--r-- | media-video/toxine/metadata.xml | 5 | ||||
-rw-r--r-- | media-video/toxine/toxine-0.6.3.ebuild | 56 |
7 files changed, 184 insertions, 0 deletions
diff --git a/media-video/toxine/ChangeLog b/media-video/toxine/ChangeLog new file mode 100644 index 000000000000..33ce25b650ac --- /dev/null +++ b/media-video/toxine/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-video/toxine +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/toxine/ChangeLog,v 1.1 2005/08/18 22:12:16 flameeyes Exp $ + +*toxine-0.6.3 (18 Aug 2005) + + 18 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/toxine-0.6.3-configure.patch, +files/toxine-0.6.3-gcc4.patch, + +metadata.xml, +toxine-0.6.3.ebuild: + Added toxine, CLI frontend to xine-lib. Masked for tests, + diff --git a/media-video/toxine/Manifest b/media-video/toxine/Manifest new file mode 100644 index 000000000000..9ee7ef5ff5f6 --- /dev/null +++ b/media-video/toxine/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 eb9a1fa35b808b9431bc21eb883ace98 ChangeLog 465 +MD5 3fb65f2e9052017e6b5637345fdb1081 toxine-0.6.3.ebuild 1295 +MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 +MD5 add3f1d4c9ff4a333b42042658cb8521 files/toxine-0.6.3-gcc4.patch 533 +MD5 73614b82fc7fd731d3501c21f541311e files/digest-toxine-0.6.3 64 +MD5 84d6bad99dfaa6bca6e774afe297a3ba files/toxine-0.6.3-configure.patch 2505 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDBQfjj5H05b2HAEkRAmbNAJsGM5fp5cILzO16DVLVplG4RJ/q5wCfRVWk +spm10lYAffxGMp+WKebE1TM= +=hgzm +-----END PGP SIGNATURE----- diff --git a/media-video/toxine/files/digest-toxine-0.6.3 b/media-video/toxine/files/digest-toxine-0.6.3 new file mode 100644 index 000000000000..54505595b201 --- /dev/null +++ b/media-video/toxine/files/digest-toxine-0.6.3 @@ -0,0 +1 @@ +MD5 261c6ac24f77337a9311d39f42fb5be4 toxine-0.6.3.tar.gz 342432 diff --git a/media-video/toxine/files/toxine-0.6.3-configure.patch b/media-video/toxine/files/toxine-0.6.3-configure.patch new file mode 100644 index 000000000000..581da2174a76 --- /dev/null +++ b/media-video/toxine/files/toxine-0.6.3-configure.patch @@ -0,0 +1,81 @@ +diff -ur -x '*~' toxine-0.6.3/configure.ac toxine-0.6.3-configure/configure.ac +--- toxine-0.6.3/configure.ac 2004-04-16 18:32:30.000000000 +0200 ++++ toxine-0.6.3-configure/configure.ac 2005-08-18 23:37:09.000000000 +0200 +@@ -167,26 +167,48 @@ + dnl + dnl ncurses + dnl +-AC_CHECK_HEADERS(curses.h) +-AC_CHECK_LIB(ncurses, cbreak, +- AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) +- ac_have_ncurses="yes" +- NCURSES_LIB="-lncurses") +-AC_SUBST(NCURSES_LIB) +-AM_CONDITIONAL(HAVE_NCURSES, test x$ac_have_ncurses = "xyes") ++AC_ARG_WITH(ncurses, ++ [ --without-ncurses Turn off ncurses support.], ++ [], with_ncurses=yes) ++ ++if test x"$with_ncurses" = xyes; then ++ AC_CHECK_HEADERS(curses.h) ++ AC_CHECK_LIB(ncurses, cbreak, ++ AC_DEFINE(HAVE_NCURSES,,[Define this if you have ncurses installed]) ++ ac_have_ncurses="yes" ++ NCURSES_LIB="-lncurses") ++ AC_SUBST(NCURSES_LIB) ++fi + ++AM_CONDITIONAL(HAVE_NCURSES, test x$ac_have_ncurses = "xyes") + + dnl + dnl Checks for Ascii-Art library + dnl +-AM_PATH_AALIB(1.2,, AC_MSG_RESULT([*** All of AALIB dependent parts will be disabled ***])) ++AC_ARG_WITH(aalib, ++ [ --without-aalib Turn off AALIB support.], ++ [], with_aalib=yes) ++ ++if test x"$with_aalib" = xyes; then ++ AM_PATH_AALIB(1.2.0,,) ++else ++ no_aalib=yes ++fi + AM_CONDITIONAL(HAVE_AA, test x$no_aalib != "xyes") + + + dnl + dnl checks for Color AsCii Art library + dnl +-AM_PATH_CACA(0.8,, AC_MSG_RESULT([*** All CACA-dependent parts will be disabled ***])) ++AC_ARG_WITH(libcaca, ++ [ --without-libcaca Turn off CACA support.], ++ [], with_libcaca=yes) ++ ++if test x"$with_libcaca" = xyes; then ++ AM_PATH_CACA(0.3,, AC_MSG_RESULT([*** All CACA-dependent parts will be disabled ***])) ++else ++ no_caca=yes ++fi + AM_CONDITIONAL(HAVE_CACA, test x$no_caca != "xyes") + + +@@ -231,7 +253,7 @@ + fi + + case "$host_or_hostalias" in +- i386-*-freebsd*) ++ i?86-*-freebsd*) + CFLAGS="$CFLAGS -pipe -fomit-frame-pointer $f_af $f_al $f_aj $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -finline-functions -D_REENTRANT" + DEBUG_CFLAGS="$X_CFLAGS $DEBUG_CFLAGS -D_REENTRANT -DDEBUG" + AC_DEFINE(__i386__,1,[Define this if you're running x86 architecture]) +@@ -350,6 +372,10 @@ + CFLAGS="$CFLAGS -O3" + DEBUG_CFLAGS="$DEBUG_CFLAGS -O3" + ;; ++ ++ x86_64-*) ++ dnl let default ++ ;; + + *) + echo "Host type '$host' ($host_alias) is currently not supported by xine" diff --git a/media-video/toxine/files/toxine-0.6.3-gcc4.patch b/media-video/toxine/files/toxine-0.6.3-gcc4.patch new file mode 100644 index 000000000000..f56e4cf16cba --- /dev/null +++ b/media-video/toxine/files/toxine-0.6.3-gcc4.patch @@ -0,0 +1,14 @@ +diff -ur toxine-0.6.3/src/main.c toxine-0.6.3-gcc4/src/main.c +--- toxine-0.6.3/src/main.c 2004-04-12 17:55:02.000000000 +0200 ++++ toxine-0.6.3-gcc4/src/main.c 2005-08-18 23:47:48.000000000 +0200 +@@ -127,8 +127,8 @@ + } + + toxine_free(tox->configfile); +- toxine_free((char *)tox->video.name); +- toxine_free((char *)tox->audio.name); ++ free((char *)tox->video.name); ++ free((char *)tox->audio.name); + toxine_free(tox->command.line); + toxine_free(tox->command.remain); + toxine_free(tox->command.command); diff --git a/media-video/toxine/metadata.xml b/media-video/toxine/metadata.xml new file mode 100644 index 000000000000..d9df1878d8e2 --- /dev/null +++ b/media-video/toxine/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> +</pkgmetadata> diff --git a/media-video/toxine/toxine-0.6.3.ebuild b/media-video/toxine/toxine-0.6.3.ebuild new file mode 100644 index 000000000000..ff7c95206909 --- /dev/null +++ b/media-video/toxine/toxine-0.6.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/toxine/toxine-0.6.3.ebuild,v 1.1 2005/08/18 22:12:16 flameeyes Exp $ + +inherit eutils + +DESCRIPTION="Text user interface to xine media player" +HOMEPAGE="http://toxine.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="X ncurses aalib libcaca" + +DEPEND="sys-libs/readline + >=media-libs/xine-lib-1_rc3 + aalib? ( media-libs/aalib ) + libcaca? ( media-libs/libcaca ) + ncurses? ( sys-libs/ncurses ) + X? ( virtual/x11 )" +RDEPEND="${DEPEND} + sys-devel/autoconf + sys-devel/automake" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-configure.patch + epatch ${FILESDIR}/${P}-gcc4.patch + + aclocal -I m4 || die "aclocal failed" + autoconf || die "autoconf failed" + automake || die "automake failed" + libtoolize --copy --force || die "libtoolize failed" +} + +src_compile() { + econf \ + $(use_with X x) \ + $(use_with ncurses) \ + $(use_with aalib) \ + $(use_with libcaca) \ + --disable-dependency-tracking \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + dodoc NEWS README AUTHORS ChangeLog +} + |