summaryrefslogtreecommitdiff
path: root/dev-libs/appstream/appstream-0.11.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/appstream/appstream-0.11.5.ebuild')
-rw-r--r--dev-libs/appstream/appstream-0.11.5.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/appstream/appstream-0.11.5.ebuild b/dev-libs/appstream/appstream-0.11.5.ebuild
index 1a70d5615e08..bf4e52ace68b 100644
--- a/dev-libs/appstream/appstream-0.11.5.ebuild
+++ b/dev-libs/appstream/appstream-0.11.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -9,8 +9,8 @@ if [[ ${PV} = 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/ximion/${PN}"
else
- inherit versionator
- MY_PV="$(replace_all_version_separators '_')"
+ inherit eapi7-ver
+ MY_PV="$(ver_rs 0- '_')"
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"
@@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
)
"
+PATCHES=( "${FILESDIR}/${P}-fix-meson-po.patch" )
+
src_configure() {
xdg_environment_reset