summaryrefslogtreecommitdiff
path: root/x11-plugins/wmsound
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmsound
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmsound')
-rw-r--r--x11-plugins/wmsound/Manifest8
-rw-r--r--x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch11
-rw-r--r--x11-plugins/wmsound/files/wmsound-config.patch86
-rw-r--r--x11-plugins/wmsound/metadata.xml9
-rw-r--r--x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild49
-rw-r--r--x11-plugins/wmsound/wmsound-0.9.5.ebuild45
6 files changed, 208 insertions, 0 deletions
diff --git a/x11-plugins/wmsound/Manifest b/x11-plugins/wmsound/Manifest
new file mode 100644
index 000000000000..61bb82455eee
--- /dev/null
+++ b/x11-plugins/wmsound/Manifest
@@ -0,0 +1,8 @@
+AUX wmsound-ComplexProgramTargetNoMan.patch 304 SHA256 c55a5b1c413140bb9e5660dcfcc3277dae2b6a3be6bdd1671bacd297ffb12a82 SHA512 61e38cb63ceb0165191b55061adc2c3112dc710c43eaa81ac19143625c4b4b0cf8ffa5fa5df22c9a0e953d20f62cce33d032d9a669787770ac798efce6cca61a WHIRLPOOL 0d7524cea6ee1f677c1d3c1221866e4a49e9e144f9de4c5c13ed80e54e45fa849d7522fbe5d0abdcc9fe5d49d50a2366406ab49f6aa664da47d10dafcadbdee3
+AUX wmsound-config.patch 2466 SHA256 778cd878ea6146480737bea355d0f47463a1875c172c09b8bb0232645d32e02e SHA512 8a3ac50c4fddbe429737dde63f23144e85dfe064b6306d9a4a465c0ea701aba395f586fee806090d42b7a163233667570aa2d06e24f2e12ef5a13d44d5da0f15 WHIRLPOOL 7104fccc6ac4f4cd5a34afdc40f9afd735ae7d16238979fa958075b38f6c7eb9bc2f0a1bce55948442e06d6dfd6a7fba79a78898c4b7713422e987958cbf20b3
+DIST wmsound-0.9.5.tar.gz 23098 SHA256 9f479d7a00030e410f21ce9b489de5c7bf4daac64ff710924440ac1d112da1c2 SHA512 eb518ac30d2d2db3f0a67e33cc4a157324b2a7f883176333aeaa8351ac02d035445ab2c5817dccc8b437008e0951affbea3bd7f774247174d4b7da8791648540 WHIRLPOOL 51330c93367aafdb1d99d17e2cec44ea5875251104517a2c8e3629584efe8c36d0038f18e7d4a53f324da9246cd71d91ddfbd26e2d94510df3c6f85046dd6aab
+EBUILD wmsound-0.9.5-r1.ebuild 1199 SHA256 f314eba41d23aac5b24121e378f8c095452c2425ae277e24f5982665efff8126 SHA512 af1cb0f6045fd7f0ea13d6746b5b1807bbbba92ddcf495fff2fbe796c65f3618f279b0cf9077a9fcd91dc472a2efa215161145538b379e0e06bd99e59349c93b WHIRLPOOL 9b8bd44c3b94000122434a8a143574a67bb2457b0e25aef9fb2f143b2fd0ed4f3ced098cc5d258231323d0147cf745c7c0be5566553af4448a6fac61c086d3f8
+EBUILD wmsound-0.9.5.ebuild 1072 SHA256 51e23dfaa7ed799a20fcb9a8b83f090f6f914c68f9cd28e5d44124eb36defcc3 SHA512 61d2b67606342298c50dadd9b6c85d3e6cea6882398e0dd1e706ddec4b105e85d1cd3010988d47213fa8eccd259e6bd4ff8d1f1d5b44cc14b7e9d435c09be3e6 WHIRLPOOL 8f3569f6584db49986f2e4398f6a2fbad56643df3a248d8527f26399b975114f249b492fe432c6495d87ded849854e9826c68c580859673c1ab22a70ac47409a
+MISC ChangeLog 3255 SHA256 97e971a1eb779df28f039653aa551636854e5a8821a1b59e98ee9db226f187ad SHA512 08b184f0adee3eea43e7493bba55451ceda5c3df5c70a0310f0d1fcbeb694f8d6df717c6368accbb5514f643b5f66316b1b51acc99f19335d231b3e9da8ed9d5 WHIRLPOOL aab0ea092c5760fccbdf7c0680d26c4919f8ebe44ae08efb865b9ecf3e7f490c5c0fa9da4eeb5686e9a241b855d16c43b5c0fc6709a0089d42e43a66364b75fd
+MISC ChangeLog-2015 2078 SHA256 5193c3b0b293ff50e090a4ef23797f03f710a8b8e1b0c330594fbccd89b0845f SHA512 57de0e6f6b06ac5f0465e227847fae6e6bc10abf3c23743bcec444ee5f6148e96d1f2f0f99dbc646f7df9c4b1fde27cfa2e1be0b4b3dd18f3855bc8db160cb3a WHIRLPOOL 920745e76c544057bc656b4ca51ff662f31b02bc13cc415ca59c4c9c2dd032b511f2571ebd48053c4bd627b93328b824297dc49fd39f8200740423195b053c4f
+MISC metadata.xml 249 SHA256 ab0de85cc2ebef9f9bca3773395bc5c909312efb834a8b3948806c1b00dee4e5 SHA512 1a1312bb0e9f74f1e3852218d8fd4817fbad3bc65633cecbe8735607bc33c1e05b414c2628ff3f6e24dfc4a3999de7191f6cdadd2161b03cf614d5b6f24fab8d WHIRLPOOL 3d7026fc5a045f5c90505dab413fe4534364d8c9a47c053ffbfaf3579478e55f77427eb00b05bd4c593a372c69eefae5ca93a2bab9398f52d20d374c2265fb2d
diff --git a/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch
new file mode 100644
index 000000000000..c87ab10e3791
--- /dev/null
+++ b/x11-plugins/wmsound/files/wmsound-ComplexProgramTargetNoMan.patch
@@ -0,0 +1,11 @@
+--- wmsound-0.9.4/src/Imakefile~ Tue Dec 4 09:22:23 2001
++++ wmsound-0.9.4/src/Imakefile Tue Dec 4 09:22:23 2001
+@@ -26,7 +26,7 @@
+ SRCS = wmsound.c
+ OBJS = wmsound.o
+
+-ComplexProgramTarget(wmsound)
++ComplexProgramTargetNoMan(wmsound)
+
+ XCOMM MakeSubdirs($(SUBDIRS))
+ XCOMM DependSubdirs($(SUBDIRS))
diff --git a/x11-plugins/wmsound/files/wmsound-config.patch b/x11-plugins/wmsound/files/wmsound-config.patch
new file mode 100644
index 000000000000..5ab17c13693f
--- /dev/null
+++ b/x11-plugins/wmsound/files/wmsound-config.patch
@@ -0,0 +1,86 @@
+--- wmsound-0.9.5/Install.orig Sun May 2 13:02:43 1999
++++ wmsound-0.9.5/Install Wed Sep 4 12:59:56 2002
+@@ -7,62 +7,15 @@
+ DEVICE="/dev/dsp"
+
+ echo
+-echo "----------------------------"
+-echo " WMSound-$VERSION Installation "
+-echo "----------------------------"
++echo "-----------------------------"
++echo " WMSound-$VERSION Configuration "
++echo "-----------------------------"
+
+-WHOAMI=`whoami`
+-if test $WHOAMI != "root"
+-then
+- echo "It is advised to run this script as the root user"
+- echo "Your current user is $WHOAMI, if you want to continue press <Enter>"
+- read CONTINUE
+- if test $CONTINUE
+- then
+- echo "Installation aborted."
+- else
+- echo "Proceeding with installation ..."
+- fi
+-fi
+-
+-done=0
+-while test $done = 0
+-do
+- echo "Specify your default audio device [$DEVICE]"
+- echo -n ": "
+- read AUDIODEV
+- if !(test $AUDIODEV)
+- then
+- AUDIODEV=$DEVICE
+- fi
+- if test -e $AUDIODEV
+- then
+- echo "Using audio-device : $AUDIODEV"
+- DEVICE=$AUDIODEV
+- done=1
+- else
+- echo "$AUDIODEV does not exist ..."
+- fi
+-
+-done
+-echo "----------------------"
+-echo " Generating Makefiles "
+-echo "----------------------"
+-xmkmf -a
+-
+-echo "------------------------"
+-echo " Building WMSound-$VERSION"
+-echo "------------------------"
+-make install
+-
+-echo "-----------------------------------"
+-echo " Generating Default WMSound Domain "
+-echo "-----------------------------------"
+ (echo "{";\
+ echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\
+-echo " \"/usr/local/share/WindowMaker/Sounds\");";\
++echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\
+ echo " SoundSetPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\
+-echo " \"/usr/local/share/WindowMaker/SoundSets\");";\
++echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\
+ echo " Device = $DEVICE;";\
+ echo " AppExit = appexit.wav;";\
+ echo " AppStart = appstart.wav;";\
+@@ -73,13 +26,8 @@
+ echo " Shade = shade.wav;";\
+ echo " Startup = startup.wav;";\
+ echo " UnHide = unhide.wav;";\
+-echo " DeIconify = uniconify.wav;";\
++echo " DeIconify = deiconify.wav;";\
+ echo " UnShade = unshade.wav;";\
+ echo " UserDefined = replaceme.wav;";\
+-echo "}";) > WMSound
++echo "}";) > config/WMSound
+
+-echo "Make sure you copy the generated WMSound config to your Window Maker Global"
+-echo "Defaults path ... (probably /usr/local/etc/WindowMaker)"
+-echo
+-echo "Installation completed."
+-
diff --git a/x11-plugins/wmsound/metadata.xml b/x11-plugins/wmsound/metadata.xml
new file mode 100644
index 000000000000..1d5e6504004e
--- /dev/null
+++ b/x11-plugins/wmsound/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+</maintainer>
+
+</pkgmetadata>
diff --git a/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..5e0b9fa2dd60
--- /dev/null
+++ b/x11-plugins/wmsound/wmsound-0.9.5-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils toolchain-funcs
+
+DESCRIPTION="An sound server for the WindowMaker desktop"
+HOMEPAGE="http://windowmaker.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-sound/wmsound-data
+ x11-libs/libproplist
+ x11-wm/windowmaker"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-config.patch \
+ "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
+
+ # Fix building with -Wl,--as-needed
+ sed -i \
+ -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \
+ src/Imakefile || die
+ sed -i \
+ -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \
+ utils/Imakefile || die
+}
+
+src_compile() {
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}/usr" install
+ dodoc AUTHORS BUGS ChangeLog
+
+ # Remove libwmsnd.a and wmsnd.h because they are unused, see:
+ # https://qa-reports.gentoo.org/output/genrdeps/dindex/media-sound/wmsound
+ rm -rf "${ED}"/usr/{include,lib*}
+}
diff --git a/x11-plugins/wmsound/wmsound-0.9.5.ebuild b/x11-plugins/wmsound/wmsound-0.9.5.ebuild
new file mode 100644
index 000000000000..8ab46cc7b602
--- /dev/null
+++ b/x11-plugins/wmsound/wmsound-0.9.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="WindowMaker sound server"
+HOMEPAGE="http://largo.windowmaker.org/"
+SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
+
+RDEPEND="media-sound/wmsound-data
+ x11-libs/libproplist
+ x11-wm/windowmaker"
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc x86"
+IUSE=""
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-config.patch \
+ "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
+
+ # Fix building with -Wl,--as-needed
+ sed -i \
+ -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \
+ src/Imakefile || die
+ sed -i \
+ -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \
+ utils/Imakefile || die
+}
+
+src_compile() {
+ xmkmf -a || die
+ emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
+}
+
+src_install() {
+ emake PREFIX="${D}/usr" USRLIBDIR="${D}/usr/$(get_libdir)" install
+ dodoc AUTHORS BUGS ChangeLog
+}