summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2004-07-17 13:54:27 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2004-07-17 13:54:27 +0000
commiteeb77520c20e2a38113f7bbb3fcc5c28692b881c (patch)
tree9f0391231f4218a329ba3fe44ca2f2bc96e0233d /x11-plugins/wmsvencd
parentapp-text/tetex -> virtual/tetex (#57175) (Manifest recommit) (diff)
downloadgentoo-2-eeb77520c20e2a38113f7bbb3fcc5c28692b881c.tar.gz
gentoo-2-eeb77520c20e2a38113f7bbb3fcc5c28692b881c.tar.bz2
gentoo-2-eeb77520c20e2a38113f7bbb3fcc5c28692b881c.zip
Initial import of x11-plugins/wmsvencd, version 0.5.0. Closes #53583
Diffstat (limited to 'x11-plugins/wmsvencd')
-rw-r--r--x11-plugins/wmsvencd/ChangeLog8
-rw-r--r--x11-plugins/wmsvencd/Manifest4
-rw-r--r--x11-plugins/wmsvencd/files/digest-wmsvencd-0.5.01
-rw-r--r--x11-plugins/wmsvencd/files/wmsvencd-compile.patch36
-rw-r--r--x11-plugins/wmsvencd/files/wmsvencd.desktop9
-rw-r--r--x11-plugins/wmsvencd/metadata.xml5
-rw-r--r--x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild44
7 files changed, 107 insertions, 0 deletions
diff --git a/x11-plugins/wmsvencd/ChangeLog b/x11-plugins/wmsvencd/ChangeLog
new file mode 100644
index 000000000000..5b3244a29204
--- /dev/null
+++ b/x11-plugins/wmsvencd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for x11-plugins/wmsvencd
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsvencd/ChangeLog,v 1.1 2004/07/17 13:54:27 s4t4n Exp $
+
+*wmsvencd-0.5.0 (17 Jul 2004)
+
+ 17 Jul 2004; Michele Noberasco <s4t4n@gentoo.org> wmsvencd-0.5.0.ebuild:
+ Initial import. Thanks to Przemyslaw Maciag. Closes #53583.
diff --git a/x11-plugins/wmsvencd/Manifest b/x11-plugins/wmsvencd/Manifest
new file mode 100644
index 000000000000..800cb72e5f6d
--- /dev/null
+++ b/x11-plugins/wmsvencd/Manifest
@@ -0,0 +1,4 @@
+MD5 5834e7daed0aa49de9a210650a7080ad wmsvencd-0.5.0.ebuild 789
+MD5 813d128fc4aa6314fb517d9c3d9e5af7 files/wmsvencd-compile.patch 1214
+MD5 106258cb0439850d80bb5bde262f5bce files/digest-wmsvencd-0.5.0 65
+MD5 70eabdb0f90dd2777380a1952ef3d9c3 files/wmsvencd.desktop 232
diff --git a/x11-plugins/wmsvencd/files/digest-wmsvencd-0.5.0 b/x11-plugins/wmsvencd/files/digest-wmsvencd-0.5.0
new file mode 100644
index 000000000000..9084eb51a8a6
--- /dev/null
+++ b/x11-plugins/wmsvencd/files/digest-wmsvencd-0.5.0
@@ -0,0 +1 @@
+MD5 2315a1e05534cdfec20134bbccefc5cc wmsvencd-0.5.0.tar.gz 23784
diff --git a/x11-plugins/wmsvencd/files/wmsvencd-compile.patch b/x11-plugins/wmsvencd/files/wmsvencd-compile.patch
new file mode 100644
index 000000000000..1ab9a9f7e383
--- /dev/null
+++ b/x11-plugins/wmsvencd/files/wmsvencd-compile.patch
@@ -0,0 +1,36 @@
+diff -urN wmsvencd-0.5.0.orig/Makefile wmsvencd-0.5.0/Makefile
+--- wmsvencd-0.5.0.orig/Makefile 1999-05-08 09:54:08.000000000 +0200
++++ wmsvencd-0.5.0/Makefile 2003-09-18 03:56:41.448394312 +0200
+@@ -1,11 +1,13 @@
+ BINDIR = /usr/local/bin
+ MANDIR = /usr/local/man/man1
+ CFLAGS = -O6 -fno-strength-reduce
++LIBDIR = -L/usr/X11R6/lib
++LIBS = -lXpm -lXext -lX11
+
+ all: wmsvencd
+
+ wmsvencd: cdctl.o wmsvencd.o
+- c++ -o wmsvencd $(CFLAGS) -L/usr/X11R6/lib wmsvencd.o cdctl.o -lXpm -lXext -lX11
++ c++ -o wmsvencd $(CFLAGS) $(LIBDIR) wmsvencd.o cdctl.o $(LIBS)
+
+ wmsvencd.o: wmsvencd.cc
+ c++ $(CFLAGS) -I/usr/X11R6/include -I/include -c wmsvencd.cc -o wmsvencd.o
+@@ -21,4 +23,4 @@
+ install:
+ mkdir -p $(BINDIR)
+ install -c -s -m 0755 wmsvencd $(BINDIR)
+- install -c -m 0644 wmsvencd.1x $(MANDIR)
++ install -c -m 0644 wmsvencd.1x $(MANDIR)
+\ No newline at end of file
+diff -urN wmsvencd-0.5.0.orig/cdctl.cc wmsvencd-0.5.0/cdctl.cc
+--- wmsvencd-0.5.0.orig/cdctl.cc 1999-05-08 05:51:29.000000000 +0200
++++ wmsvencd-0.5.0/cdctl.cc 2003-09-18 03:55:06.393844800 +0200
+@@ -35,6 +35,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/ioctl.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/x11-plugins/wmsvencd/files/wmsvencd.desktop b/x11-plugins/wmsvencd/files/wmsvencd.desktop
new file mode 100644
index 000000000000..a425b1757604
--- /dev/null
+++ b/x11-plugins/wmsvencd/files/wmsvencd.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=WmSvenCD
+Comment=WindowMaker dockable CD-player with CDDB
+Comment[pl]=Dokowalny CD-player dla WindowMakera z obsługą CDDB
+Exec=wmsvencd
+Type=Application
+Encoding=UTF-8
+Terminal=0
+Categories=Application;Audio;
diff --git a/x11-plugins/wmsvencd/metadata.xml b/x11-plugins/wmsvencd/metadata.xml
new file mode 100644
index 000000000000..b1a9efc4f2f0
--- /dev/null
+++ b/x11-plugins/wmsvencd/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/wmsvencd/wmsvencd-0.5.0.ebuild b/x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild
new file mode 100644
index 000000000000..8e51227c09c1
--- /dev/null
+++ b/x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsvencd/wmsvencd-0.5.0.ebuild,v 1.1 2004/07/17 13:54:27 s4t4n Exp $
+
+inherit eutils
+
+IUSE=""
+
+DESCRIPTION="Window Maker Dockable CD-Player with CDDB"
+SRC_URI="http://www.harshbutfair.org/dl/${P}.tar.gz"
+HOMEPAGE="http://www.harshbutfair.org/software/wmsvencd.html"
+
+DEPEND="virtual/x11
+ || ( >=x11-wm/windowmaker-0.62.0
+ x11-wm/windowmaker-cvs )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/wmsvencd-compile.patch
+}
+
+src_compile() {
+
+ emake CFLAGS="${CFLAGS} -fno-strength-reduce" || die "make failed"
+
+}
+
+src_install() {
+
+ newman wmsvencd.1x wmsvencd.1
+ dobin wmsvencd
+ dodoc README
+
+ insinto /usr/share/applications
+ doins ${FILESDIR}/${PN}.desktop
+}