Removed old and bumped phoc
This commit is contained in:
parent
e497dc0cb4
commit
a610bfe349
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop gnome2-utils meson pam readme.gentoo-r1 systemd xdg
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
LVC_COMMIT="ae1a34aafce7026b8c0f65a43c9192d756fe1057"
|
||||
LCU_COMMIT="acfbb136bbf74514e0b9801ce6c1e8acf36350b6"
|
||||
|
||||
DESCRIPTION="A pure Wayland shell prototype for GNOME on mobile devices"
|
||||
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/phosh/"
|
||||
SRC_URI="
|
||||
https://gitlab.gnome.org/World/Phosh/phosh/-/archive/v${PV}/${MY_P}.tar.gz
|
||||
https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/${LVC_COMMIT}/libgnome-volume-control-${LVC_COMMIT}.tar.gz
|
||||
https://gitlab.gnome.org/World/Phosh/libcall-ui/-/archive/${LCU_COMMIT}/libcall-ui-${LCU_COMMIT}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="+systemd"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/gcr
|
||||
dev-libs/feedbackd
|
||||
media-sound/pulseaudio
|
||||
>=gui-libs/libhandy-1.1.90
|
||||
net-misc/networkmanager
|
||||
gnome-base/gnome-control-center
|
||||
gnome-base/gnome-desktop
|
||||
gnome-base/gnome-session
|
||||
x11-themes/gnome-backgrounds
|
||||
gnome-base/gnome-keyring
|
||||
gnome-base/gnome-shell
|
||||
x11-wm/phoc
|
||||
systemd? ( sys-apps/systemd )
|
||||
sys-power/upower
|
||||
app-misc/geoclue
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/ctags
|
||||
dev-util/meson
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r "${S}"/subprojects/gvc || die
|
||||
mv "${WORKDIR}"/libgnome-volume-control-"${LVC_COMMIT}" "${S}"/subprojects/gvc || die
|
||||
rm -r "${S}"/subprojects/libcall-ui || die
|
||||
mv "${WORKDIR}"/libcall-ui-"${LCU_COMMIT}" "${S}"/subprojects/libcall-ui || die
|
||||
|
||||
#Polkit fix
|
||||
eapply "${FILESDIR}"/0001-Fix-for-polkit-120-and-higher.patch
|
||||
eapply "${FILESDIR}"/0002-build-Adjust-to-polkit-version-changes.patch
|
||||
|
||||
#Phosh patches
|
||||
eapply "${FILESDIR}"/0001-system-prompt-allow-blank-passwords.patch
|
||||
eapply "${FILESDIR}"/0002-fix-locale-issue.patch
|
||||
eapply "${FILESDIR}"/0003-fix-locale-issue-in-service-file.patch
|
||||
|
||||
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dtests=false
|
||||
-Dsystemd=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
meson_src_install
|
||||
newpamd "${FILESDIR}"/pam_phosh 'phosh'
|
||||
systemd_newunit "${FILESDIR}"/phosh.service 'phosh.service'
|
||||
domenu "${FILESDIR}"/sm.puri.OSK0.desktop
|
||||
|
||||
DOC_CONTENTS="To amend the existing password policy please see the man 5 passwdqc.conf
|
||||
page and then edit the /etc/security/passwdqc.conf file to change enforce=none
|
||||
to allow use digit only password as phosh only support passcode for now"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST tootle-20220106.tar.gz 810635 BLAKE2B f344ef96fdce5ccac21c56d2f4883de58b2112e0e7b8ae1734f02bab3c690d5c5063c2ef76b262384f6f91604fcf83e9af62fe8af741292420b739d865530344 SHA512 740365b0b14a22676357d90c86bda3b089d3f8d83e18b564517f658153aee775ab8aa2d9042a8660b54315823432fc9909a7714ce215da05f41f602b4014a8c4
|
@ -1,48 +0,0 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils meson vala xdg
|
||||
|
||||
COMMIT="b4046da9a7806e11cb77e85b4531c98ff4a33ca5"
|
||||
DESCRIPTION="Mastodon client"
|
||||
HOMEPAGE="https://gitlab.gnome.org/World/tootle"
|
||||
SRC_URI="https://gitlab.gnome.org/World/tootle/-/archive/${COMMIT}/tootle-${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/tootle-${COMMIT}
|
||||
|
||||
LICENSE="CC-BY-3.0 GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.30
|
||||
>=dev-libs/json-glib-1.4.4
|
||||
>=dev-libs/libxml2-2.9.10
|
||||
>=dev-libs/libgee-0.8.5
|
||||
>=net-libs/libsoup-2.64
|
||||
>=gui-libs/gtk-4.3.0
|
||||
>=gui-libs/libadwaita-1.0
|
||||
>=app-crypt/libsecret-0.20
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
virtual/pkgconfig
|
||||
"
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
xdg_pkg_postrm
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user