mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
gui-apps/paperdesktop: move live ebuild to cmake
also add dated ebuild Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST paperdesktop-0_p20201107.tar.gz 200672 BLAKE2B d2c7807cd23294521ada75bfbae2f841e72a399a8bfc94e2f507c15eeda00d5fef90826225ae3d531d0b33f82ce2e0aa06b5081778e8354e87ccea30daf310c6 SHA512 940f0aba34fc8d03a3dc716ca921991ce3aa22eb0afcb601c23f3dd8ada2f15e22c5f0dbc83e58c003a3c43a0955e0b3634824d34fea1b2ce97bc3c2dfd28475
|
DIST paperdesktop-0_p20201107.tar.gz 200672 BLAKE2B d2c7807cd23294521ada75bfbae2f841e72a399a8bfc94e2f507c15eeda00d5fef90826225ae3d531d0b33f82ce2e0aa06b5081778e8354e87ccea30daf310c6 SHA512 940f0aba34fc8d03a3dc716ca921991ce3aa22eb0afcb601c23f3dd8ada2f15e22c5f0dbc83e58c003a3c43a0955e0b3634824d34fea1b2ce97bc3c2dfd28475
|
||||||
|
DIST paperdesktop-0_p20210310.tar.gz 2239536 BLAKE2B c1b5c296d36db9687e8e106d2608da057238e91c607443d4cb28725fc90b6c35e2ae14d178ad79be525d6262574a2d0f0b54ee71f3de02de25d3a3aa31465b03 SHA512 77f26cb61e9cd2d02eb7dfe2eab12d17a10d96007bc8d4dda8b30e9327d3036c9ad3341268df2f5151ed48e96a9facc4d66abc7ae10dcd04e284a20b3e29cea9
|
||||||
|
|||||||
53
gui-apps/paperdesktop/paperdesktop-0_p20210310.ebuild
Normal file
53
gui-apps/paperdesktop/paperdesktop-0_p20210310.ebuild
Normal file
@@ -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/paperdesktop"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://gitlab.com/cubocore/paper/paperdesktop"
|
||||||
|
else
|
||||||
|
COMMIT=65c755306688203ddc32bbc099ba1de03166cde9
|
||||||
|
SRC_URI="https://gitlab.com/cubocore/paper/paperdesktop/-/archive/${COMMIT}/paperdesktop-${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}"/paperdesktop-${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
|
||||||
|
}
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
# Copyright 2020 Gentoo Authors
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
|
|
||||||
inherit qmake-utils
|
inherit cmake xdg
|
||||||
|
|
||||||
DESCRIPTION="simple, sleek QT based DE for wayland using wayfire"
|
DESCRIPTION="Simple, sleek QT based DE for wayland using wayfire"
|
||||||
|
|
||||||
HOMEPAGE="https://gitlab.com/cubocore/paper/paperdesktop"
|
HOMEPAGE="https://gitlab.com/cubocore/paper/paperdesktop"
|
||||||
|
|
||||||
@@ -13,10 +13,10 @@ if [[ ${PV} == 9999 ]]; then
|
|||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://gitlab.com/cubocore/paper/paperdesktop"
|
EGIT_REPO_URI="https://gitlab.com/cubocore/paper/paperdesktop"
|
||||||
else
|
else
|
||||||
COMMIT=960ff1e31a48e96e10afa0459183e52fbea8f2de
|
COMMIT=65c755306688203ddc32bbc099ba1de03166cde9
|
||||||
SRC_URI="https://gitlab.com/cubocore/paper/paperdesktop/-/archive/${COMMIT}/paperdesktop-${COMMIT}.tar.gz -> ${P}.tar.gz"
|
SRC_URI="https://gitlab.com/cubocore/paper/paperdesktop/-/archive/${COMMIT}/paperdesktop-${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
S="${WORKDIR}"/paperdesktop-${COMMIT}
|
S="${WORKDIR}"/paperdesktop-${COMMIT}
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
@@ -25,36 +25,29 @@ SLOT="0"
|
|||||||
DEPEND="
|
DEPEND="
|
||||||
dev-libs/libdbusmenu-qt
|
dev-libs/libdbusmenu-qt
|
||||||
dev-libs/wayland
|
dev-libs/wayland
|
||||||
|
dev-qt/designer:5
|
||||||
dev-qt/qtcore:5
|
dev-qt/qtcore:5
|
||||||
dev-qt/qtgui:5[wayland,X]
|
dev-qt/qtgui:5[wayland,X]
|
||||||
dev-qt/qtnetwork:5
|
dev-qt/qtnetwork:5
|
||||||
dev-qt/qtwidgets:5[X]
|
dev-qt/qtwidgets:5[X]
|
||||||
dev-qt/qtsvg:5
|
dev-qt/qtsvg:5
|
||||||
|
gui-libs/libcprime
|
||||||
|
gui-libs/libcsys
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}
|
RDEPEND="${DEPEND}
|
||||||
gui-wm/wayfire[X]
|
gui-wm/wayfire[X]
|
||||||
x11-misc/qt5ct
|
x11-misc/qt5ct
|
||||||
"
|
"
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-0_p20201107-build.patch )
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
cmake_src_prepare
|
||||||
sed -e "s:/lib/:/$(get_libdir)/:" \
|
xdg_src_prepare
|
||||||
-i libpaperdesktop/core/core.pro \
|
|
||||||
-i libpaperdesktop/gui/gui.pro \
|
|
||||||
-i libpapershell-wl/libpapershell-wl.pro \
|
|
||||||
-i libpaperprime/libpaperprime.pro || die
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_configure() {
|
||||||
eqmake5 paperdesktop.pro
|
local mycmakeargs=(
|
||||||
emake
|
-DPKGSHAREDPATH="${EPREFIX}/usr/share/paperde"
|
||||||
}
|
-DPKGCONFPATH="${EPREFIX}/etc/xdg/paperde"
|
||||||
|
)
|
||||||
src_install() {
|
cmake_src_configure
|
||||||
emake INSTALL_ROOT="${ED}" install
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user