Added phoc
This commit is contained in:
		
							
								
								
									
										1
									
								
								x11-wm/phoc/Manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								x11-wm/phoc/Manifest
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
DIST phoc-v0.39.0.tar.gz 323068 BLAKE2B 340c63492ebfc3395a9af5104d66b3391be6bd0c5b23bea2edda452fee4e1dab438d28d03a86958311cc35fac6b9769bfad5ffa6254b498904c648a0b08cbb68 SHA512 366210b702b9e7be1eaf2fdf88652bd2293195a6a4ab6340b4050968b367ff7a5b52cd20f121f13ff1e779892cf919e543e14137933b98c28d6fc6d9b8850491
 | 
			
		||||
							
								
								
									
										11
									
								
								x11-wm/phoc/metadata.xml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										11
									
								
								x11-wm/phoc/metadata.xml
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
			
		||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 | 
			
		||||
<pkgmetadata>
 | 
			
		||||
	<maintainer type="person">
 | 
			
		||||
		<email>gjdijkman@gjdwebserver.nl</email>
 | 
			
		||||
		<name>Gerben Jan Dijkman</name>
 | 
			
		||||
	</maintainer>
 | 
			
		||||
	<upstream>
 | 
			
		||||
		<bugs-to>https://source.puri.sm/Librem5/phoc/-/issues</bugs-to>
 | 
			
		||||
	</upstream>
 | 
			
		||||
</pkgmetadata>
 | 
			
		||||
							
								
								
									
										84
									
								
								x11-wm/phoc/phoc-0.39.0.ebuild
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										84
									
								
								x11-wm/phoc/phoc-0.39.0.ebuild
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,84 @@
 | 
			
		||||
# Copyright 1999-2022 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=7
 | 
			
		||||
 | 
			
		||||
inherit meson xdg gnome2-utils
 | 
			
		||||
 | 
			
		||||
MY_PV="v${PV}"
 | 
			
		||||
MY_P="${PN}-${MY_PV}"
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="Wlroots based Phone compositor"
 | 
			
		||||
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phoc"
 | 
			
		||||
 | 
			
		||||
SRC_URI="
 | 
			
		||||
	https://gitlab.gnome.org/World/Phosh/phoc/-/archive/${MY_PV}/${MY_P}.tar.gz
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
LICENSE="GPL-3"
 | 
			
		||||
SLOT="0"
 | 
			
		||||
KEYWORDS="~amd64 ~arm64"
 | 
			
		||||
IUSE="+introspection +systemd test"
 | 
			
		||||
RESTRICT="!test? ( test )"
 | 
			
		||||
 | 
			
		||||
RDEPEND="
 | 
			
		||||
	dev-libs/glib
 | 
			
		||||
	dev-libs/gobject-introspection
 | 
			
		||||
	dev-libs/libinput
 | 
			
		||||
	dev-libs/wayland
 | 
			
		||||
	dev-libs/wayland-protocols
 | 
			
		||||
	gnome-base/dconf
 | 
			
		||||
	gnome-base/gsettings-desktop-schemas
 | 
			
		||||
	gnome-base/gnome-settings-daemon
 | 
			
		||||
	>=gnome-base/gnome-desktop-3.26
 | 
			
		||||
	dev-util/vulkan-headers
 | 
			
		||||
	sys-apps/systemd
 | 
			
		||||
	x11-libs/libdrm
 | 
			
		||||
	x11-libs/pixman
 | 
			
		||||
	x11-libs/libxcb
 | 
			
		||||
	x11-libs/xcb-util
 | 
			
		||||
	x11-libs/xcb-util-wm
 | 
			
		||||
	x11-libs/xcb-util-renderutil
 | 
			
		||||
	x11-wm/mutter
 | 
			
		||||
	sys-auth/seatd
 | 
			
		||||
	x11-apps/xkbcomp
 | 
			
		||||
	x11-libs/libxkbcommon
 | 
			
		||||
	dev-util/gi-docgen
 | 
			
		||||
	>=gui-libs/wlroots-0.17.2
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
BDEPEND="
 | 
			
		||||
	dev-util/ctags
 | 
			
		||||
	dev-util/meson
 | 
			
		||||
	virtual/pkgconfig
 | 
			
		||||
	x11-base/xorg-server
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
S="${WORKDIR}/${MY_P}"
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	default
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_configure() {
 | 
			
		||||
	local emesonargs=(
 | 
			
		||||
		-Dtests=false
 | 
			
		||||
		-Dembed-wlroots=disabled
 | 
			
		||||
	)
 | 
			
		||||
	
 | 
			
		||||
	meson_src_configure
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	DESTDIR="${D}" meson_src_install
 | 
			
		||||
	dobin "${S}"/helpers/scale-to-fit
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkg_postinst() {
 | 
			
		||||
	xdg_pkg_postinst
 | 
			
		||||
	gnome2_schemas_update
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkg_postrm() {
 | 
			
		||||
	xdg_pkg_postrm
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user