diff options
author | Ulrich Müller <ulm@gentoo.org> | 2021-12-20 10:15:54 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2021-12-20 10:17:03 +0100 |
commit | 17d89473baa1f68992fee552609148f9205f90ae (patch) | |
tree | a06799bdc06e5faaa66853bc6ec09b5fd32e198a /app-misc/pdfpc | |
parent | app-misc/pdfpc: Take maintainership (diff) | |
download | gentoo-17d89473baa1f68992fee552609148f9205f90ae.tar.gz gentoo-17d89473baa1f68992fee552609148f9205f90ae.tar.bz2 gentoo-17d89473baa1f68992fee552609148f9205f90ae.zip |
app-misc/pdfpc: Fix EGIT_REPO_URI, some cosmetic changes
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-misc/pdfpc')
-rw-r--r-- | app-misc/pdfpc/pdfpc-4.5.0.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/app-misc/pdfpc/pdfpc-4.5.0.ebuild b/app-misc/pdfpc/pdfpc-4.5.0.ebuild index b4a0c4eeed3a..ef30bca407a5 100644 --- a/app-misc/pdfpc/pdfpc-4.5.0.ebuild +++ b/app-misc/pdfpc/pdfpc-4.5.0.ebuild @@ -6,27 +6,26 @@ EAPI=7 VALA_MIN_API_VERSION="0.44" VALA_MAX_API_VERSION="0.50" # append versions in sed line if increased -COMMIT_ID="" +#COMMIT_ID="" inherit cmake vala DESCRIPTION="Presenter console with multi-monitor support for PDF files" HOMEPAGE="https://pdfpc.github.io https://github.com/pdfpc/pdfpc" + LICENSE="GPL-3+" SLOT="0" -IUSE="+gstreamer" KEYWORDS="amd64 x86" +IUSE="+gstreamer" if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/${PN}/${PN}/.git" + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" inherit git-r3 +elif [[ ${PV} == *_p* ]]; then + SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT_ID}" else - if [[ ${PV} == *_p* ]]; then - SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT_ID}" - else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - fi + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" fi RDEPEND=" |