mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
sys-apps/flatpak: New package.
Need: - some extra polishing - re-introduce kde use-flag (& port KDE xdg portal) - other stuff, feel free to touch it directly without my consent I stole it (and slightly improved) from unlisted flatpak overlay, where author has no intention to even get listed in layman overlays. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
1
sys-apps/flatpak/Manifest
Normal file
1
sys-apps/flatpak/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST flatpak-1.6.3.tar.xz 1340936 BLAKE2B ed697161a6ea10de7910438ef19d3a27d6bc4fc6b4ab8d14a955fb0ba6299950d13b25bf356b9b3341395441d378c0d0f3000dc0dd983a922090372d8e67a30d SHA512 8527914dd728d6bc4d28fcc7740514a370aad7c49c65e6126cdc237886dc3a5cb173a7fa69d8374a7502e08b1429b69bf24ee700a7d723fc090f9661534ca7b4
|
||||
85
sys-apps/flatpak/flatpak-1.6.3.ebuild
Normal file
85
sys-apps/flatpak/flatpak-1.6.3.ebuild
Normal file
@@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools linux-info
|
||||
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
DESCRIPTION="Application distribution framework"
|
||||
HOMEPAGE="http://flatpak.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc gnome gtk introspection policykit seccomp"
|
||||
|
||||
# FIXME: systemd is automagic dep.
|
||||
RDEPEND="
|
||||
acct-group/flatpak
|
||||
acct-user/flatpak
|
||||
>=dev-util/ostree-2019.5[gpg(+)]
|
||||
|| ( dev-util/ostree[curl]
|
||||
dev-util/ostree[soup] )
|
||||
>=net-libs/libsoup-2.4
|
||||
>=gnome-base/dconf-0.26
|
||||
>=dev-libs/appstream-glib-0.5.10
|
||||
x11-libs/gdk-pixbuf:2
|
||||
>=dev-libs/glib-2.56:2
|
||||
>=dev-libs/libxml2-2.4
|
||||
sys-apps/dbus
|
||||
dev-libs/json-glib
|
||||
x11-apps/xauth
|
||||
>=app-arch/libarchive-2.8
|
||||
>=app-crypt/gpgme-1.1.8
|
||||
>=sys-fs/fuse-2.9.9:0
|
||||
policykit? ( >=sys-auth/polkit-0.98 )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gettext-0.18.2
|
||||
dev-util/gdbus-codegen
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.40 )
|
||||
doc? ( >=dev-util/gtk-doc-1.20
|
||||
dev-libs/libxslt )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
>=sys-devel/automake-1.13.4
|
||||
sys-devel/bison
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# FIXME: is there a nicer way to do this?
|
||||
PDEPEND="
|
||||
gtk? ( >=sys-apps/xdg-desktop-portal-0.10
|
||||
sys-apps/xdg-desktop-portal-gtk )
|
||||
gnome? ( >=sys-apps/xdg-desktop-portal-0.10
|
||||
sys-apps/xdg-desktop-portal-gtk )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
local CONFIG_CHECK="~USER_NS"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: the gtk-doc check doesn't seem to be working
|
||||
# TODO: split out bubblewrap
|
||||
# TODO: split out xdg-dbus-proxy?
|
||||
# TODO: We do not provide libmalcontent yet.
|
||||
local myeconfargs=(
|
||||
--enable-sandboxed-triggers \
|
||||
--enable-xauth \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--without-system-bubblewrap \
|
||||
--without-system-dbus-proxy \
|
||||
$(use_enable doc documentation) \
|
||||
$(use_enable doc gtk-doc) \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable policykit system-helper) \
|
||||
$(use_enable seccomp)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
}
|
||||
8
sys-apps/flatpak/metadata.xml
Normal file
8
sys-apps/flatpak/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>david@ixit.cz</email>
|
||||
<name>David Heidelberg</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user