diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-01-11 07:44:16 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-01-11 07:44:16 +0000 |
commit | 0348826bf83072c7b6e01aec97c99754419c291f (patch) | |
tree | 4ea1391491a0cbcc42d343606eb231e670aaf4cd | |
parent | Remove old. (diff) | |
download | gentoo-2-0348826bf83072c7b6e01aec97c99754419c291f.tar.gz gentoo-2-0348826bf83072c7b6e01aec97c99754419c291f.tar.bz2 gentoo-2-0348826bf83072c7b6e01aec97c99754419c291f.zip |
Initial import.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
-rw-r--r-- | media-sound/vitunes/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/vitunes/Manifest | 6 | ||||
-rw-r--r-- | media-sound/vitunes/files/vitunes-2.3-asneeded.patch | 20 | ||||
-rw-r--r-- | media-sound/vitunes/files/vitunes-2.3-time-header.patch | 10 | ||||
-rw-r--r-- | media-sound/vitunes/metadata.xml | 9 | ||||
-rw-r--r-- | media-sound/vitunes/vitunes-2.3.ebuild | 37 |
6 files changed, 93 insertions, 0 deletions
diff --git a/media-sound/vitunes/ChangeLog b/media-sound/vitunes/ChangeLog new file mode 100644 index 000000000000..4b3782327164 --- /dev/null +++ b/media-sound/vitunes/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-sound/vitunes +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vitunes/ChangeLog,v 1.1 2012/01/11 07:44:15 radhermit Exp $ + +*vitunes-2.3 (11 Jan 2012) + + 11 Jan 2012; Tim Harder <radhermit@gentoo.org> +vitunes-2.3.ebuild, + +files/vitunes-2.3-asneeded.patch, +files/vitunes-2.3-time-header.patch, + +metadata.xml: + Initial import. + diff --git a/media-sound/vitunes/Manifest b/media-sound/vitunes/Manifest new file mode 100644 index 000000000000..a8a453868adc --- /dev/null +++ b/media-sound/vitunes/Manifest @@ -0,0 +1,6 @@ +AUX vitunes-2.3-asneeded.patch 571 RMD160 c69cf84095437efe2715006e5bb7cbfbb6bb8a6f SHA1 d036bdc101b4fce8e6196669520ed0a451322200 SHA256 db551a9aeaa08e9a63450cc5aaf675afd64c46aeed3ad9b5bb92523f5a3161ee +AUX vitunes-2.3-time-header.patch 222 RMD160 dfbc27f8796317e27f7a75714fbfcccdced9b1e8 SHA1 a6f3c67b1ec33396a401aec80cbd889a49313bd5 SHA256 f87295a287a244d8f80d8ffc9b4057f6346d527cdccb6c6a0150bac21096d1c6 +DIST vitunes-2.3.tar.gz 77978 RMD160 3f0c1a75cc4ee44f02b4accb0b15588fd368d8af SHA1 3e62aad57d48ac6bc37d4fee1804b6053fdd30a3 SHA256 52f96e3db94f845cd280c5fd2b35bd53ec97cf0cdb7e4b44d936a77d467eba36 +EBUILD vitunes-2.3.ebuild 715 RMD160 0064d8a910fff0ab6fc7b105bfe1dde35495f092 SHA1 8e873160faa97622ff1e86d94639a52dd3add168 SHA256 9c234557a4e6425d962533cb949b7bc3b0d214792132c91bcb03d8cb7ea4bc5e +MISC ChangeLog 329 RMD160 1234b966d07151ce522c594a19bc8cc208b10858 SHA1 2357ad0fc8819e9e564877681b639c6d84ef07b7 SHA256 c7e901a929febfa5129f0c4d9d25f13e1e6d61ae582bbd96d0b1be30d37dcb3f +MISC metadata.xml 252 RMD160 32cffb38db20ea4fa1db61b88e84ae4a222a60ba SHA1 a8dabc980f663564816fdce08a4da9f67ae1c241 SHA256 d54836b7e213e15d915477f21284970f4a76503f956fc546ed9c514479c89d7b diff --git a/media-sound/vitunes/files/vitunes-2.3-asneeded.patch b/media-sound/vitunes/files/vitunes-2.3-asneeded.patch new file mode 100644 index 000000000000..ec152f395377 --- /dev/null +++ b/media-sound/vitunes/files/vitunes-2.3-asneeded.patch @@ -0,0 +1,20 @@ +--- vitunes-2.3/Makefile.linux.orig ++++ vitunes-2.3/Makefile.linux +@@ -12,7 +12,7 @@ + # build info + CC?=/usr/bin/cc + CFLAGS+=-c -std=gnu99 -D_GNU_SOURCE -Wall -Wextra -Wno-unused-value $(CDEPS) $(CDEBUG) +-LDFLAGS+=-lm -lncurses -lutil $(LDEPS) ++LIBS=-lm -lncurses -lutil $(LDEPS) + + OBJS=commands.o compat.o e_commands.o \ + keybindings.o medialib.o meta_info.o \ +@@ -27,7 +27,7 @@ + .PHONY: debug clean install uninstall publish-repos man-debug + + vitunes: $(OBJS) +- $(CC) -o $@ $(LDFLAGS) $(OBJS) ++ $(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) + + .c.o: + $(CC) $(CFLAGS) $< diff --git a/media-sound/vitunes/files/vitunes-2.3-time-header.patch b/media-sound/vitunes/files/vitunes-2.3-time-header.patch new file mode 100644 index 000000000000..169ff0516584 --- /dev/null +++ b/media-sound/vitunes/files/vitunes-2.3-time-header.patch @@ -0,0 +1,10 @@ +--- vitunes-2.3/players/mplayer.h.orig ++++ vitunes-2.3/players/mplayer.h +@@ -28,6 +28,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <time.h> + #include <unistd.h> + + #include "player_utils.h" diff --git a/media-sound/vitunes/metadata.xml b/media-sound/vitunes/metadata.xml new file mode 100644 index 000000000000..209ac9dd286f --- /dev/null +++ b/media-sound/vitunes/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/media-sound/vitunes/vitunes-2.3.ebuild b/media-sound/vitunes/vitunes-2.3.ebuild new file mode 100644 index 000000000000..13f95384c6f2 --- /dev/null +++ b/media-sound/vitunes/vitunes-2.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/vitunes/vitunes-2.3.ebuild,v 1.1 2012/01/11 07:44:15 radhermit Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A curses media indexer and player for vi users" +HOMEPAGE="http://vitunes.org/" +SRC_URI="http://vitunes.org/files/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/taglib + sys-libs/ncurses" +RDEPEND="${DEPEND} + || ( media-video/mplayer media-video/mplayer2 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + epatch "${FILESDIR}"/${P}-time-header.patch +} + +src_compile() { + tc-export CC + emake -f Makefile.linux +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc DEVELOPERS.txt add_urls.sh +} |