summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mac
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/xmms-mac
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'media-plugins/xmms-mac')
-rw-r--r--media-plugins/xmms-mac/Manifest3
-rw-r--r--media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch18
-rw-r--r--media-plugins/xmms-mac/xmms-mac-0.3.1-r2.ebuild34
3 files changed, 55 insertions, 0 deletions
diff --git a/media-plugins/xmms-mac/Manifest b/media-plugins/xmms-mac/Manifest
new file mode 100644
index 0000000..ecd375e
--- /dev/null
+++ b/media-plugins/xmms-mac/Manifest
@@ -0,0 +1,3 @@
+AUX xmms-mac-ds-gcc44.patch 504 RMD160 911bb61420583350fae135854445fab4f2cb5d09 SHA1 af32898920817aa6d8cc1ea39a0ba0894049bc23 SHA256 e067fea7d2fe2901a8f0adc590ad307a9ef9a580867a087bb4435f1934e98abe
+DIST xmms-mac-0.3.1.tar.gz 299783 RMD160 a7b22cdf0a8196480016f02314a0f60dfcab9984 SHA1 68a75ca93d76fa7deffceac4994b3c2c54518159 SHA256 c1c12231dd6d679dc458bca2e18b65dfb9d4fad1427ca6569e1cbeeb9650ab02
+EBUILD xmms-mac-0.3.1-r2.ebuild 860 RMD160 fffbf05bf29acbd7bf9fef7ae4d9db14ef3153ab SHA1 ebb05f7eb15c5eae0e58b5018a371c64f78943bf SHA256 3deb910452936219f67895550d02739d04f51eabb2f51f209a9219fc9650a8f1
diff --git a/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch b/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch
new file mode 100644
index 0000000..66580e8
--- /dev/null
+++ b/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch
@@ -0,0 +1,18 @@
+diff -dPNur xmms-mac-0.3.1-orig/src/mac.cpp xmms-mac-0.3.1/src/mac.cpp
+--- xmms-mac-0.3.1-orig/src/mac.cpp 2005-04-15 11:05:46.000000000 +0200
++++ xmms-mac-0.3.1/src/mac.cpp 2011-02-08 17:24:17.000000000 +0100
+@@ -45,12 +45,12 @@
+
+ static char *get_file_extname(const char *filename)
+ {
+- char *ext = strrchr(filename, '.');
++ const char *ext = strrchr(filename, '.');
+
+ if (ext != NULL)
+ ++ext;
+
+- return ext;
++ return (char*)ext;
+ }
+
+ static char *get_tag_info(CAPETag *tag, wchar_t *fieldname)
diff --git a/media-plugins/xmms-mac/xmms-mac-0.3.1-r2.ebuild b/media-plugins/xmms-mac/xmms-mac-0.3.1-r2.ebuild
new file mode 100644
index 0000000..83f5122
--- /dev/null
+++ b/media-plugins/xmms-mac/xmms-mac-0.3.1-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: current version of ebuild http://atrey.karlin.mff.cuni.cz/~sanda/mac/$
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="Plugin to listen ape files (monkey audio codec) files on xmms"
+HOMEPAGE="http://sourceforge.net/projects/mac-port/"
+SRC_URI="http://dside.dyndns.org/files/darklin/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="x86 amd64"
+LICENSE="MAC"
+
+DEPEND="media-sound/xmms media-libs/mac"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/xmms-mac-ds-gcc44.patch || die
+}
+
+src_compile () {
+ econf --with-prefix=`xmms-config --prefix` --with-exec-prefix=`xmms-config --exec-prefix`|| die 'Configure failed'
+ emake || die "Error compiling"
+}
+
+src_install()
+{
+ einstall DESTDIR="${D}" || die
+ dodoc AUTHORS BUGS ChangeLog NEWS README TODO COPYING
+}