summaryrefslogtreecommitdiff
path: root/media-sound/awesfx
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 /media-sound/awesfx
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/awesfx')
-rw-r--r--media-sound/awesfx/Manifest9
-rw-r--r--media-sound/awesfx/awesfx-0.5.1d.ebuild38
-rw-r--r--media-sound/awesfx/awesfx-0.5.1e.ebuild38
-rw-r--r--media-sound/awesfx/files/sfxload.confd7
-rw-r--r--media-sound/awesfx/files/sfxload.initd19
-rw-r--r--media-sound/awesfx/metadata.xml8
6 files changed, 119 insertions, 0 deletions
diff --git a/media-sound/awesfx/Manifest b/media-sound/awesfx/Manifest
new file mode 100644
index 000000000000..48c6ff96f53f
--- /dev/null
+++ b/media-sound/awesfx/Manifest
@@ -0,0 +1,9 @@
+AUX sfxload.confd 165 SHA256 b0344444973ee0fee09353148aed2d7c87632c44f3116793eaa7e64244c9dfce SHA512 9725e28b10f512e6e8e3cf121f8d442b3f0148795e676760b434a02c9a4e19945915fd93d6fa012448f041d17819d32b38445a0946819e398647bfd5ce31c38e WHIRLPOOL e93bc9b0b022910c18ce2948eb72d3a06d451eb17b1a4f60cd46e167815bdca336e7c769a06b371bd84fe5ca14a9799bc68a7606d9dbd39ae328d13e9f7dc310
+AUX sfxload.initd 398 SHA256 0ec88b9048f18ea61c4b9829dc3c2be7e632e00c4ae36cb2eed7cabc3bb8dc20 SHA512 dd3522d112a0efefa1786ce37b9f9be3ee07eb50b0a618d7adb386ff007d9e9e907dcd9e184ed5122118723d702caeadc190018f0af5ad393c931eb0a549f31c WHIRLPOOL cbdb1e95ed704eedca9a1a9d2fae889a051d34c2829395c7d66fa2ab44d17adce0bdeb52cf160eb0f9f404f6e31cd52957dde7720db128e813079f3980dd82fd
+DIST awesfx-0.5.1d.tar.bz2 282981 SHA256 4d5e57f18d9b353b08cdbd6bd4277843f14efb1a6175344bb1f7e64384a65a61 SHA512 50cd27ca4da8bd38fd11fcdbb2eb8806ea8956c834433c92cb094e0a6ee143175ba85be4665431527133abf8430e6fb60eb69ee35b0afed81d11db517cbb3758 WHIRLPOOL 0d5ee63384343bf1182b5797b35ddbc679d5cb95388b77680e509e2cb005ca25605c8955ba4e260e676f5b3809e0c2497f9c7113e487c70d0f309b6326a34217
+DIST awesfx-0.5.1e.tar.bz2 307929 SHA256 27a9b0090474ff9a0a6fb3ceb95422e9e36ecb3cf4dbf1b6720aa486e8c7f812 SHA512 f70e631b6ab6ec6dcbde7773c1da5cba72763d2198c2ac51f4bde0fee80f057f296cabc915aed805e744f7b2323b4e2b20b6d894c79cf5682457a3fc6a9be11d WHIRLPOOL abe1716f42aca14ffd92d99fe774c0561290aef10cbf44802ef4cddd2ce116d9551a96bbf6b81d99256c6719afc5e5ecb5cc08f1a6974f3eabbe58a5b53f9b96
+EBUILD awesfx-0.5.1d.ebuild 874 SHA256 8223713a3922fcdd687f5bc9865ce1f897ba9583a4f865b6f2a7d332d57acb7a SHA512 2a784d392ec1da69b4ae90a19db5f1629dbe253671b13345e33f3b2afdf325d49238b3c24a89fb9892b2aff8fb62c344ad82d9f7df705cc8570ab34a4b0d763e WHIRLPOOL 18da0614db2e8e1ccd96913508761fa48cdb41081f23f3e96fd6401c9effc7c12fa5cf566c8c4cfb7819642588d0cdafdef92c571f119ce0342ccef9ddd3cc59
+EBUILD awesfx-0.5.1e.ebuild 876 SHA256 df89e8744379d8b0dd4ff5e4ead594807c640efc06ffcdf59c372e47d7c78ed4 SHA512 83042eac3b1eec2ea42ad65095dcdcbb9cd876b0d820ef049d9e8c0b879d845d4e60a184cc84640a5d0b9ec52db68a9465498b3777f9ce2c51bc6ce113bd8535 WHIRLPOOL b79958907c1c3dff9463b75186a647d4e49bfe3d9d59e313627b7a2fff0bcb3bb654aaced6093b403b50c4d0c65dc86525ef723e4ff8e6e6c9ed17ff8af8540a
+MISC ChangeLog 2657 SHA256 2e78bb238c28ce009889f985431c8ab02bcdb17e10a096eda600f4a77c58c69f SHA512 1a267d8ddbfd77b683332c8da65136cc3e4e528d2fe9bd18be3f622b28a70bd7bb02530af093f4196e69b4ac7e65e8c1d82ee07bf7f6e220002c15c948b59f6f WHIRLPOOL b8ca78a3eb0d60151a07d7d2e733695134b718d0ba31d5901c079cae46c4e49cb0cbef98af96ec3d3934d2eb721d168672160acf104625009c7528f950aa3d53
+MISC ChangeLog-2015 5530 SHA256 e5714001cd53e7d04b63e3375e7e3a7a6eca3fbe611b8e54f065dee466cf38a9 SHA512 bd9ac2baac3db72a54bd91e5728bacc3dfedcc3b44a50203b908bfe281ec5d0bb2a9df1544df87d4cc393ebfe33d081e973f853ee14950fae47de4c7280f65b8 WHIRLPOOL 9ad3c57f75b68f2c980c9a904eaab2860777f435a6c86ad06ae38553a6f81e6f365da4f03b0cc6ef18a8ee7173d2cba82ec0c09f66ed1df1d7b543341f1ee56f
+MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723
diff --git a/media-sound/awesfx/awesfx-0.5.1d.ebuild b/media-sound/awesfx/awesfx-0.5.1d.ebuild
new file mode 100644
index 000000000000..c0150488b671
--- /dev/null
+++ b/media-sound/awesfx/awesfx-0.5.1d.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="AWE32 Sound Driver Utility Programs"
+HOMEPAGE="http://ftp.suse.com/pub/people/tiwai/awesfx"
+SRC_URI="http://ftp.suse.com/pub/people/tiwai/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="media-libs/alsa-lib"
+DEPEND="${RDEPEND}"
+
+BANK_LOC="${EPREFIX}/usr/share/sounds/sf2"
+
+DOCS=( AUTHORS ChangeLog README SBKtoSF2.txt samples/README-bank )
+
+src_configure() {
+ econf \
+ --with-sfpath=${BANK_LOC}
+}
+
+src_install() {
+ default
+
+ rm -f "${ED}"/usr/share/sounds/sf2/README-bank
+ newinitd "${FILESDIR}"/sfxload.initd sfxload
+ newconfd "${FILESDIR}"/sfxload.confd sfxload
+}
+
+pkg_postinst() {
+ elog "Copy your SoundFont files from the original CDROM"
+ elog "shipped with your soundcard to ${BANK_LOC}."
+}
diff --git a/media-sound/awesfx/awesfx-0.5.1e.ebuild b/media-sound/awesfx/awesfx-0.5.1e.ebuild
new file mode 100644
index 000000000000..1c993f919762
--- /dev/null
+++ b/media-sound/awesfx/awesfx-0.5.1e.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="AWE32 Sound Driver Utility Programs"
+HOMEPAGE="http://ftp.suse.com/pub/people/tiwai/awesfx"
+SRC_URI="http://ftp.suse.com/pub/people/tiwai/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/alsa-lib"
+DEPEND="${RDEPEND}"
+
+BANK_LOC="${EPREFIX}/usr/share/sounds/sf2"
+
+DOCS=( AUTHORS ChangeLog README SBKtoSF2.txt samples/README-bank )
+
+src_configure() {
+ econf \
+ --with-sfpath=${BANK_LOC}
+}
+
+src_install() {
+ default
+
+ rm -f "${ED}"/usr/share/sounds/sf2/README-bank
+ newinitd "${FILESDIR}"/sfxload.initd sfxload
+ newconfd "${FILESDIR}"/sfxload.confd sfxload
+}
+
+pkg_postinst() {
+ elog "Copy your SoundFont files from the original CDROM"
+ elog "shipped with your soundcard to ${BANK_LOC}."
+}
diff --git a/media-sound/awesfx/files/sfxload.confd b/media-sound/awesfx/files/sfxload.confd
new file mode 100644
index 000000000000..e44815a7c71b
--- /dev/null
+++ b/media-sound/awesfx/files/sfxload.confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/sfxload
+
+# sfxload or asfxload
+sfxload="asfxload"
+
+# Example location of sound bank for sfxload init script
+sfxbank="/usr/share/sounds/sf2/foobar.bin"
diff --git a/media-sound/awesfx/files/sfxload.initd b/media-sound/awesfx/files/sfxload.initd
new file mode 100644
index 000000000000..852e45c8a4fd
--- /dev/null
+++ b/media-sound/awesfx/files/sfxload.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need alsasound
+}
+
+start() {
+ ebegin "Loading sound font bank"
+ ${sfxload} -q "${sfxbank}"
+ eend $? "Error at loading sound font bank ${sfxbank}"
+}
+
+stop() {
+ ebegin "Unloading sound font bank"
+ ${sfxload} -i -q
+ eend $? "Error at unloading sound font bank"
+}
diff --git a/media-sound/awesfx/metadata.xml b/media-sound/awesfx/metadata.xml
new file mode 100644
index 000000000000..c870d0eef0ab
--- /dev/null
+++ b/media-sound/awesfx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+</maintainer>
+</pkgmetadata>