diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/timidity-eawpatches |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/timidity-eawpatches')
-rw-r--r-- | media-sound/timidity-eawpatches/Manifest | 5 | ||||
-rw-r--r-- | media-sound/timidity-eawpatches/metadata.xml | 8 | ||||
-rw-r--r-- | media-sound/timidity-eawpatches/timidity-eawpatches-12-r5.ebuild | 52 |
3 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/timidity-eawpatches/Manifest b/media-sound/timidity-eawpatches/Manifest new file mode 100644 index 000000000000..e538711c9339 --- /dev/null +++ b/media-sound/timidity-eawpatches/Manifest @@ -0,0 +1,5 @@ +DIST eawpats12_full.tar.gz 32047230 SHA256 0a1b7368e6e525d62900b34bd061ccc830e6fe1747601ede703e3eb0d1d968b6 SHA512 fb5532c85653e624ed310cd5607d1e24231bcaa9bf966548e9383daf463b9221b21945d2786db0bc44dbabc5342b224a4cbb6c9329f1eee1ee8137d56b3cf71a WHIRLPOOL 0ec4d5df7d7b35bf3a66a208f6cf7e35ff76f1fd5adee7665a9bdbeb647f42421b28b23b8f999349cbf12794ca92a1e0e63d2695321b9bfa224cb514c5e9dc45 +EBUILD timidity-eawpatches-12-r5.ebuild 1329 SHA256 749666219bc8269a3861ffa597cde59a878d857839341eb826eb2a7ee63557f6 SHA512 2cb597a10b79a742c20db2a835f70f54d682599ce0e8cedaf576a97a3a87c4eb133c8bcf39715360aa81b408d2b49514c926d905cb79ba571c8858ddc918da22 WHIRLPOOL c3ca50f1ac66d29b992052b07a6e70afbedf76056f947dc317c037ede840c2ba4142d26b52959de2ff6d9a1dec85dc4a96de0abd8ef8ad9bdd0d2d554bc0be4d +MISC ChangeLog 2466 SHA256 a312daf25cc70c22777db2ebd95e8de75cfd61b5263368c0f34f6c1566521442 SHA512 a802178d21ef26217825e6bdbc6d4a2ead9723b22a5b94c186cb397aa997686d8eda66686d70913dc8ece3e82e8c0d1502b6a26ed9bec6d7d0ba44f3597334e6 WHIRLPOOL 1134b3c1ab18d0493fca4fdd721af243de36493f810688a0d0b836aef36ef0b2e2352e300fe6aa0977e1730f09ab29a8b17d8add97265443002de2edc10d7220 +MISC ChangeLog-2015 6009 SHA256 ba7dbcb7d9c9ed20096ccdbe77c0f42c36569dff8931c5389385bf4ef2c809df SHA512 635482d172c265b6ace9ce55d3a6d1a8f1e3e4c94bd10561a4b6a4b33d9e0be6129829f73f125b4eaf4ff34f97d387c29867cb2fed0f7937b890bc7cdc20cc03 WHIRLPOOL 6437c4a54c62552c777a9550c74b248385e47ec9c0af00ccebef84e5b07f7c4057a8730fdfdc80167b7245c81525925e601aa0bc444a6bb3789bc40851b14392 +MISC metadata.xml 249 SHA256 a591aa91a9c413e7f7e24fd25b924ce2dfef686da8b4ce38bebb088ebfdba9db SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 WHIRLPOOL ae5b0c583f3a07ed1ccf651b5b9c8d6c8c637fba2d505fc4b028ea60239fc0a84e37a169b5114f879712ae74f7f41960a2cc6b59e67cacc7f964b105b5fb8723 diff --git a/media-sound/timidity-eawpatches/metadata.xml b/media-sound/timidity-eawpatches/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/media-sound/timidity-eawpatches/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> diff --git a/media-sound/timidity-eawpatches/timidity-eawpatches-12-r5.ebuild b/media-sound/timidity-eawpatches/timidity-eawpatches-12-r5.ebuild new file mode 100644 index 000000000000..eae7931c2d65 --- /dev/null +++ b/media-sound/timidity-eawpatches/timidity-eawpatches-12-r5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +S=${WORKDIR}/eawpats + +DESCRIPTION="Eric Welsh's GUS patches for TiMidity" +HOMEPAGE="http://www.stardate.bc.ca/eawpatches/html/default.htm" +SRC_URI="http://5hdumat.samizdat.net/music/eawpats${PV}_full.tar.gz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +# These can be used for libmodplug too, so don't depend on timidity++ +DEPEND="app-eselect/eselect-timidity" +RDEPEND="" + +RESTRICT="binchecks strip" + +src_unpack() { + unpack ${A} + sed -i -e "s:dir /home/user/eawpats/:dir /usr/share/timidity/eawpatches:" "${S}/linuxconfig/timidity.cfg" +} + +src_install() { + local instdir=/usr/share/timidity + + # Set our installation directory + insinto ${instdir}/eawpatches + + # Install base timidity configuration for timidity-update + doins linuxconfig/timidity.cfg + rm -rf linuxconfig/ winconfig/ + + # Install base eawpatches + doins *.cfg *.pat + rm *.cfg *.pat + + # Install patches from subdirectories + for d in `find . -type f -name \*.pat | sed 's,/[^/]*$,,' | sort -u`; do + insinto ${instdir}/eawpatches/${d} + doins ${d}/*.pat + done + + # Install documentation, including subdirs + dodoc $(find . -name \*.txt) +} + +pkg_postinst() { + eselect timidity update --global --if-unset +} |