mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
Upstream fixed .qmake.conf: fix libpath and INSTALL_ROOT kactus2/kactus2dev#37 So removed this patch in ebuild, and parallel compilation problem fixed. Package-Manager: Portage-2.3.90, Repoman-2.3.20 Signed-off-by: Huang Rui <vowstar@gmail.com>
56 lines
1.0 KiB
Bash
56 lines
1.0 KiB
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit xdg-utils
|
|
|
|
DESCRIPTION="A open source IP-XACT-based tool"
|
|
HOMEPAGE="
|
|
http://funbase.cs.tut.fi
|
|
https://github.com/kactus2/kactus2dev
|
|
"
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/${PN}/${PN}dev.git"
|
|
else
|
|
SRC_URI="https://github.com/${PN}/${PN}dev/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
|
S="${WORKDIR}/${PN}dev-${PV}"
|
|
fi
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
|
|
DEPEND="
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtgui:5
|
|
dev-qt/qthelp:5
|
|
dev-qt/qtprintsupport:5
|
|
dev-qt/qtsvg:5
|
|
dev-qt/qtwidgets:5
|
|
dev-qt/qtxml:5
|
|
"
|
|
|
|
RDEPEND="
|
|
${DEPEND}
|
|
"
|
|
|
|
src_install() {
|
|
# Can't use default, set INSTALL_ROOT
|
|
emake INSTALL_ROOT="${D}" install
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_desktop_database_update
|
|
xdg_icon_cache_update
|
|
xdg_mimeinfo_database_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
xdg_icon_cache_update
|
|
xdg_mimeinfo_database_update
|
|
}
|