Skip to content

Commit

Permalink
dev-libs/appstream: version bump 0.10.6
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
Michael Palimaka committed Jan 26, 2017
1 parent a591ce7 commit 3d9610e
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-libs/appstream/Manifest
Original file line number Diff line number Diff line change
@@ -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
62 changes: 62 additions & 0 deletions dev-libs/appstream/appstream-0.10.6.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 3d9610e

Please sign in to comment.