mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 00:20:30 +00:00
new package: appstream-glib
This commit is contained in:
19
x11-packages/appstream-glib/build.sh
Normal file
19
x11-packages/appstream-glib/build.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://people.freedesktop.org/~hughsient/appstream-glib/
|
||||
TERMUX_PKG_DESCRIPTION="Provides GObjects and helper methods to make it easy to read and write AppStream metadata"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=0.8.1
|
||||
TERMUX_PKG_SRCURL=https://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-${TERMUX_PKG_VERSION}.tar.xz
|
||||
TERMUX_PKG_SHA256=68a3d007f5b3aa84592dbef07950d9acf327da97ec8a6e88a90575d9055ddf6d
|
||||
TERMUX_PKG_DEPENDS="fontconfig, freetype, gdk-pixbuf, glib, gtk3, json-glib, libarchive, libcairo, libcurl, libstemmer, libuuid, libyaml, pango"
|
||||
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner"
|
||||
TERMUX_PKG_DISABLE_GIR=false
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
-Drpm=false
|
||||
-Dgtk-doc=false
|
||||
-Dintrospection=true
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
termux_setup_gir
|
||||
}
|
||||
68
x11-packages/appstream-glib/gir/0.8.1/AppStreamGlib-1.0.xml
Normal file
68
x11-packages/appstream-glib/gir/0.8.1/AppStreamGlib-1.0.xml
Normal file
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0"?>
|
||||
<dump>
|
||||
<class name="AsBundle" get-type="as_bundle_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsFormat" get-type="as_format_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsIcon" get-type="as_icon_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsLaunchable" get-type="as_launchable_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsProvide" get-type="as_provide_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsChecksum" get-type="as_checksum_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsRelease" get-type="as_release_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsImage" get-type="as_image_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsScreenshot" get-type="as_screenshot_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsRequire" get-type="as_require_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsReview" get-type="as_review_get_type" parents="GObject">
|
||||
<property name="id" type="gchararray" flags="7"/>
|
||||
<property name="summary" type="gchararray" flags="7"/>
|
||||
<property name="description" type="gchararray" flags="7"/>
|
||||
<property name="locale" type="gchararray" flags="7"/>
|
||||
<property name="rating" type="gint" flags="7"/>
|
||||
<property name="version" type="gchararray" flags="7"/>
|
||||
<property name="reviewer-id" type="gchararray" flags="7"/>
|
||||
<property name="reviewer-name" type="gchararray" flags="7"/>
|
||||
<property name="date" type="AsReview" flags="7"/>
|
||||
<property name="flags" type="guint64" flags="7"/>
|
||||
</class>
|
||||
<class name="AsSuggest" get-type="as_suggest_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsContentRating" get-type="as_content_rating_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsAgreementSection" get-type="as_agreement_section_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsAgreement" get-type="as_agreement_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsTranslation" get-type="as_translation_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsApp" get-type="as_app_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsProblem" get-type="as_problem_get_type" parents="GObject">
|
||||
</class>
|
||||
<class name="AsStore" get-type="as_store_get_type" parents="GObject">
|
||||
<signal name="changed" return="void" when="last">
|
||||
</signal>
|
||||
<signal name="app-added" return="void" when="last">
|
||||
<param type="AsApp"/>
|
||||
</signal>
|
||||
<signal name="app-removed" return="void" when="last">
|
||||
<param type="AsApp"/>
|
||||
</signal>
|
||||
<signal name="app-changed" return="void" when="last">
|
||||
<param type="AsApp"/>
|
||||
</signal>
|
||||
</class>
|
||||
<error-quark function="as_icon_error_quark" domain="as-icon-error-quark"/>
|
||||
<error-quark function="as_app_error_quark" domain="as-app-error-quark"/>
|
||||
<error-quark function="as_inf_error_quark" domain="as-inf-error-quark"/>
|
||||
<error-quark function="as_node_error_quark" domain="as-node-error-quark"/>
|
||||
<error-quark function="as_store_error_quark" domain="as-store-error-quark"/>
|
||||
<error-quark function="as_utils_error_quark" domain="as-utils-error-quark"/>
|
||||
</dump>
|
||||
@@ -0,0 +1,58 @@
|
||||
--- a/libappstream-builder/plugins/meson.build
|
||||
+++ b/libappstream-builder/plugins/meson.build
|
||||
@@ -17,6 +17,7 @@
|
||||
gdkpixbuf,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -34,6 +35,7 @@
|
||||
gdkpixbuf,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -51,6 +53,7 @@
|
||||
gdkpixbuf,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -68,6 +71,7 @@
|
||||
gdkpixbuf,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -85,6 +89,7 @@
|
||||
gdkpixbuf,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -103,6 +108,7 @@
|
||||
json_glib,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
@@ -124,6 +130,7 @@
|
||||
fontconfig,
|
||||
],
|
||||
c_args : asb_plugins_cargs,
|
||||
+ link_with: asglib,
|
||||
name_suffix: name_suffix,
|
||||
install : true,
|
||||
install_dir : plugindir,
|
||||
Reference in New Issue
Block a user