diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-10-29 23:16:19 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-10-31 17:58:44 +0200 |
commit | 8bfe6eeb3e79cf2d8b72c39fe91d8e75f040740f (patch) | |
tree | 6dce548500b3e7b9618f3d516e01796e8c162402 /media-sound | |
parent | sys-fs/compsize: drop old (diff) | |
download | gentoo-8bfe6eeb3e79cf2d8b72c39fe91d8e75f040740f.tar.gz gentoo-8bfe6eeb3e79cf2d8b72c39fe91d8e75f040740f.tar.bz2 gentoo-8bfe6eeb3e79cf2d8b72c39fe91d8e75f040740f.zip |
media-sound/wildmidi: update 0.4.3
Migrated to EAPI 7, fixed timidity-freepats location in config, removed
unused files.
Closes: https://bugs.gentoo.org/656814
Closes: https://bugs.gentoo.org/749759
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18069
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/wildmidi/Manifest | 1 | ||||
-rw-r--r-- | media-sound/wildmidi/files/wildmidi.cfg | 138 | ||||
-rw-r--r-- | media-sound/wildmidi/metadata.xml | 9 | ||||
-rw-r--r-- | media-sound/wildmidi/wildmidi-0.4.3.ebuild | 59 |
4 files changed, 68 insertions, 139 deletions
diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest index 97a6718b2400..9e30ac003bb5 100644 --- a/media-sound/wildmidi/Manifest +++ b/media-sound/wildmidi/Manifest @@ -1 +1,2 @@ DIST wildmidi-0.3.13.tar.gz 132407 BLAKE2B 5f603adb7583d47ca0595a48a385412d09ca8b19e99c93ba474d91076fa17a54e12e08bb39ea73d16c07addeab86e6c9d8b778d19045ef6b7d551d041bbc58fa SHA512 e9ede8a98c97e57a7bd34e63fc725a1b47bbff6b41f5dca101249917f0e7756ce4d93a84b8d5b6f592687fd3deed369c22c727873c9bdd1bea6e8c31fdbb4fdb +DIST wildmidi-0.4.3.tar.gz 196750 BLAKE2B 580903dd1e7dc61193b593f3706d5070ae5cf26394919f8d632098aa0dda14d8d65631c902a6a01d02d046e639df4d66727849954b5d6f76dba8d12235e20b8d SHA512 7e86e998ee97cdf57328e4cf5ef52a64926fd01999879c0eae5b6c823be4e6d116f7026230bd15d209e6616fbc7ba1c29ebd1f3be04735e341ce5c83298f956f diff --git a/media-sound/wildmidi/files/wildmidi.cfg b/media-sound/wildmidi/files/wildmidi.cfg deleted file mode 100644 index 3cdfbd3c1445..000000000000 --- a/media-sound/wildmidi/files/wildmidi.cfg +++ /dev/null @@ -1,138 +0,0 @@ -# Automatically generated on Πεμ 26 Αύγ 2010 09:01:08 μμ EEST -# by http://freepats.opensrc.org/mkcfg.sh.txt - -dir /usr/share/timidity/freepats -drumset 0 - - 25 Drum_000/025_Snare_Roll.pat - 26 Drum_000/026_Snap.pat - 27 Drum_000/027_High_Q.pat - 31 Drum_000/031_Sticks.pat - 32 Drum_000/032_Square_Click.pat - 33 Drum_000/033_Metronome_Click.pat - 34 Drum_000/034_Metronome_Bell.pat - 35 Drum_000/035_Kick_1.pat amp=100 - 36 Drum_000/036_Kick_2.pat amp=100 - 37 Drum_000/037_Stick_Rim.pat - 38 Drum_000/038_Snare_1.pat - 39 Drum_000/039_Clap_Hand.pat amp=100 - 40 Drum_000/040_Snare_2.pat - 41 Drum_000/041_Tom_Low_2.pat amp=100 - 42 Drum_000/042_Hi-Hat_Closed.pat - 43 Drum_000/043_Tom_Low_1.pat amp=100 - 44 Drum_000/044_Hi-Hat_Pedal.pat - 45 Drum_000/045_Tom_Mid_2.pat amp=100 - 46 Drum_000/046_Hi-Hat_Open.pat - 47 Drum_000/047_Tom_Mid_1.pat amp=100 - 48 Drum_000/048_Tom_High_2.pat amp=100 - 49 Drum_000/049_Cymbal_Crash_1.pat - 50 Drum_000/050_Tom_High_1.pat amp=100 - 51 Drum_000/051_Cymbal_Ride_1.pat - 52 Drum_000/052_Cymbal_Chinese.pat - 53 Drum_000/053_Cymbal_Ride_Bell.pat amp=100 - 54 Drum_000/054_Tombourine.pat - 55 Drum_000/055_Cymbal_Splash.pat - 56 Drum_000/056_Cow_Bell.pat - 57 Drum_000/057_Cymbal_Crash_2.pat - 58 Drum_000/058_Vibra-Slap.pat - 59 Drum_000/059_Cymbal_Ride_2.pat - 60 Drum_000/060_Bongo_High.pat - 61 Drum_000/061_Bongo_Low.pat - 62 Drum_000/062_Conga_High_1_Mute.pat - 63 Drum_000/063_Conga_High_2_Open.pat - 64 Drum_000/064_Conga_Low.pat - 65 Drum_000/065_Timbale_High.pat - 66 Drum_000/066_Timbale_Low.pat - 67 Drum_000/067_Agogo_High.pat - 68 Drum_000/068_Agogo_Low.pat - 69 Drum_000/069_Cabasa.pat amp=100 - 70 Drum_000/070_Maracas.pat - 71 Drum_000/071_Whistle_1_High_Short.pat - 72 Drum_000/072_Whistle_2_Low_Long.pat - 73 Drum_000/073_Guiro_1_Short.pat - 74 Drum_000/074_Guiro_2_Long.pat - 75 Drum_000/075_Claves.pat amp=100 - 76 Drum_000/076_Wood_Block_1_High.pat - 77 Drum_000/077_Wood_Block_2_Low.pat - 78 Drum_000/078_Cuica_1_Mute.pat amp=100 - 79 Drum_000/079_Cuica_2_Open.pat amp=100 - 80 Drum_000/080_Triangle_1_Mute.pat - 81 Drum_000/081_Triangle_2_Open.pat - 82 Drum_000/082_Shaker.pat - 84 Drum_000/084_Belltree.pat - -bank 0 - - 0 Tone_000/000_Acoustic_Grand_Piano.pat amp=120 pan=center - 1 Tone_000/001_Acoustic_Brite_Piano.pat - 2 Tone_000/002_Electric_Grand_Piano.pat - 4 Tone_000/004_Electric_Piano_1_Rhodes.pat - 5 Tone_000/005_Electric_Piano_2_Chorused_Yamaha_DX.pat - 6 Tone_000/006_Harpsichord.pat - 7 Tone_000/007_Clavinet.pat - 8 Tone_000/008_Celesta.pat - 9 Tone_000/009_Glockenspiel.pat - 13 Tone_000/013_Xylophone.pat - 14 Tone_000/014_Tubular_Bells.pat - 15 Tone_000/015_Dulcimer.pat - 16 Tone_000/016_Hammond_Organ.pat - 19 Tone_000/019_Church_Organ.pat - 21 Tone_000/021_Accordion.pat - 23 Tone_000/023_Tango_Accordion.pat - 24 Tone_000/024_Nylon_Guitar.pat - 25 Tone_000/025_Steel_Guitar.pat - 26 Tone_000/026_Jazz_Guitar.pat - 27 Tone_000/027_Clean_Electric_Guitar.pat - 28 Tone_000/028_Muted_Electric_Guitar.pat - 29 Tone_000/029_Overdriven_Guitar.pat - 30 Tone_000/030_Distortion_Guitar.pat - 32 Tone_000/032_Acoustic_Bass.pat - 33 Tone_000/033_Finger_Bass.pat - 34 Tone_000/034_Pick_Bass.pat - 35 Tone_000/035_Fretless_Bass.pat - 36 Tone_000/036_Slap_Bass_1.pat - 37 Tone_000/037_Slap_Bass_2.pat - 38 Tone_000/038_Synth_Bass_1.pat - 40 Tone_000/040_Violin.pat - 42 Tone_000/042_Cello.pat - 44 Tone_000/044_Tremolo_Strings.pat - 45 Tone_000/045_Pizzicato_Strings.pat - 46 Tone_000/046_Harp.pat - 47 Tone_000/047_Timpani.pat - 48 Tone_000/048_String_Ensemble_1_Marcato.pat - 53 Tone_000/053_Voice_Oohs.pat - 56 Tone_000/056_Trumpet.pat - 57 Tone_000/057_Trombone.pat - 58 Tone_000/058_Tuba.pat - 59 Tone_000/059_Muted_Trumpet.pat - 60 Tone_000/060_French_Horn.pat - 61 Tone_000/061_Brass_Section.pat - 64 Tone_000/064_Soprano_Sax.pat - 65 Tone_000/065_Alto_Sax.pat - 66 Tone_000/066_Tenor_Sax.pat - 67 Tone_000/067_Baritone_Sax.pat - 68 Tone_000/068_Oboe.pat - 69 Tone_000/069_English_Horn.pat - 70 Tone_000/070_Bassoon.pat - 71 Tone_000/071_Clarinet.pat - 72 Tone_000/072_Piccolo.pat - 73 Tone_000/073_Flute.pat - 74 Tone_000/074_Recorder.pat - 75 Tone_000/075_Pan_Flute.pat - 76 Tone_000/076_Bottle_Blow.pat - 79 Tone_000/079_Ocarina.pat - 80 Tone_000/080_Square_Wave.pat - 84 Tone_000/084_Charang.pat - 88 Tone_000/088_New_Age.pat - 94 Tone_000/094_Halo_Pad.pat - 95 Tone_000/095_Sweep_Pad.pat - 98 Tone_000/098_Crystal.pat - 101 Tone_000/101_Goblins--Unicorn.pat - 102 Tone_000/102_Echo_Voice.pat - 104 Tone_000/104_Sitar.pat - 114 Tone_000/114_Steel_Drums.pat - 115 Tone_000/115_Wood_Block.pat - 120 Tone_000/120_Guitar_Fret_Noise.pat - 122 Tone_000/122_Seashore.pat - 125 Tone_000/125_Helicopter.pat - diff --git a/media-sound/wildmidi/metadata.xml b/media-sound/wildmidi/metadata.xml index 1943a163e7bd..17ff7e7576a6 100644 --- a/media-sound/wildmidi/metadata.xml +++ b/media-sound/wildmidi/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="player">Install the wildmidi player</flag> </use> diff --git a/media-sound/wildmidi/wildmidi-0.4.3.ebuild b/media-sound/wildmidi/wildmidi-0.4.3.ebuild new file mode 100644 index 000000000000..feabe2bbee67 --- /dev/null +++ b/media-sound/wildmidi/wildmidi-0.4.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake readme.gentoo-r1 + +DESCRIPTION="MIDI processing library and player using the GUS patch set" +HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/" +SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86" +IUSE="+alsa openal oss +player" + +DEPEND=" + player? ( + alsa? ( media-libs/alsa-lib ) + openal? ( media-libs/openal ) + ) +" +RDEPEND="${DEPEND} + media-sound/timidity-freepats +" + +REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )" + +DOC_CONTENTS="${PN} is using timidity-freepats for midi playback. + A default configuration file was placed on /etc/${PN}/${PN}.cfg. + For more information please read the ${PN}.cfg manpage." + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + cmake_src_prepare + # Fix location of media-sound/timidity-freepats + # See #749759 + sed -i -e "s:midi/freepats:timidity/freepats:" cfg/wildmidi.cfg || die +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_OPENAL=$(usex openal) + -DWANT_OSS=$(usex oss) + -DWANT_PLAYER=$(usex player) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /etc/${PN}/ + doins cfg/wildmidi.cfg + + readme.gentoo_create_doc +} |