summaryrefslogtreecommitdiff
path: root/dev-libs/appstream
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/appstream')
-rw-r--r--dev-libs/appstream/Manifest5
-rw-r--r--dev-libs/appstream/appstream-0.10.6-r1.ebuild71
-rw-r--r--dev-libs/appstream/appstream-0.11.5.ebuild60
-rw-r--r--dev-libs/appstream/metadata.xml14
4 files changed, 150 insertions, 0 deletions
diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
new file mode 100644
index 000000000000..da0b11525aa0
--- /dev/null
+++ b/dev-libs/appstream/Manifest
@@ -0,0 +1,5 @@
+DIST appstream-0.10.6.tar.gz 1821879 SHA256 cac8f86a375eda4df06375732af80f2bb7e8682ea0d1e72ddd9e20e9c84b9444 SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256 WHIRLPOOL d895df7b6682eb2834ee24504e5bb7924a492317800094282eb38ad17a28995d9dcbde4925522272dacf6cff738847d333eb00d1f86c8c088baf257da74c505b
+DIST appstream-0.11.5.tar.gz 1856204 SHA256 5ba7e87040805c38a14201984e1ab0dc383ac537766bef0cea63e38575937872 SHA512 308f65df2d03f09a5fdfe1d5b61ed37ddfd73a6f7cd861f685463c45ba17a2a937ba34216b4d5f533cb5f9f56c65ff9b261e03d07aaab74bec3f89e5bfb57d7b WHIRLPOOL e5d825db7a112c27a9b8692c1f1dc4c94f2f00749153b43662271a67d5af297c3ddcf16b3864401cabd013f388377e6dff5cd6593a266c2db825fcf7c8b99a87
+EBUILD appstream-0.10.6-r1.ebuild 1474 SHA256 580ee4d550532201c4114bb53f05b37f005f0ee954b5d917aac99dcdfc2226b7 SHA512 53f95d11310cb6926059ece55a46240883a7e6f7dd6322b319cd8697ac306f4bd106e38aa05f04ebee33c481ea4bb82ab3d94ae664f925ee58df4fc63066e80e WHIRLPOOL d18e0a5a9e7c8cb4967339bc8c22755a5bdbf5231fa109312233745c96cbac83340c1d8e08d8a8a4959527487e595bc899f4ba05dac24c68ecca12ef7af68c56
+EBUILD appstream-0.11.5.ebuild 1348 SHA256 85a11c09c6de7a0a1292d52ac6da016a32f749fc6bcc46c8511e7fa18d7a8d8f SHA512 41bc8f2b0f8e3c838eb3da4997cef8136a99756db39474380761abd11039d4bffd5e9010d8f3ab71b0b3f80dddec29b31f1c18c02c4a7d366af7d727dc80ae54 WHIRLPOOL 9406915eae1558be9249da0bec995f5704831b6b6bf664f1f23ce9af44ba4c8d5071f017ccb65147da9deecc6de0fa1c29b37b383675b517c56f3bad0032011f
+MISC metadata.xml 399 SHA256 9131d2705853aaa49211593f2a3f8ea6f3f43c0fc519740630c0e49ec840471d SHA512 1f81f3603fc34a3dbeb570fe83ed2ff97e4ea2391cda7d7ceef017624a8498052cda4a21dee1f6b8eb41407998dfcecd765bde556837d00b13caaa41989f934f WHIRLPOOL 7850351cf69a94f8f54b624de1ab94175427fbbe372b88882831b349ecefbd69d1c6afc0cda2c35edb8c86939c74a918bb907c5aafa66c3c5f1cfa6fb19fd374
diff --git a/dev-libs/appstream/appstream-0.10.6-r1.ebuild b/dev-libs/appstream/appstream-0.10.6-r1.ebuild
new file mode 100644
index 000000000000..5d7a92367ffe
--- /dev/null
+++ b/dev-libs/appstream/appstream-0.10.6-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils xdg-utils
+
+if [[ ${PV} = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ximion/${PN}"
+else
+ inherit versionator
+ MY_PV="$(replace_all_version_separators '_')"
+ MY_P="APPSTREAM_${MY_PV}"
+ SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm ~arm64 x86"
+ S="${WORKDIR}/${PN}-${MY_P}"
+fi
+
+DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
+HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
+
+LICENSE="LGPL-2.1+ GPL-2+"
+# check APPSTREAM_LIB_API_LEVEL
+SLOT="0/4"
+IUSE="apt doc qt5 test"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ dev-libs/libxml2:2
+ dev-libs/libyaml
+ dev-libs/snowball-stemmer
+ qt5? ( dev-qt/qtcore:5 )
+"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.5
+ dev-util/itstool
+ sys-devel/gettext
+ test? (
+ qt5? ( dev-qt/qttest:5 )
+ )
+"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ if ! use test; then
+ pushd qt > /dev/null || die
+ cmake_comment_add_subdirectory tests
+ popd > /dev/null || die
+ fi
+}
+
+src_configure() {
+ xdg_environment_reset
+
+ local mycmakeargs=(
+ -DSTEMMING=ON
+ -DL18N=ON
+ -DVAPI=OFF
+ -DMAINTAINER=OFF
+ -DSANITIZERS=OFF
+ -DDOCUMENTATION=OFF
+ -DAPT_SUPPORT=$(usex apt)
+ -DINSTALL_PREBUILT_DOCS=$(usex doc)
+ -DQT=$(usex qt5)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild
new file mode 100644
index 000000000000..1a70d5615e08
--- /dev/null
+++ b/dev-libs/appstream/appstream-0.11.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson xdg-utils
+
+if [[ ${PV} = 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ximion/${PN}"
+else
+ inherit versionator
+ MY_PV="$(replace_all_version_separators '_')"
+ MY_P="APPSTREAM_${MY_PV}"
+ SRC_URI="https://github.com/ximion/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ S="${WORKDIR}/${PN}-${MY_P}"
+fi
+
+DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
+HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
+
+LICENSE="LGPL-2.1+ GPL-2+"
+# check as_api_level
+SLOT="0/4"
+IUSE="apt doc qt5 test"
+
+RDEPEND="
+ dev-libs/glib:2
+ dev-libs/gobject-introspection
+ dev-libs/libxml2:2
+ dev-libs/libyaml
+ dev-libs/snowball-stemmer
+ qt5? ( dev-qt/qtcore:5 )
+"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.5
+ dev-util/itstool
+ >=dev-util/meson-0.42.0
+ sys-devel/gettext
+ test? (
+ qt5? ( dev-qt/qttest:5 )
+ )
+"
+
+src_configure() {
+ xdg_environment_reset
+
+ local emesonargs=(
+ -Denable-docs=false
+ -Denable-maintainer=false
+ -Denable-stemming=true
+ -Denable-vapi=false
+ -Denable-apt-support=$(usex apt true false)
+ -Denable-apidocs=$(usex doc true false)
+ -Denable-qt=$(usex qt5 true false)
+ )
+
+ meson_src_configure
+}
diff --git a/dev-libs/appstream/metadata.xml b/dev-libs/appstream/metadata.xml
new file mode 100644
index 000000000000..f33a7f5bc7e6
--- /dev/null
+++ b/dev-libs/appstream/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <use>
+ <flag name="apt">Enables Debians APT support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ximion/appstream</remote-id>
+ </upstream>
+</pkgmetadata>