diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-09 00:11:37 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-08-09 10:31:49 +0200 |
commit | ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf (patch) | |
tree | 37cc111eb4780c418585dae442e0e947a4effa1b /sci-electronics/qelectrotech | |
parent | sci-electronics/qelectrotech: Add new dependencies (diff) | |
download | gentoo-ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.tar.gz gentoo-ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.tar.bz2 gentoo-ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.zip |
sci-electronics/qelectrotech: Add live/release ebuild switch
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r-- | sci-electronics/qelectrotech/qelectrotech-9999.ebuild | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild index f6c479b2755b..4ac12bb6b661 100644 --- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild +++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild @@ -3,16 +3,23 @@ EAPI=7 -MY_P=${PN}-${PV%0}-src -inherit qmake-utils subversion xdg-utils +inherit qmake-utils xdg-utils DESCRIPTION="Qt5 application to design electric diagrams" HOMEPAGE="https://qelectrotech.org/" -ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/qet/qet/trunk" + +if [[ ${PV} = *9999* ]]; then + inherit subversion + ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/qet/qet/trunk" +else + MY_P=${PN}-${PV%0}-src + SRC_URI="https://download.tuxfamily.org/qet/tags/20180823/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}"/${MY_P} +fi LICENSE="CC-BY-3.0 GPL-2+" SLOT="0" -KEYWORDS="" IUSE="doc" BDEPEND=" @@ -33,8 +40,6 @@ RDEPEND=" " DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} - DOCS=( CREDIT ChangeLog README ) PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" ) |