From 6e8263ca79ac804a4c4c34eb524c41ea8d71d0c3 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Thu, 8 Apr 2021 18:40:09 +0200 Subject: gui-apps/paperde: update live; add 0.1.0_alpha MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Maciej Barć --- gui-apps/paperde/Manifest | 1 + gui-apps/paperde/paperde-0.1.0_alpha.ebuild | 57 +++++++++++++++++++++++++++++ gui-apps/paperde/paperde-9999.ebuild | 20 ++++++---- 3 files changed, 70 insertions(+), 8 deletions(-) create mode 100644 gui-apps/paperde/paperde-0.1.0_alpha.ebuild (limited to 'gui-apps/paperde') diff --git a/gui-apps/paperde/Manifest b/gui-apps/paperde/Manifest index 6ab78b618..be3cb3528 100644 --- a/gui-apps/paperde/Manifest +++ b/gui-apps/paperde/Manifest @@ -1 +1,2 @@ +DIST paperde-0.1.0_alpha.tar.gz 2238045 BLAKE2B 90fa2948484e53c6c30e2b8258da037043e5e71915c77cbe5bf959b85aea87bbde6d9bdf0afa1d398a617f1062027a37c62d78b98429ffcc88ec61f819c26907 SHA512 85affe98ba697e7d79fcf9356ad485ed29c8a099bff773ebc01637ae34c9101ca82e63370b2298801173903bc1d7a257614ce82f58c2ea669b6f0496f3cc1400 DIST paperde-0_p20210310.tar.gz 2239576 BLAKE2B 8aea8e44e845dbdf7c8e01841cd9d8b7897cfed32ddad9e86ef33afc40be19adf76db356fbc59927adf3e2c3fed91c76e8df4a73bffd836db465703f69c9c5dc SHA512 5e5f0ee83ccae6487608446440437e00718027322532afe81b5d173f9385d899686e7e2f008e4ac95ee9f6756d25dbf1b010d35c6e5f84cce198bf9c1c52c6ab diff --git a/gui-apps/paperde/paperde-0.1.0_alpha.ebuild b/gui-apps/paperde/paperde-0.1.0_alpha.ebuild new file mode 100644 index 000000000..0ea5e6bbc --- /dev/null +++ b/gui-apps/paperde/paperde-0.1.0_alpha.ebuild @@ -0,0 +1,57 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# _alpha -> -alpha +MY_PV="${PV/_/-}" + +inherit cmake xdg + +DESCRIPTION="Simple, sleek QT based DE for wayland using wayfire" +HOMEPAGE="https://gitlab.com/cubocore/paper/paperde" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/cubocore/paper/${PN}.git" +else + SRC_URI="https://gitlab.com/cubocore/paper/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${MY_PV}" +fi + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + dev-libs/libdbusmenu-qt + dev-libs/wayland + dev-libs/wayland-protocols + dev-qt/designer:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5[wayland,X] + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5[X] + gui-libs/libcprime + gui-libs/libcsys +" +RDEPEND=" + ${DEPEND} + >=gui-wm/wayfire-0.7.0[X] + sys-apps/xdg-desktop-portal + x11-misc/qt5ct +" + +src_prepare() { + cmake_src_prepare + xdg_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DPKGSHAREDPATH="${EPREFIX}/usr/share/paperde" + -DPKGCONFPATH="${EPREFIX}/etc/xdg/paperde" + ) + cmake_src_configure +} diff --git a/gui-apps/paperde/paperde-9999.ebuild b/gui-apps/paperde/paperde-9999.ebuild index ba465e435..0ea5e6bbc 100644 --- a/gui-apps/paperde/paperde-9999.ebuild +++ b/gui-apps/paperde/paperde-9999.ebuild @@ -3,20 +3,21 @@ EAPI=7 +# _alpha -> -alpha +MY_PV="${PV/_/-}" + inherit cmake xdg DESCRIPTION="Simple, sleek QT based DE for wayland using wayfire" - HOMEPAGE="https://gitlab.com/cubocore/paper/paperde" if [[ ${PV} == 9999 ]]; then inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/paper/${PN}" + EGIT_REPO_URI="https://gitlab.com/cubocore/paper/${PN}.git" else - COMMIT=65c755306688203ddc32bbc099ba1de03166cde9 - SRC_URI="https://gitlab.com/cubocore/paper/${PN}/-/archive/${COMMIT}/paperde-${COMMIT}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-${COMMIT}" + SRC_URI="https://gitlab.com/cubocore/paper/${PN}/-/archive/v${MY_PV}/${PN}-v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" + S="${WORKDIR}/${PN}-v${MY_PV}" fi LICENSE="GPL-3" @@ -25,17 +26,20 @@ SLOT="0" DEPEND=" dev-libs/libdbusmenu-qt dev-libs/wayland + dev-libs/wayland-protocols dev-qt/designer:5 dev-qt/qtcore:5 dev-qt/qtgui:5[wayland,X] dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5[X] dev-qt/qtsvg:5 + dev-qt/qtwidgets:5[X] gui-libs/libcprime gui-libs/libcsys " -RDEPEND="${DEPEND} - gui-wm/wayfire[X] +RDEPEND=" + ${DEPEND} + >=gui-wm/wayfire-0.7.0[X] + sys-apps/xdg-desktop-portal x11-misc/qt5ct " -- cgit v1.2.3-65-gdbad