gui-apps/paperdesktop: sleek QT based DE for wayland

uses wayfire as the compositor and provides
an integrated DE for wayland

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2020-11-11 18:14:28 -05:00
parent c431f0f894
commit 87c16dc2a8
5 changed files with 143 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST paperdesktop-0_p20201107.tar.gz 200672 BLAKE2B d2c7807cd23294521ada75bfbae2f841e72a399a8bfc94e2f507c15eeda00d5fef90826225ae3d531d0b33f82ce2e0aa06b5081778e8354e87ccea30daf310c6 SHA512 940f0aba34fc8d03a3dc716ca921991ce3aa22eb0afcb601c23f3dd8ada2f15e22c5f0dbc83e58c003a3c43a0955e0b3634824d34fea1b2ce97bc3c2dfd28475

View File

@@ -0,0 +1,14 @@
diff --git a/libpaperprime/libpaperprime.pro b/libpaperprime/libpaperprime.pro
index 7ee9ec2..d5b89a2 100644
--- a/libpaperprime/libpaperprime.pro
+++ b/libpaperprime/libpaperprime.pro
@@ -71,8 +71,7 @@ unix {
INSTALLS += target includes themefiles
- contains(DEFINES, LIB64): target.path = $$PREFIX/lib64
- else: target.path = $$PREFIX/lib
+ target.path = $$PREFIX/lib/
includes.files = paperprime/*.h
includes.path = $$PREFIX/include/paperprime/

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,60 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils
DESCRIPTION="simple, sleek QT based DE for wayland using wayfire"
HOMEPAGE="https://gitlab.com/cubocore/paper/paperdesktop"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/cubocore/paper/paperdesktop"
else
COMMIT=960ff1e31a48e96e10afa0459183e52fbea8f2de
SRC_URI="https://gitlab.com/cubocore/paper/paperdesktop/-/archive/${COMMIT}/paperdesktop-${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/paperdesktop-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-libs/libdbusmenu-qt
dev-libs/wayland
dev-qt/qtcore:5
dev-qt/qtgui:5[wayland,X]
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5[X]
dev-qt/qtsvg:5
"
RDEPEND="${DEPEND}
gui-wm/wayfire[X]
x11-misc/qt5ct
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}"/${PN}-0_p20201107-build.patch )
src_prepare() {
default
sed -e "s:/lib/:/$(get_libdir)/:" \
-i libpaperdesktop/core/core.pro \
-i libpaperdesktop/gui/gui.pro \
-i libpapershell-wl/libpapershell-wl.pro \
-i libpaperprime/libpaperprime.pro || die
}
src_compile() {
eqmake5 paperdesktop.pro
emake
}
src_install() {
emake INSTALL_ROOT="${ED}" install
}

View File

@@ -0,0 +1,60 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils
DESCRIPTION="simple, sleek QT based DE for wayland using wayfire"
HOMEPAGE="https://gitlab.com/cubocore/paper/paperdesktop"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/cubocore/paper/paperdesktop"
else
COMMIT=960ff1e31a48e96e10afa0459183e52fbea8f2de
SRC_URI="https://gitlab.com/cubocore/paper/paperdesktop/-/archive/${COMMIT}/paperdesktop-${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/paperdesktop-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-libs/libdbusmenu-qt
dev-libs/wayland
dev-qt/qtcore:5
dev-qt/qtgui:5[wayland,X]
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5[X]
dev-qt/qtsvg:5
"
RDEPEND="${DEPEND}
gui-wm/wayfire[X]
x11-misc/qt5ct
"
BDEPEND="
virtual/pkgconfig
"
PATCHES=( "${FILESDIR}"/${PN}-0_p20201107-build.patch )
src_prepare() {
default
sed -e "s:/lib/:/$(get_libdir)/:" \
-i libpaperdesktop/core/core.pro \
-i libpaperdesktop/gui/gui.pro \
-i libpapershell-wl/libpapershell-wl.pro \
-i libpaperprime/libpaperprime.pro || die
}
src_compile() {
eqmake5 paperdesktop.pro
emake
}
src_install() {
emake INSTALL_ROOT="${ED}" install
}