summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-01-27 05:31:58 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-01-27 05:32:23 +1100
commit3d9610eae76db17d54e3fc7b5e119fa9c46ea358 (patch)
tree3918e12c3539cf98b1aa15e002a0cfe0b3eed29f
parentprofiles: remove solaris 5.9/sparcv9 (diff)
downloadgentoo-3d9610eae76db17d54e3fc7b5e119fa9c46ea358.tar.gz
gentoo-3d9610eae76db17d54e3fc7b5e119fa9c46ea358.tar.bz2
gentoo-3d9610eae76db17d54e3fc7b5e119fa9c46ea358.zip
dev-libs/appstream: version bump 0.10.6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
-rw-r--r--dev-libs/appstream/Manifest1
-rw-r--r--dev-libs/appstream/appstream-0.10.6.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/appstream/Manifest b/dev-libs/appstream/Manifest
index f1bb86e57830..65b5befdb905 100644
--- a/dev-libs/appstream/Manifest
+++ b/dev-libs/appstream/Manifest
@@ -1 +1,2 @@
DIST appstream-0.10.5.tar.gz 1797978 SHA256 b3f17f49c4ad7a503954f7baee16f47ba0f845c5e684798b1109db881bba2a06 SHA512 c427234049c8e8e158a7d64dc2dab6c3ea155dfe6fc0df1c2a5cd5ab611c65e36bf86ac57de69eb3dcff5ed5f71f37aef5d239e356e8e0a7a4fa763f246efb14 WHIRLPOOL bc127f66a20df1a946cdf64e66c6e4e3ea4c50653f174d6afc6f7eaa136d55352c7df2bb178ce452100ba95ab59304009546f5515f11221145b5be4274eb6841
+DIST appstream-0.10.6.tar.gz 1821879 SHA256 cac8f86a375eda4df06375732af80f2bb7e8682ea0d1e72ddd9e20e9c84b9444 SHA512 9f8b4ddc39d580c62b166df0d9a2c5e4caac1b433d25a4e9118b7c73ceea5c7b1ff78f02d682a68cdfeb8da29e806a4838cfc11637fca2982f436af333605256 WHIRLPOOL d895df7b6682eb2834ee24504e5bb7924a492317800094282eb38ad17a28995d9dcbde4925522272dacf6cff738847d333eb00d1f86c8c088baf257da74c505b
diff --git a/dev-libs/appstream/appstream-0.10.6.ebuild b/dev-libs/appstream/appstream-0.10.6.ebuild
new file mode 100644
index 000000000000..c2cf4a65054a
--- /dev/null
+++ b/dev-libs/appstream/appstream-0.10.6.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_AUTODEPS="false"
+KDE_TEST="forceoptional-recursive"
+inherit kde5 xdg-utils
+
+if [[ ${KDE_BUILD_TYPE} = live ]]; then
+ 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 ~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"
+
+RDEPEND="
+ dev-libs/glib:2
+ 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_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)
+ )
+
+ kde5_src_configure
+}