Index: general/genlib/libportal.xml
===================================================================
--- general/genlib/libportal.xml	(revision ec6047d832ad96db1264bd2480a1cf98dbe40a92)
+++ general/genlib/libportal.xml	(revision ec6047d832ad96db1264bd2480a1cf98dbe40a92)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY libportal-download-http "https://github.com/flatpak/libportal/releases/download/&libportal-version;/libportal-&libportal-version;.tar.xz">
+  <!ENTITY libportal-download-ftp  " ">
+  <!ENTITY libportal-md5sum        "dffd58a937dfbabc873e51029dc587f3">
+  <!ENTITY libportal-size          "52 KB">
+  <!ENTITY libportal-buildsize     "3.5 MB">
+  <!ENTITY libportal-time          "less than 0.1 SBU">
+
+]>
+
+<sect1 id="libportal" xreflabel="libportal-&libportal-version;">
+  <?dbhtml filename="libportal.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>libportal-&libportal-version;</title>
+
+  <indexterm zone="libportal">
+    <primary sortas="a-libportal">libportal</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to libportal</title>
+
+    <para>
+      The <application>libportal</application> package provides
+      a library that contains GIO-style async APIs for most Flatpak portals.
+    </para>
+
+    &lfs10_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&libportal-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&libportal-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &libportal-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &libportal-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &libportal-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &libportal-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">libportal Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="glib2"/> and
+      <xref linkend="gtk-doc"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/libportal"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of libportal</title>
+
+    <para>
+      Install <application>libportal</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd    build &amp;&amp;
+
+meson --prefix=/usr .. &amp;&amp;
+ninja</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>ninja install</userinput></screen>
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          None
+        </seg>
+        <seg>
+          libportal.so
+        </seg>
+        <seg>
+          /usr/include/libportal and
+          /usr/share/gtk-doc/html/libportal
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libportal-lib">
+        <term><filename class="libraryfile">libportal.so</filename></term>
+        <listitem>
+          <para>
+            provides GIO-style async APIs for most Flatpak portals.
+          </para>
+          <indexterm zone="libportal libportal-lib">
+            <primary sortas="c-libportal">libportal.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </sect2>
+</sect1>
