Added beta1
This commit is contained in:
		@@ -1,2 +1,3 @@
 | 
			
		||||
DIST phoc-v0.20.0.tar.gz 202787 BLAKE2B 88ddf67905282fb8a9fc0f1cfce048ed837abb159a250c2a28ac5a0da33e1a4f0ba5a5ef3a49e089073d123039dbac7296c4c1f5bf5454324d2fab47d7a0e4a3 SHA512 ae3e50822a822c34a66df339af21cf8aacfafcb0872b05c15c6cff9c356c0dcb9e051d55b103ad636b182bf98898c2b30c2c66ca080a0e0ae6a1fa2b56578b41
 | 
			
		||||
DIST phoc-v0.21.0_beta1.tar.gz 219837 BLAKE2B d6003ec553a0694ee7bd8d13c6f077de3d6b631d4da1a76e20f2390bebcaf3ebfa9b8be709cfef71eb9eb7d82eb7ad239d22fdab63e66ca442cde67f9e4b1b40 SHA512 63fb53ff2d0d31ef459b800a44265b2e1056a661099b5fbcb89d5667c5a496c7f8c0d7c4941e024d998ce8bb0c27df1afa1bbd25f4b123f877b38386d1f0738e
 | 
			
		||||
DIST wlroots-1f8bb9e0e3058fc31a14866dc52e8f83c1287a09.tar.gz 587020 BLAKE2B 86054b70b1006102b9da2ab4b5f8a63460add2cbfedfa73d66beff6fe3b114e2021a617196f620e2d758b7801c66844c48619cd4d7243a695b1a05448f2f434d SHA512 8f2c5c39c51e76984b85954291fff19a071901550e4e7f226661a4ae59d28486939bd4e05a59a6c24a623cc1aa9b1f97c3ebaafa5901d1893a485385b5d88e50
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										83
									
								
								x11-wm/phoc/phoc-0.21.0_beta1.ebuild
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										83
									
								
								x11-wm/phoc/phoc-0.21.0_beta1.ebuild
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,83 @@
 | 
			
		||||
# 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}"
 | 
			
		||||
 | 
			
		||||
WL_COMMIT="1f8bb9e0e3058fc31a14866dc52e8f83c1287a09"
 | 
			
		||||
WL_P="wlroots-${WL_COMMIT}"
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
	https://source.puri.sm/Librem5/wlroots/-/archive/${WL_COMMIT}/${WL_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/gnome-desktop
 | 
			
		||||
	systemd? (
 | 
			
		||||
		!sys-apps/openrc
 | 
			
		||||
		sys-apps/systemd
 | 
			
		||||
	)
 | 
			
		||||
	x11-libs/libdrm
 | 
			
		||||
	x11-libs/pixman
 | 
			
		||||
	x11-libs/xcb-util
 | 
			
		||||
	x11-libs/xcb-util-wm
 | 
			
		||||
	x11-wm/mutter
 | 
			
		||||
	sys-auth/seatd
 | 
			
		||||
	!gui-libs/wlroots
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
BDEPEND="
 | 
			
		||||
	dev-util/ctags
 | 
			
		||||
	dev-util/meson
 | 
			
		||||
	virtual/pkgconfig
 | 
			
		||||
	x11-base/xorg-server
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
S="${WORKDIR}/${MY_P}"
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	default
 | 
			
		||||
	rm -r "${S}"/subprojects/wlroots || die "Failed to remove bundled wlroots"
 | 
			
		||||
	cp -r "${WORKDIR}/${WL_P}" "${S}"/subprojects/wlroots || die "Failed to copy right version of wlroots"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_configure() {
 | 
			
		||||
	local emesonargs=(
 | 
			
		||||
		-Ddefault_library=shared
 | 
			
		||||
		-Dtests=false
 | 
			
		||||
	)
 | 
			
		||||
	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