aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-04-08 16:58:47 +0200
committerMaciej Barć <xgqt@riseup.net>2021-04-08 16:58:47 +0200
commitb0744f927ec09be5cc4949b9b7b29b73e3b268d9 (patch)
tree8d662348a586f01a9cf03d2fefc9f2e100c5dd65 /gui-apps/paperde
parentgui-apps/paperdesktop: add myself (XGQT) to mainatiners (diff)
downloadguru-b0744f927ec09be5cc4949b9b7b29b73e3b268d9.tar.gz
guru-b0744f927ec09be5cc4949b9b7b29b73e3b268d9.tar.bz2
guru-b0744f927ec09be5cc4949b9b7b29b73e3b268d9.zip
gui-apps/paperdesktop: name change to gui-apps/paperde
Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'gui-apps/paperde')
-rw-r--r--gui-apps/paperde/Manifest1
-rw-r--r--gui-apps/paperde/files/paperde-0_p20201107-build.patch14
-rw-r--r--gui-apps/paperde/metadata.xml15
-rw-r--r--gui-apps/paperde/paperde-0_p20210310.ebuild53
-rw-r--r--gui-apps/paperde/paperde-9999.ebuild53
5 files changed, 136 insertions, 0 deletions
diff --git a/gui-apps/paperde/Manifest b/gui-apps/paperde/Manifest
new file mode 100644
index 000000000..6ab78b618
--- /dev/null
+++ b/gui-apps/paperde/Manifest
@@ -0,0 +1 @@
+DIST paperde-0_p20210310.tar.gz 2239576 BLAKE2B 8aea8e44e845dbdf7c8e01841cd9d8b7897cfed32ddad9e86ef33afc40be19adf76db356fbc59927adf3e2c3fed91c76e8df4a73bffd836db465703f69c9c5dc SHA512 5e5f0ee83ccae6487608446440437e00718027322532afe81b5d173f9385d899686e7e2f008e4ac95ee9f6756d25dbf1b010d35c6e5f84cce198bf9c1c52c6ab
diff --git a/gui-apps/paperde/files/paperde-0_p20201107-build.patch b/gui-apps/paperde/files/paperde-0_p20201107-build.patch
new file mode 100644
index 000000000..b3d4eea97
--- /dev/null
+++ b/gui-apps/paperde/files/paperde-0_p20201107-build.patch
@@ -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/
diff --git a/gui-apps/paperde/metadata.xml b/gui-apps/paperde/metadata.xml
new file mode 100644
index 000000000..470d0960e
--- /dev/null
+++ b/gui-apps/paperde/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+ <maintainer type="person">
+ <email>xgqt@riseup.net</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">cubocore/paper/paperde</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/gui-apps/paperde/paperde-0_p20210310.ebuild b/gui-apps/paperde/paperde-0_p20210310.ebuild
new file mode 100644
index 000000000..ba465e435
--- /dev/null
+++ b/gui-apps/paperde/paperde-0_p20210310.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}"
+else
+ COMMIT=65c755306688203ddc32bbc099ba1de03166cde9
+ SRC_URI="https://gitlab.com/cubocore/paper/${PN}/-/archive/${COMMIT}/paperde-${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+ dev-libs/libdbusmenu-qt
+ dev-libs/wayland
+ 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
+ gui-libs/libcprime
+ gui-libs/libcsys
+"
+RDEPEND="${DEPEND}
+ gui-wm/wayfire[X]
+ 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
new file mode 100644
index 000000000..ba465e435
--- /dev/null
+++ b/gui-apps/paperde/paperde-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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}"
+else
+ COMMIT=65c755306688203ddc32bbc099ba1de03166cde9
+ SRC_URI="https://gitlab.com/cubocore/paper/${PN}/-/archive/${COMMIT}/paperde-${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+ dev-libs/libdbusmenu-qt
+ dev-libs/wayland
+ 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
+ gui-libs/libcprime
+ gui-libs/libcsys
+"
+RDEPEND="${DEPEND}
+ gui-wm/wayfire[X]
+ 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
+}