This commit is contained in:
Gerben Jan Dijkman 2021-02-28 17:46:34 +01:00
parent bb6019dd8f
commit dafa9279dc

View File

@ -4,7 +4,7 @@
EAPI=7 EAPI=7
EGO_PN="github.com/snapcore/${PN}" EGO_PN="github.com/snapcore/${PN}"
inherit autotools bash-completion-r1 golang-vcs-snapshot linux-info readme.gentoo-r1 systemd xdg-utils inherit autotools bash-completion-r1 golang-vcs-snapshot linux-info systemd xdg-utils
DESCRIPTION="Service and tools for management of snap packages" DESCRIPTION="Service and tools for management of snap packages"
HOMEPAGE="http://snapcraft.io/" HOMEPAGE="http://snapcraft.io/"
@ -54,8 +54,6 @@ BDEPEND="
PDEPEND="sys-auth/polkit[gtk?,kde?]" PDEPEND="sys-auth/polkit[gtk?,kde?]"
README_GENTOO_SUFFIX=""
pkg_setup() { pkg_setup() {
if use apparmor; then if use apparmor; then
CONFIG_CHECK+=" ~SECURITY_APPARMOR" CONFIG_CHECK+=" ~SECURITY_APPARMOR"
@ -162,11 +160,9 @@ src_install() {
dodoc "${MY_S}/packaging/ubuntu-16.04/changelog" dodoc "${MY_S}/packaging/ubuntu-16.04/changelog"
domo "${MY_S}/po/"*.mo domo "${MY_S}/po/"*.mo
readme.gentoo_create_doc
} }
pkg_postinst() { pkg_postinst() {
readme.gentoo_print_elog
xdg_desktop_database_update xdg_desktop_database_update
if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles && if use apparmor && [[ -z ${ROOT} && -e /sys/kernel/security/apparmor/profiles &&