This commit is contained in:
Gerben Jan Dijkman 2022-02-07 13:52:37 +01:00
parent d7578c63ac
commit d64c783ac7

View File

@ -17,7 +17,7 @@ SLOT="0/3" # based on SONAME of libupower-glib.so
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc ~x86"
# gtk-doc files are not available as prebuilt in the tarball # gtk-doc files are not available as prebuilt in the tarball
IUSE="doc +introspection ios selinux vala" IUSE="doc +introspection ios selinux"
DEPEND=" DEPEND="
>=dev-libs/glib-2.38:2 >=dev-libs/glib-2.38:2
@ -50,12 +50,11 @@ DOCS=( AUTHORS HACKING NEWS README )
S="${WORKDIR}/${PN}-v${PV}" S="${WORKDIR}/${PN}-v${PV}"
src_prepare() { src_prepare() {
eapply_user
default
xdg_environment_reset xdg_environment_reset
} }
src_configure() { src_configure() {
local backend local backend
if use kernel_linux ; then if use kernel_linux ; then
@ -76,11 +75,11 @@ src_configure() {
$(use_enable introspection) $(use_enable introspection)
$(use_with ios idevice) $(use_with ios idevice)
) )
econf "${myeconfargs[@]}" meson_src_configure "${myeconfargs[@]}"
} }
src_install() { src_install() {
meson_src_install default
find "${ED}" -type f -name '*.la' -delete || die find "${ED}" -type f -name '*.la' -delete || die
keepdir /var/lib/upower #383091 keepdir /var/lib/upower #383091
} }