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/a2jmidid |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/a2jmidid')
-rw-r--r-- | media-sound/a2jmidid/Manifest | 6 | ||||
-rw-r--r-- | media-sound/a2jmidid/a2jmidid-8-r2.ebuild | 46 | ||||
-rw-r--r-- | media-sound/a2jmidid/files/a2jmidid-link.patch | 33 | ||||
-rw-r--r-- | media-sound/a2jmidid/metadata.xml | 20 |
4 files changed, 105 insertions, 0 deletions
diff --git a/media-sound/a2jmidid/Manifest b/media-sound/a2jmidid/Manifest new file mode 100644 index 000000000000..cb2f72e55ed5 --- /dev/null +++ b/media-sound/a2jmidid/Manifest @@ -0,0 +1,6 @@ +AUX a2jmidid-link.patch 981 SHA256 75116fa26ecb62d63bc06dff2919a17041463484a3011819a2f3845b4174bdf2 SHA512 63e9d127ce6aab4e075cdfdf33835dfd3d96fead9c0383231ffa0aa731d339e487857e6fd8e085c2a4e520de6a739adae42be930d062b8b05a6e739ad5625175 WHIRLPOOL c6ba28a927378f0679203552a3ceae8ee42511643fb1b95f15e337456ce26a574ecf5d09303699f4eafe187b14bcd2b15842ee3fb97447deeb8d4c1ae4e1fc5c +DIST a2jmidid-8.tar.bz2 162764 SHA256 2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f SHA512 6182a295462ae587461ca395d85c956523bfecd113d031d0ae8a9f304fc3d41f6a5097b3a1a9fc06bd0eef7fe08a4b3c116a3361ff9e63468c3e40b736215592 WHIRLPOOL 04408b6eb3460a522da6009e142fa113fd95c20efbce6c1fcca30a2966478950fc3d5c061694bb533fd5f3261f2d26f22b507bff5fb73050f2fb57a23c6c8936 +EBUILD a2jmidid-8-r2.ebuild 957 SHA256 7d0da805022ee327a135d255a14250d5fe3811c30e6f10a428e83f7c843f2e0b SHA512 5646ec4ca9e03531fc76b0335184e6e1880cb9c3838d85d5765c3534cd788dfaa567c09df764a03c9e4917979d32da4e940c5cc47186663d9b04b0c6a61ea51d WHIRLPOOL 238ba6a1283e46123f8ef898ce08386fd4192263f52c5bd4e71ab56e55eea228ab0f73e4a91bda96911848864b06e62676401e00154f7be99d8737d36bfce621 +MISC ChangeLog 2898 SHA256 76fe913356c0c85f91fc5e3872d8777d1aec97bc69c95dfeff229c4a25d8fa61 SHA512 4cf2f679dc0cb95158c931cde7ae3c6c85016a352dc5678b1209f0d73fff09e85b6f363ed923618551f692ac6285c6ff8a4301ffd28e42e06b63369441b4bf3b WHIRLPOOL df24763b8163d27b9fbe715a000ba17e23c5e61e5737b3c318f0f60eee6e8bd8f644361c293e9deff9c73852f744c46cd04dd2e8e0c8035e3f2a153cb3b3813e +MISC ChangeLog-2015 2250 SHA256 69370ef578d860fa75b5492fd0698a5e3bfe57a5d0df9a2df05a93caeb56101a SHA512 b6e43d87b80f13ed16c1ed6d2a4605af325dd86ae812e3477b008ca8eb317c4f100660b1a80c19db6b379fa68b87a3e44c79ed9180431e696699299db49511bf WHIRLPOOL 06d9a539f8e82b3608c2697a4564e2ccebc7c5e3adb7505e6715503a1185af319110d1ff179634352ba948bd3183400a3e99707ab3339350d0f1a10aa17437fa +MISC metadata.xml 589 SHA256 41566430d21d02d50a84ff7b537f65b1b78d150a6862696defa64e6971180cd4 SHA512 9894400859372b7131b0f50b3e02fdd2210eaeb7be4dc5d95f13244456ce42f1c0e55a6c3b099cceff7905c50668c23a8df5aafbb7f9cf37a8975db2ff5a8050 WHIRLPOOL 128e076b3719c63dc1d9e3e94a0d86e7a1eb2fc965f61e5796d2349d4dd423a970dd38d94868891cc257c3254f58665e0ca6a66ddbf262d9f13be5394164d13c diff --git a/media-sound/a2jmidid/a2jmidid-8-r2.ebuild b/media-sound/a2jmidid/a2jmidid-8-r2.ebuild new file mode 100644 index 000000000000..2175fa4b6917 --- /dev/null +++ b/media-sound/a2jmidid/a2jmidid-8-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE='threads(+)' +NO_WAF_LIBDIR=1 + +inherit python-single-r1 toolchain-funcs waf-utils eutils + +DESCRIPTION="Daemon for exposing legacy ALSA sequencer applications in JACK MIDI system" +HOMEPAGE="http://home.gna.org/a2jmidid/" +SRC_URI="http://download.gna.org/a2jmidid/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="dbus" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="media-libs/alsa-lib + virtual/jack + dbus? ( sys-apps/dbus ) + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=(AUTHORS README NEWS internals.txt) + +src_prepare() { + # Bug 518382 + epatch "${FILESDIR}"/${PN}-link.patch +} + +src_configure() { + if use dbus ; then + waf-utils_src_configure + else + waf-utils_src_configure --disable-dbus + fi +} + +src_install() { + waf-utils_src_install + python_fix_shebang "${ED}" +} diff --git a/media-sound/a2jmidid/files/a2jmidid-link.patch b/media-sound/a2jmidid/files/a2jmidid-link.patch new file mode 100644 index 000000000000..8b41f6ec1a41 --- /dev/null +++ b/media-sound/a2jmidid/files/a2jmidid-link.patch @@ -0,0 +1,33 @@ +From 7f82da7eb2f540a94db23331be98d42a58ddc269 Mon Sep 17 00:00:00 2001 +From: Nedko Arnaudov <nedko@arnaudov.name> +Date: Tue, 10 Jul 2012 07:25:12 +0300 +Subject: [PATCH] properly fix pthread linking. Patch by Orcan. sr#2934 + +--- + wscript | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/wscript b/wscript +index 36710e2..66a532a 100644 +--- a/wscript ++++ b/wscript +@@ -66,7 +66,8 @@ def configure(conf): + else: + conf.env['DBUS_ENABLED'] = False + + conf.env['LIB_DL'] = ['dl'] ++ conf.env['LIB_PTHREAD'] = ['pthread'] + + #conf.check_header('expat.h', mandatory=True) + #conf.env['LIB_EXPAT'] = ['expat'] +@@ -152,7 +153,7 @@ def build(bld): + + prog.includes = '.' # make waf dependency tracking work + prog.target = 'a2jmidid' +- prog.uselib = 'ALSA JACK DL' ++ prog.uselib = 'ALSA JACK DL PTHREAD' + if bld.env()['DBUS_ENABLED']: + prog.uselib += " DBUS-1" + prog = bld.create_obj('cc', 'program') +-- +2.3.3.GIT diff --git a/media-sound/a2jmidid/metadata.xml b/media-sound/a2jmidid/metadata.xml new file mode 100644 index 000000000000..66863dd5fc81 --- /dev/null +++ b/media-sound/a2jmidid/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> + </maintainer> + <maintainer type="person"> + <email>l33tmmx@gmail.com</email> + <name>Jouni Rinne</name> + </maintainer> +<maintainer type="project"> + <email>proaudio@gentoo.org</email> + <name>Gentoo ProAudio Project</name> + </maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> |