summaryrefslogtreecommitdiff
path: root/media-sound/herrie
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/herrie')
-rw-r--r--media-sound/herrie/Manifest6
-rw-r--r--media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch38
-rw-r--r--media-sound/herrie/files/herrie-2.2-libxspf.patch122
-rw-r--r--media-sound/herrie/files/herrie-chost_issue.patch29
-rw-r--r--media-sound/herrie/herrie-2.2-r2.ebuild60
-rw-r--r--media-sound/herrie/metadata.xml27
6 files changed, 0 insertions, 282 deletions
diff --git a/media-sound/herrie/Manifest b/media-sound/herrie/Manifest
deleted file mode 100644
index 915feb1bae45..000000000000
--- a/media-sound/herrie/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX herrie-2.2-fix-buildsystem.patch 1132 BLAKE2B af945efc12c6ab5604fada1e7d123d7fcfdd0c319b36a73a04ba90c574c895bb4caaff8d78b9fe0deb5b1ba0a440eee977a7fbe446b6ab5d9fa30be68ec5b0be SHA512 250d5f75a48a3fc5a0ece1f7a33d2b066f9ceb16d96a98b3b6cdf28168561ae221a2ab3c13501f4dcd0a7d169ed325c27dd78799c459458da1be121677c84937
-AUX herrie-2.2-libxspf.patch 3025 BLAKE2B 22deefb9b02e26b184e5801ac9543a66e4cf4e140368ec34bfa2bee36c99d72899abfac7c62489f3b2efeb121ec478734952054e9626fbe11644050c37ff30e2 SHA512 35122f8a0f16c54085d0c4ce8f1acf409266618116bbb94a8cae2b35c8856270a023d16d3c863ed3c1d06ea1f89a8f1d3d29e244881fb50bfed72b5ca1960192
-AUX herrie-chost_issue.patch 547 BLAKE2B 2310336da0c3e9af7f7758cfe33293694d5a5c0efbf03a3eae4010c2a3ff1e3d62107e001bdb012a166ae84fe9cb9ab3f08b59d3c737e2bca03e3e2d9a53d5e2 SHA512 09b0720ab8f94fef7533d7e16d2ef086aaad3d306487bca6e2f42d0fba96642ad9672f67183bd58542c3af06af643421be66e3c0afff43f023239d4602c13150
-DIST herrie-2.2.tar.bz2 71596 BLAKE2B 7065711dea83c1ff3bb2ede9b155f032f463dc8f51657adcfc1b46076a241cd9bcb62a80284de93b076b3ab9419a4cac01a9edbb8f76f1b07565b20c93e2c3a8 SHA512 7f89100f1c3376d03ebc5e5e3caadccb063470ab623c7b207e9e6aaa01d7e1885d4234e3a50675bc1ade07f5ab52a34022f4e18c9a5b4f9537baa7318f4ab213
-EBUILD herrie-2.2-r2.ebuild 1851 BLAKE2B 744cd158ffba9492e6eded64d224d04bfb062429fc8a6cfe13b9a51955942e0d4e5f625ac20368846ff0a550032356be35d089663dcfb47320992f633de0e9cd SHA512 f46672b9536acabc695a1747a730109fa97dd3e65846d192f48ca018da360899f309696f0595eb2dcc5e89089d3565892e72dd7882afa0dad1b709867d8c54c6
-MISC metadata.xml 1056 BLAKE2B c9a09fac05fd6a579bb6bc17bf57ba2a7f313824d36f611148ab08830c580c7409667f1222f93c872e94f0b0d5799cc88dbaaab923d1875e1df6b421ab3a61e7 SHA512 7045f92e2e58562e0df865194a6fefec370aa5cbbff8bdf4afdf00ff8e03b5250db092e43901eac216f914c4406f143e2f079c5d1b76c68ec377ba3f6a312c1f
diff --git a/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch b/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch
deleted file mode 100644
index ce01e5c0c6ed..000000000000
--- a/media-sound/herrie/files/herrie-2.2-fix-buildsystem.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-Fix ncurses underlinking by using the pkg-config output instead of assuming
--lncurses/-lncursesw to be enough. In addition, fix wrong modplug include
-directive. See also:
-https://bugs.gentoo.org/show_bug.cgi?id=573522
-
---- a/configure
-+++ b/configure
-@@ -215,7 +215,7 @@
- exit 1
- fi
- CFLAGS_main="-DAUDIO_OUTPUT=\\\"$CFG_AO\\\" -DCONFFILE=\\\"$CONFFILE\\\""
--LDFLAGS="$LDFLAGS -L$PREFIX/lib -l$CFG_CURSES_LIB"
-+LDFLAGS="$LDFLAGS -L$PREFIX/lib `${PKG_CONFIG} --libs $CFG_CURSES_LIB`"
- SRCS="audio_file audio_output_$CFG_AO config gui_browser gui_draw \
- gui_input gui_msgbar gui_playq gui_vfslist main playq playq_party \
- playq_xmms vfs vfs_playlist vfs_regular"
---- a/src/audio_format_modplug.c
-+++ b/src/audio_format_modplug.c
-@@ -31,7 +31,7 @@
- #include "stdinc.h"
-
- #include <sys/mman.h>
--#include <modplug.h>
-+#include <libmodplug/modplug.h>
-
- #include "audio_file.h"
- #include "audio_format.h"
---- a/src/main.c
-+++ b/src/main.c
-@@ -165,7 +165,7 @@
- #endif /* CLOSE_STDERR */
- if ((errmsg = vfs_lockup()) != NULL) {
- gui_draw_init_abort();
-- g_printerr(errmsg);
-+ g_printerr("%s", errmsg);
- return (1);
- }
-
diff --git a/media-sound/herrie/files/herrie-2.2-libxspf.patch b/media-sound/herrie/files/herrie-2.2-libxspf.patch
deleted file mode 100644
index fa7cb7a4fcbb..000000000000
--- a/media-sound/herrie/files/herrie-2.2-libxspf.patch
+++ /dev/null
@@ -1,122 +0,0 @@
---- herrie-2.2/configure
-+++ herrie-2.2/configure
-@@ -301,7 +301,7 @@ fi
- if [ "$CFG_XSPF" != "" ]
- then
- CFLAGS="$CFLAGS -DBUILD_XSPF"
-- LDFLAGS="$LDFLAGS -lspiff"
-+ test_pkgconfig "libxspf" "xspf" "_vfs_xspf"
- SRCS="$SRCS util vfs_xspf"
- PLAYQ_DUMPFILE="autosave.xspf"
- else
---- herrie-2.2/src/conftest.c
-+++ herrie-2.2/src/conftest.c
-@@ -56,16 +56,10 @@
- #include <vorbis/codec.h>
- #include <vorbis/vorbisfile.h>
- #endif /* BUILD_VORBIS */
--#ifdef BUILD_XSPF
--#include <spiff/spiff_c.h>
--#endif /* BUILD_XSPF */
-
- int
- main(int argc, char *argv[])
- {
--#ifdef BUILD_XSPF
-- spiff_write(NULL, NULL, NULL);
--#endif /* BUILD_XSPF */
-
- return (0);
- }
---- herrie-2.2/src/vfs_xspf.c
-+++ herrie-2.2/src/vfs_xspf.c
-@@ -30,7 +30,7 @@
-
- #include "stdinc.h"
-
--#include <spiff/spiff_c.h>
-+#include <xspf_c.h>
-
- #include "util.h"
- #include "vfs.h"
-@@ -50,22 +50,22 @@ vfs_xspf_match(struct vfsent *ve, int isdir)
- int
- vfs_xspf_populate(struct vfsent *ve)
- {
-- struct spiff_list *slist;
-- struct spiff_track *strack;
-- struct spiff_mvalue *sloc;
-+ struct xspf_list *slist;
-+ struct xspf_track *strack;
-+ struct xspf_mvalue *sloc;
- char *dirname, *baseuri, *filename;
- struct vfsref *vr;
-
- baseuri = url_escape(ve->filename);
-- slist = spiff_parse(ve->filename, baseuri);
-+ slist = xspf_parse(ve->filename, baseuri);
- g_free(baseuri);
- if (slist == NULL)
- return (-1);
-
- dirname = g_path_get_dirname(ve->filename);
-
-- SPIFF_LIST_FOREACH_TRACK(slist, strack) {
-- SPIFF_TRACK_FOREACH_LOCATION(strack, sloc) {
-+ XSPF_LIST_FOREACH_TRACK(slist, strack) {
-+ XSPF_TRACK_FOREACH_LOCATION(strack, sloc) {
- /* Skip file:// part */
- filename = url_unescape(sloc->value);
-
-@@ -77,40 +77,40 @@ vfs_xspf_populate(struct vfsent *ve)
- }
-
- g_free(dirname);
-- spiff_free(slist);
-+ xspf_free(slist);
- return (0);
- }
-
- int
- vfs_xspf_write(const struct vfslist *vl, const char *filename)
- {
-- struct spiff_list *list;
-- struct spiff_track *track;
-- struct spiff_mvalue *location;
-+ struct xspf_list *list;
-+ struct xspf_track *track;
-+ struct xspf_mvalue *location;
- char *fn, *baseuri;
- struct vfsref *vr;
- int ret;
-
-- list = spiff_new();
-+ list = xspf_new();
-
- VFS_LIST_FOREACH_REVERSE(vl, vr) {
- /* Add a new track to the beginning of the list */
-- track = spiff_new_track_before(&list->tracks);
-+ track = xspf_new_track_before(&list->tracks);
-
- /* Make sure we don't write non-UTF-8 titles to disk */
- if (g_utf8_validate(vfs_name(vr), -1, NULL))
-- spiff_setvalue(&track->title, vfs_name(vr));
-+ xspf_setvalue(&track->title, vfs_name(vr));
-
-- location = spiff_new_mvalue_before(&track->locations);
-+ location = xspf_new_mvalue_before(&track->locations);
- fn = url_escape(vfs_filename(vr));
-- spiff_setvalue(&location->value, fn);
-+ xspf_setvalue(&location->value, fn);
- g_free(fn);
- }
-
- baseuri = url_escape(filename);
-- ret = spiff_write(list, filename, baseuri);
-+ ret = xspf_write(list, filename, baseuri);
- g_free(baseuri);
-- spiff_free(list);
-+ xspf_free(list);
-
- return (ret);
- }
diff --git a/media-sound/herrie/files/herrie-chost_issue.patch b/media-sound/herrie/files/herrie-chost_issue.patch
deleted file mode 100644
index 1949972baa6a..000000000000
--- a/media-sound/herrie/files/herrie-chost_issue.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-This patch sets the OS variable according to the CHOST given by the environment,
-thus enabling cross-compilation.
-
-Index: herrie-1.8/configure
-===================================================================
---- herrie-1.8.orig/configure
-+++ herrie-1.8/configure
-@@ -50,6 +50,21 @@ CFG_VORBIS=yes
- CFG_XSPF=yes
- DOIT=@
-
-+case "$CHOST" in
-+ *-darwin*)
-+ OS=Darwin
-+ ;;
-+ *-linux*)
-+ OS=Linux
-+ ;;
-+ *-freebsd*)
-+ OS=FreeBSD
-+ ;;
-+ *-solaris*)
-+ OS=SunOS
-+ ;;
-+esac
-+
- # Operating system defaults
- [ "$OS" != "" ] || OS=`uname`
- case $OS in
diff --git a/media-sound/herrie/herrie-2.2-r2.ebuild b/media-sound/herrie/herrie-2.2-r2.ebuild
deleted file mode 100644
index cb67e755fdf6..000000000000
--- a/media-sound/herrie/herrie-2.2-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit toolchain-funcs
-
-DESCRIPTION="Herrie is a command line music player"
-HOMEPAGE="http://herrie.info/"
-SRC_URI="http://herrie.info/distfiles/${P}.tar.bz2"
-
-LICENSE="BSD-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="ao +alsa pulseaudio oss http modplug mp3 sndfile vorbis xspf unicode nls"
-REQUIRED_USE="|| ( ao alsa pulseaudio oss )"
-
-RDEPEND="sys-libs/ncurses:=[unicode(+)?]
- >=dev-libs/glib-2:2
- ao? ( media-libs/libao:= )
- alsa? ( media-libs/alsa-lib )
- http? ( net-misc/curl )
- modplug? ( media-libs/libmodplug )
- mp3? ( media-libs/libmad
- media-libs/libid3tag:= )
- pulseaudio? ( media-sound/pulseaudio )
- sndfile? ( media-libs/libsndfile )
- vorbis? ( media-libs/libvorbis )
- xspf? ( >=media-libs/libxspf-1.2 )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${PN}-chost_issue.patch"
- "${FILESDIR}/${P}-libxspf.patch"
- "${FILESDIR}/${P}-fix-buildsystem.patch"
-)
-
-src_configure() {
- local EXTRA_CONF="verbose no_strip"
- use ao && EXTRA_CONF="${EXTRA_CONF} ao"
- use alsa && EXTRA_CONF="${EXTRA_CONF} alsa"
- use http || EXTRA_CONF="${EXTRA_CONF} no_http no_scrobbler"
- use mp3 || EXTRA_CONF="${EXTRA_CONF} no_mp3"
- use modplug || EXTRA_CONF="${EXTRA_CONF} no_modplug"
- use nls || EXTRA_CONF="${EXTRA_CONF} no_nls"
- use oss && EXTRA_CONF="${EXTRA_CONF} oss"
- use pulseaudio && EXTRA_CONF="${EXTRA_CONF} pulse"
- use sndfile || EXTRA_CONF="${EXTRA_CONF} no_sndfile"
- use unicode || EXTRA_CONF="${EXTRA_CONF} ncurses"
- use vorbis || EXTRA_CONF="${EXTRA_CONF} no_vorbis"
- use xspf || EXTRA_CONF="${EXTRA_CONF} no_xspf"
-
- tc-export PKG_CONFIG
-
- einfo "./configure ${EXTRA_CONF}"
- CC="$(tc-getCC)" PREFIX=/usr MANDIR=/usr/share/man \
- ./configure ${EXTRA_CONF} || die "configure failed"
-}
diff --git a/media-sound/herrie/metadata.xml b/media-sound/herrie/metadata.xml
deleted file mode 100644
index 149a73f33c20..000000000000
--- a/media-sound/herrie/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound project</name>
- </maintainer>
- <longdescription lang="en">
- Herrie is a minimalistic music player that uses the command
- line. It is written to support a variety of operating systems,
- audio subsystems and file formats, including playlists.
-
- Herrie has a split-screen user interface, with a playlist at
- the top of the screen and a file browser at the bottom. When
- tracks are added to the playlist, Herrie consumes them from the
- top one by one. It is thus an application that allows you to
- batch music for playback.
-
- Herrie also has some more exotic features, including support
- for AudioScrobbler and the ability to chroot() itself
- into a directory.
- </longdescription>
- <use>
- <flag name="http">Enable http streaming</flag>
- <flag name="xspf">Enable support for reading and saving XSPF playlists</flag>
- </use>
-</pkgmetadata>