Gentoo ebuild templates for stable and unstable packages.
--HG-- branch : develop
This commit is contained in:
parent
701fd529dd
commit
4c40305675
48
dist/ebuild/valentina-0.0.0(template_stable).ebuild
vendored
Normal file
48
dist/ebuild/valentina-0.0.0(template_stable).ebuild
vendored
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit qmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Cloth patternmaking software"
|
||||||
|
HOMEPAGE="http://www.valentina-project.org/"
|
||||||
|
SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.0.0.zip -> ${P}.zip"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="1"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
LANGS="ru_RU uk_UA de_DE cs_CZ he_IL fr_FR it_IT nl_NL id_ID es_ES fi_FI en_US en_CA en_IN ro_RO"
|
||||||
|
for X in ${LANGS} ; do
|
||||||
|
if [[ ${X} != "en" ]]; then
|
||||||
|
IUSE="${IUSE} linguas_${X}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
dev-qt/qtxml:5
|
||||||
|
dev-qt/qtsvg:5
|
||||||
|
dev-qt/linguist:5
|
||||||
|
dev-qt/qtxmlpatterns:5
|
||||||
|
dev-qt/qtprintsupport:5
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
app-text/popple"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
app-arch/unzip"
|
||||||
|
|
||||||
|
S=${WORKDIR}/dismine-${PN}-44d43351cb59
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake5 CONFIG+=no_ccache CONFIG+=noDebugSymbols Valentina.pro -r
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake install INSTALL_ROOT="${D}"
|
||||||
|
# dodoc Changelog.txt README.txt
|
||||||
|
}
|
48
dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild
vendored
Normal file
48
dist/ebuild/valentina-0.0.0_alpha(template_unstable).ebuild
vendored
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit mercurial qmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Cloth patternmaking software"
|
||||||
|
HOMEPAGE="http://www.valentina-project.org/"
|
||||||
|
SRC_URI=""
|
||||||
|
EHG_REPO_URI="https://bitbucket.org/dismine/valentina"
|
||||||
|
EHG_REVISION="develop"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="1"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
LANGS="ru_RU uk_UA de_DE cs_CZ he_IL fr_FR it_IT nl_NL id_ID es_ES fi_FI en_US en_CA en_IN ro_RO zh_CN"
|
||||||
|
for X in ${LANGS} ; do
|
||||||
|
if [[ ${X} != "en" ]]; then
|
||||||
|
IUSE="${IUSE} linguas_${X}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
dev-qt/qtxml:5
|
||||||
|
dev-qt/qtsvg:5
|
||||||
|
dev-qt/linguist:5
|
||||||
|
dev-qt/qtxmlpatterns:5
|
||||||
|
dev-qt/qtprintsupport:5
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
app-text/popple"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
dev-util/ccache"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake5 Valentina.pro -r
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake install INSTALL_ROOT="${D}"
|
||||||
|
# dodoc Changelog.txt README.txt
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user