View previous topic :: View next topic |
Author |
Message |
jcr83 n00b
Joined: 24 Jan 2019 Posts: 14
|
Posted: Thu Jan 24, 2019 10:37 am Post subject: Looking for an ebuild for midieditor |
|
|
Hi,
I am looking for an ebuild to install midieditor (https://midieditor.org/) on Gentoo. I have found an old ebuild on zugaina (http://gpo.zugaina.org/media-sound/midieditor) but it is obsolete.
Does anybody have a working ebuild for the latest version of midieditor (3.1.1)? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
Posted: Thu Jan 24, 2019 12:17 pm Post subject: |
|
|
jcr83 welcome to gentoo forum!
I created an ebuild from version 3.1.1
media-sound/midieditor-3.1.1.ebuild: | # Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop qmake-utils
DESCRIPTION="MidiEditor is a free software to edit, record, and play Midi data."
HOMEPAGE="https://midieditor.org"
SRC_URI="https://github.com/markusschwenk/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-qt/qtcore:5
dev-qt/qtmultimedia:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtxml:5
media-libs/alsa-lib"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
eqmake5
}
src_install() {
dobin MidiEditor
insinto /usr/share/${PN}
doins packaging/windows/windows-installer/midieditor.png
make_desktop_entry "/opt/bin/MidiEditor" "MidiEditor" "/usr/share/${PN}/${PN}.png" "AudioVideo;Audio;"
} |
You can also find it in my overlay https://github.com/fedeliallalinea/gallifrey/tree/master/media-sound/midieditor _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jcr83 n00b
Joined: 24 Jan 2019 Posts: 14
|
Posted: Thu Jan 24, 2019 1:33 pm Post subject: |
|
|
Hi fedeliallalinea,
I didn't expect such a quick answer!
Thanks a lot for the ebuild, I am going to test it and I'll post my comments here, if any. |
|
Back to top |
|
|
jcr83 n00b
Joined: 24 Jan 2019 Posts: 14
|
Posted: Mon Jan 28, 2019 4:46 pm Post subject: |
|
|
I think there is a mistake in the last line:
Code: | make_desktop_entry "/opt/bin/MidiEditor" "MidiEditor" "/usr/share/${PN}/${PN}.png" "AudioVideo;Audio;" |
It should be
Code: | make_desktop_entry "/usr/bin/MidiEditor" "MidiEditor" "/usr/share/${PN}/${PN}.png" "AudioVideo;Audio;" |
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30888 Location: here
|
|
Back to top |
|
|
|