Removed old and bumped phoc
This commit is contained in:
		@@ -1,4 +1 @@
 | 
			
		||||
DIST phoc-v0.13.1.tar.gz 166867 BLAKE2B 6606855efe7099d12c8be3ee16c401bbcc618aaed2f264abe982cc4a49ccbc0e65fac1b7d8da62de4261bdf3a322f4313a15723c7b7cb7a9ce279957dbf89c78 SHA512 0da68ac4d0601e91ed5f59eeb0beea64180b546f58b300631495084d366fe515c26fe9d58d0ca20687032f6824ae98dcc82edd8a6c80caa95178d24d27ee2650
 | 
			
		||||
DIST phoc-v0.21.1.tar.gz 221289 BLAKE2B 15978d12217517791c36e2511704210dd79a3b413fd215a6be4a644d222ae1b09c5f0e845cf67cc4c1f4849ba0db051fab8f61edd5ffcc991cbe9d0e74578d89 SHA512 94b93fa524e5be953851764b19f0da5deed11ede988fed8757b66649e4700d2f659d4dc32226c73055f63d69d7f9c066d84f23c6338c9b5998217fd2fed2bedd
 | 
			
		||||
DIST wlroots-1f8bb9e0e3058fc31a14866dc52e8f83c1287a09.tar.gz 587020 BLAKE2B 86054b70b1006102b9da2ab4b5f8a63460add2cbfedfa73d66beff6fe3b114e2021a617196f620e2d758b7801c66844c48619cd4d7243a695b1a05448f2f434d SHA512 8f2c5c39c51e76984b85954291fff19a071901550e4e7f226661a4ae59d28486939bd4e05a59a6c24a623cc1aa9b1f97c3ebaafa5901d1893a485385b5d88e50
 | 
			
		||||
DIST wlroots-c9cd3502ba6113070020de50e41f0af72e0f5031.tar.gz 506612 BLAKE2B 70589e63cf223aa5b3634e057cc8c9d1f52d0f6c0fd3bbf66739bc1c934036bab0e8fc8337f51b1d4bb0d73c008b16421c354194cf215741e84ad88345465870 SHA512 af610233ec2343a3baefbb30db4b9a3f30dac4f8656293849be603fbcad0cdd65e91d80702c35e4aaf47437e8c301229c4933b7c8b5df3a7128979c94bcfcddc
 | 
			
		||||
DIST phoc-v0.23.0.tar.gz 222088 BLAKE2B 7fcbe4e02717400eda085e5ad8458f3a538c39c93a7bde9e313cef8e372de06fa1089aa0219333d4475df637d11e84d3692dc67e1fcfca90af1bc8ee35568e45 SHA512 19eb363925923e0a91556f3f445642a371b3a0e57bedd8203eba52cfce897fadfde657d904c995c1d06a67e6c0333d7ce50b24253f556c5bc69b816a79d16be0
 | 
			
		||||
 
 | 
			
		||||
@@ -1,83 +0,0 @@
 | 
			
		||||
# 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="c9cd3502ba6113070020de50e41f0af72e0f5031"
 | 
			
		||||
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