Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Looking for an ebuild for midieditor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
jcr83
n00b
n00b


Joined: 24 Jan 2019
Posts: 3

PostPosted: Thu Jan 24, 2019 10:37 am    Post subject: Looking for an ebuild for midieditor Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22196
Location: here

PostPosted: Thu Jan 24, 2019 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
jcr83
n00b
n00b


Joined: 24 Jan 2019
Posts: 3

PostPosted: Thu Jan 24, 2019 1:33 pm    Post subject: Reply with quote

Hi fedeliallalinea,

I didn't expect such a quick answer! :D
Thanks a lot for the ebuild, I am going to test it and I'll post my comments here, if any.
Back to top
View user's profile Send private message
jcr83
n00b
n00b


Joined: 24 Jan 2019
Posts: 3

PostPosted: Mon Jan 28, 2019 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22196
Location: here

PostPosted: Mon Jan 28, 2019 6:55 pm    Post subject: Reply with quote

jcr83 you right is a mistake.
I fixed in -r1 version https://github.com/fedeliallalinea/gallifrey/tree/master/media-sound/midieditor
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum