diff --git a/gui-apps/coreshot/Manifest b/gui-apps/coreshot/Manifest index a472b1079b..c583329f20 100644 --- a/gui-apps/coreshot/Manifest +++ b/gui-apps/coreshot/Manifest @@ -1 +1,2 @@ DIST coreshot-4.2.0.tar.gz 1301967 BLAKE2B e481c69a11fef2684bd2088240e7e9bb0f10d45fef07d4582adcf759f89f75f01a813a8b6cf90e2c0654bdf49b13844bcaea32172d79dcd61676c71b260f481b SHA512 80e5587d802980b2acb7be5b9babdca365332c4ceadf3d2ff7c30e94c706a47fcece8045e689b2eac8186a21267af5017caf46dd89fe6bf60bf81dec0f7f75b0 +DIST coreshot-v4.5.0.tar.bz2 1316292 BLAKE2B 44c7bf81210fae06470070c0e6608e36ad7d961179835b1cf14f68e4b6dd1b75f00bd13f361e23923a01f09ad783180f81722fa73eb722b23567c8ff50aebb6b SHA512 1a90a5d6f17f2ba1a03361a05c632f55d916e9c4923ee1bd72d0eef111907786fa8e6b95b0113bfb97295b6a91d3d8de30a6e7ba1c534ef3b51e270360283a55 diff --git a/gui-apps/coreshot/coreshot-4.5.0.ebuild b/gui-apps/coreshot/coreshot-4.5.0.ebuild new file mode 100644 index 0000000000..57ffb074c8 --- /dev/null +++ b/gui-apps/coreshot/coreshot-4.5.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg cmake + +DESCRIPTION="A screen capture utility for C Suite" +HOMEPAGE="https://gitlab.com/cubocore/coreapps/coreshot" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/coreshot.git" +else + SRC_URI="https://gitlab.com/cubocore/coreapps/coreshot/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${PV}" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + gui-libs/libcprime +" +RDEPEND="${DEPEND}" diff --git a/gui-apps/coreshot/coreshot-9999.ebuild b/gui-apps/coreshot/coreshot-9999.ebuild index 094be404d7..57ffb074c8 100644 --- a/gui-apps/coreshot/coreshot-9999.ebuild +++ b/gui-apps/coreshot/coreshot-9999.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -MY_PV="${PV/_/-}" +EAPI=8 inherit xdg cmake @@ -12,14 +10,13 @@ HOMEPAGE="https://gitlab.com/cubocore/coreapps/coreshot" if [[ "${PV}" == *9999* ]]; then inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/${PN}.git" + EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/coreshot.git" else - SRC_URI="https://gitlab.com/cubocore/coreapps/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://gitlab.com/cubocore/coreapps/coreshot/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-v${MY_PV}" + S="${WORKDIR}/${PN}-v${PV}" fi -RESTRICT="test" LICENSE="GPL-3" SLOT="0" @@ -30,6 +27,4 @@ DEPEND=" dev-qt/qtx11extras:5 gui-libs/libcprime " -RDEPEND=" - ${DEPEND} -" +RDEPEND="${DEPEND}"