Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
liteide qt5 ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Tue Jun 12, 2018 10:41 pm    Post subject: liteide qt5 ebuild Reply with quote

Does someone have access to a qt5 ebuild of the liteide?

It looks like the porting to qt5 has already happened with the 33.3 release (binaries are on the sourceforge page) but the ebuild in overay go-overlay is still qt4. just wondering if someone was nice enough to port the ebuild to qt5.

-devsk
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Wed Jun 13, 2018 8:42 am    Post subject: Reply with quote

Compile, install and run fine, but I haven't tested if it really works (based on existing ebuild)
liteide-33.3.ebuild:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit desktop qmake-utils

DESCRIPTION="LiteIDE is a simple, open source, cross-platform Go IDE."
HOMEPAGE="http://code.google.com/p/liteide"
SRC_URI="https://github.com/visualfc/${PN}/archive/x${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="LGPL-2.1"
KEYWORDS="-* ~amd64"
SLOT="0"
IUSE="debug gdb kernel_linux kernel_FreeBSD test +tools"

DEPEND="dev-qt/qtgui:5
    dev-qt/qtwebkit:5"
RDEPEND="${DEPEND}
    dev-go/liteide-tools
    tools? (
        dev-go/gocode
    )
    gdb? ( sys-devel/gdb )"

S="${WORKDIR}/${PN}-x${PV}/${PN}x"

RESTRICT+=" mirror"

DOCS=(
    "${S}"/liteidex/LICENSE.LGPL
    "${S}"/liteidex/LGPL_EXCEPTION.TXT
    "${S}"/README.md
    "${S}"/CONTRIBUTORS
)

#S="${S}/${PN}x"

src_configure() {
    eqmake5 PREFIX="${D}"/usr
}

src_compile() {
    default
}

src_install() {
    # install liteide
    emake DESTDIR="${D}" install

    # install documentation
    local OSTARGET
    insinto /usr/share/"${PN}"/
    doins -r "${S}"/deploy/*
    use kernel_linux && OSTARGET=linux
    use kernel_FreeBSD && OSTARGET=freebsd
    [[ -n ${OSTARGET} ]] && doins -r "${S}"/os_deploy/${OSTARGET}/*

    # remove .la/.a files
    rm "${ED}"/usr/lib/"${PN}"/*.a || die

    make_desktop_entry "/usr/bin/${PN}" "LiteIDE" "/usr/share/liteide/welcome/images/liteide128.xpm" "Application;"
    mv "${ED%/}"/usr/share/applications/*.desktop "${ED%/}"/usr/share/applications/"${PN}".desktop || die "mv failed"
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Jun 13, 2018 2:34 pm    Post subject: Reply with quote

Thanks, I will give it a try. Do you know who maintains the go-overlay? Is it possible for you to submit this to him/her?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Wed Jun 13, 2018 3:25 pm    Post subject: Reply with quote

devsk wrote:
Thanks, I will give it a try. Do you know who maintains the go-overlay? Is it possible for you to submit this to him/her?

No simply because I don't know if ebuild work or not. It's not a program that I use.
But if you test this ebuild you can submit it with opening new issue in github repository
_________________
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 Portage & Programming 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