summaryrefslogtreecommitdiff
path: root/app-editors/liteide
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-11 00:33:31 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-11 00:33:31 +0100
commitff5dd7b3704b9e8f9f606d4929f95694ec84ddf3 (patch)
tree393b3bd8a65eb3ec464babab42da8d9ec88851c3 /app-editors/liteide
parent4c05e04608db666140daaa94499f5f90521a2cc4 (diff)
cleanup
Diffstat (limited to 'app-editors/liteide')
-rw-r--r--app-editors/liteide/liteide-9999.ebuild99
1 files changed, 0 insertions, 99 deletions
diff --git a/app-editors/liteide/liteide-9999.ebuild b/app-editors/liteide/liteide-9999.ebuild
deleted file mode 100644
index b32c5e5a..00000000
--- a/app-editors/liteide/liteide-9999.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-inherit qt4-r2 git-2
-
-DESCRIPTION="LiteIDE is a simple, open source, cross-platform Go IDE."
-HOMEPAGE="http://code.google.com/p/liteide"
-EGIT_REPO_URI="https://github.com/visualfc/liteide.git"
-
-LICENSE="LGPL-2.1"
-KEYWORDS=""
-SLOT="0"
-IUSE="ordered release static shared"
-
-DEPEND="dev-lang/go"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"/"${PN}"-"${PV}"/
-
-src_prepare() {
- qt4-r2_src_prepare
-}
-
-src_configure() {
- local conf_release
- local conf_ordered
-
- if use ordered; then
- conf_ordered="CONFIG+=ordered"
- conf_release=""
- else
- conf_release="CONFIG+=release"
- conf_ordered=""
- fi
-
- cd "${S}"/liteidex/ || die
- eqmake4 "${S}"/liteidex/liteidex.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=/usr/$(get_libdir)" ${conf_release} ${conf_ordered}
-}
-
-src_install() {
- cd "${S}"/liteidex/ || die
- qt4-r2_src_install DESTDIR="${D}"opt/${PN}/ INSTALL_ROOT="${D}"opt/${PN}/ || die
-
- export GOPATH=$(pwd)
-
- # Go Tools
- go install -ldflags "-s" -v tools/goastview
- go install -ldflags "-s" -v tools/godocview
- go install -ldflags "-s" -v tools/goexec
- go install -ldflags "-s" -v tools/goapi
-
- # Licence & Readme
- dodoc LICENSE.LGPL LGPL_EXCEPTION.TXT ../README.md
-
- # Binaries
- insinto /opt/${PN}/bin
- doins "${S}"/liteidex/${PN}/bin/*
- doins "${S}"/liteidex/bin/*
-
- # Plugins
- insinto /opt/${PN}/lib/${PN}/plugins/
- doins "${S}"/liteidex/${PN}/lib/${PN}/plugins/*.so
-
- # Documentation
- insinto /opt/${PN}/share/${PN}/
- doins -r "${S}"/liteidex/deploy/*
- doins -r "${S}"/liteidex/os_deploy/*
-
- if use shared ; then
- DEPEND="${DEPEND}
- dev-qt/qtgui:4
- dev-qt/qtdbus:4
- dev-qt/qtwebkit:4"
-
- #dosyms on all QT libs
- fi
-
- # QT Libraries
- if use static ; then
- addread /usr/$(get_libdir)/qt4/
- insinto /opt/${PN}/lib/${PN}
- doins /usr/$(get_libdir)/qt4/libQtCore.so*
- doins /usr/$(get_libdir)/qt4/libQtXml.so*
- doins /usr/$(get_libdir)/qt4/libQtNetwork.so*
- doins /usr/$(get_libdir)/qt4/libQtGui.so*
- doins /usr/$(get_libdir)/qt4/libQtDBus.so*
- doins /usr/$(get_libdir)/qt4/libQtWebKit.so*
- fi
-
- fperms +x /opt/${PN}/bin/${PN}
- fperms u+x /opt/${PN}/bin/goapi
- fperms u+x /opt/${PN}/bin/godocview
- fperms u+x /opt/${PN}/bin/goexec
-
- dodir /usr/bin
- dosym /opt/${PN}/bin/${PN} /usr/bin/${PN}
-}