Added phoc 0.24.0 back

This commit is contained in:
Gerben Jan Dijkman 2023-03-01 19:04:36 +01:00
parent 7e763b849c
commit beb1dbf28a
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST gmobile-f4d4e5740c3e4b2de40864ab8a9e7b7f957d6aec.tar.gz 21847 BLAKE2B 8951d8b2030871d7925785e71be5e47f7876fe101ffa5bb95f4f5e2a7e7ef44bca860eaf2cd2bd4ba512f39f6758c01eefbe50b83511952e15efa572c9d3e760 SHA512 c7854b210aeb8995382637cc9907d26fa90d87ef530738a54d96efe0f2dce06afe6d169251242775866d6450bb285e1f084ad5c0e25c183d862ab72c193a43c0
DIST phoc-v0.25.0.tar.gz 227660 BLAKE2B 917bb89f29c5338893543432ac7b9dc26337696170a84e6512ef60b7e79aa6f7499a569004507d96460601a8589f071c9cb5d3aa59fe2dab2dcec94f598a1eb7 SHA512 5751edf2e5adeeeb053db2779c2402dea5c4cdd0acd01103543cf832a0dbb5768697ef58d95026e18c9a866f98a545b9d20fec3601c5868237c9ec085185edad
DIST phoc-v0.24.0.tar.gz 224317 BLAKE2B a220303932228cb647db51327363e2ca1b6c8b97cf509a1b207767ab598c19889f93d4f147e00fa8cef897fef27198bd70e2da34d31b4e363e698262b24bf4f1 SHA512 1ede5c6172dfdc9c64d39fafdb0c771b88c63a7a8a19fb1877ca8997ad0cf25e17ca97af9dd933323b21013ffde3b72f15d33ea5d087651b2b30d387e811a12b

View 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
=gui-libs/wlroots-0.15.1-r2
"
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"
}
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
}