summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2004-07-17 22:07:32 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2004-07-17 22:07:32 +0000
commit643f353ec5491298af63031c2b67a706c879bb07 (patch)
tree4097d739f6b00e9ef06df0311d71f225cc970c55 /x11-plugins/wmcdplay
parentstable on ppc64, bug #55805 (diff)
downloadhistorical-643f353ec5491298af63031c2b67a706c879bb07.tar.gz
historical-643f353ec5491298af63031c2b67a706c879bb07.tar.bz2
historical-643f353ec5491298af63031c2b67a706c879bb07.zip
Initial import of x11-plugins/wmcdplay, version 1.0_beta1. Closes #54550
Diffstat (limited to 'x11-plugins/wmcdplay')
-rw-r--r--x11-plugins/wmcdplay/ChangeLog8
-rw-r--r--x11-plugins/wmcdplay/Manifest8
-rw-r--r--x11-plugins/wmcdplay/files/digest-wmcdplay-1.0_beta11
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch8
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-c++.patch11
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch10
-rw-r--r--x11-plugins/wmcdplay/files/wmcdplay.desktop9
-rw-r--r--x11-plugins/wmcdplay/metadata.xml5
-rw-r--r--x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild49
9 files changed, 109 insertions, 0 deletions
diff --git a/x11-plugins/wmcdplay/ChangeLog b/x11-plugins/wmcdplay/ChangeLog
new file mode 100644
index 000000000000..53f601c84450
--- /dev/null
+++ b/x11-plugins/wmcdplay/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for x11-plugins/wmcdplay
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcdplay/ChangeLog,v 1.1 2004/07/17 22:07:32 s4t4n Exp $
+
+*wmcdplay-1.0_beta1 (17 Jul 2004)
+
+ 17 Jul 2004; Michele Noberasco <s4t4n@gentoo.org> wmcdplay-1.0_beta1.ebuild:
+ Initial import. Thanks to Przemyslaw Maciag. Closes #54550.
diff --git a/x11-plugins/wmcdplay/Manifest b/x11-plugins/wmcdplay/Manifest
new file mode 100644
index 000000000000..c70bf063c0ff
--- /dev/null
+++ b/x11-plugins/wmcdplay/Manifest
@@ -0,0 +1,8 @@
+MD5 9f107b7a5bafeeb26c65b2dee116c3ae ChangeLog 388
+MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
+MD5 332ca7b9de767dacd19f12308e9b2851 wmcdplay-1.0_beta1.ebuild 1083
+MD5 2f2d993a02097075b5b2333355b73b64 files/wmcdplay.desktop 190
+MD5 ba46f3fbf16e0de2a9bdb11a98425ad2 files/wmcdplay-ComplexProgramTargetNoMan.patch 212
+MD5 8d00afd6e6d07d13fbdc339b31ffb972 files/wmcdplay-xpmdir.patch 271
+MD5 47625c717a24e4cd904197f3aa72a7e6 files/digest-wmcdplay-1.0_beta1 66
+MD5 2d7e0455f8bc8a873cd51fda6bbc9bf2 files/wmcdplay-c++.patch 264
diff --git a/x11-plugins/wmcdplay/files/digest-wmcdplay-1.0_beta1 b/x11-plugins/wmcdplay/files/digest-wmcdplay-1.0_beta1
new file mode 100644
index 000000000000..e371ca973076
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/digest-wmcdplay-1.0_beta1
@@ -0,0 +1 @@
+MD5 3b84b902186ba65770c268841ca12ae2 wmcdplay-1.0-beta1.tgz 31919
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch
new file mode 100644
index 000000000000..78aaf3022d19
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-ComplexProgramTargetNoMan.patch
@@ -0,0 +1,8 @@
+--- ./Imakefile.org Wed Nov 28 01:18:02 2001
++++ ./Imakefile Wed Nov 28 01:19:28 2001
+@@ -7,4 +7,4 @@
+ SRCS = wmcdplay.cc
+ OBJS = wmcdplay.o
+
+-ComplexProgramTarget(wmcdplay)
++ComplexProgramTargetNoMan(wmcdplay)
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-c++.patch b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch
new file mode 100644
index 000000000000..a0461c380b4e
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-c++.patch
@@ -0,0 +1,11 @@
+diff -uNr wmcdplay.old/Imakefile wmcdplay/Imakefile
+--- wmcdplay.old/Imakefile Sat Sep 5 10:11:26 1998
++++ wmcdplay/Imakefile Mon Nov 16 18:27:37 1998
+@@ -1,5 +1,7 @@
+ DEPLIBS = $(DEPXLIB)
+
++CC = c++
++
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
+
+ SRCS = wmcdplay.cc
diff --git a/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch
new file mode 100644
index 000000000000..084a4597d19a
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay-xpmdir.patch
@@ -0,0 +1,10 @@
+--- wmcdplay.cc
++++ wmcdplay.cc
+@@ -20,6 +20,6 @@
+ #define CLASS "WMCDPlay"
+
+ // User defines - custom
+-#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/"
++#define SYSARTDIR "/usr/share/WMcdplay/"
+ #define CDDEV "/dev/cdrom"
+ #define BACKCOLOR "#282828"
diff --git a/x11-plugins/wmcdplay/files/wmcdplay.desktop b/x11-plugins/wmcdplay/files/wmcdplay.desktop
new file mode 100644
index 000000000000..4fb10982675e
--- /dev/null
+++ b/x11-plugins/wmcdplay/files/wmcdplay.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=WmCDPlay
+Comment=Dockable CD player applet
+Comment[pl]=Dokowalny aplet CD playera
+Exec=wmcdplay
+Type=Application
+Encoding=UTF-8
+Terminal=0
+Categories=Application;Audio;
diff --git a/x11-plugins/wmcdplay/metadata.xml b/x11-plugins/wmcdplay/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmcdplay/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>desktop-dock</herd>
+</pkgmetadata>
diff --git a/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild
new file mode 100644
index 000000000000..56f4675d116e
--- /dev/null
+++ b/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmcdplay/wmcdplay-1.0_beta1.ebuild,v 1.1 2004/07/17 22:07:32 s4t4n Exp $
+
+inherit eutils
+
+IUSE=""
+
+MY_P=${P/_beta/-beta}
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="CD player applet for WindowMaker"
+SRC_URI="http://www.geocities.com/SiliconValley/Vista/2471/files/${MY_P}.tgz"
+HOMEPAGE="http://www.geocities.com/SiliconValley/Vista/2471/"
+
+DEPEND="virtual/x11"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-xpmdir.patch
+ epatch ${FILESDIR}/${PN}-ComplexProgramTargetNoMan.patch
+ epatch ${FILESDIR}/${PN}-c++.patch
+}
+
+src_compile()
+{
+ PATH=${PATH}:/usr/X11R6/bin
+ xmkmf || die "xmkmf failed"
+ emake CDEBUGFLAGS="${CFLAGS}" || die "Compilation failed"
+}
+
+src_install()
+{
+ einstall DESTDIR="${D}" BINDIR="/usr/bin" || die "Installation failed"
+
+ insinto /usr/share/WMcdplay
+ doins XPM/*.art
+
+ dodoc ARTWORK README
+
+ insinto /usr/share/applications
+ doins ${FILESDIR}/${PN}.desktop
+}