Skip to content

Commit

Permalink
dev-vcs/gitg: misc build-time fixes
Browse files Browse the repository at this point in the history
Drop gnome-common, build system is now meson and does not need this.
Upgrade requirement on gettext due to use of meson. Add missing call to
xdg_environment_reset. Make use of meson_use. Drop unneeded pkg_setup
phase. These modifications only affect build so no bump.

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Gilles Dartiguelongue <[email protected]>
  • Loading branch information
EvaSDK committed Dec 29, 2018
1 parent 12a98ee commit 8c78309
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions dev-vcs/gitg/gitg-3.30.1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -46,23 +46,19 @@ DEPEND="${RDEPEND}
$(vala_depend)
>=dev-libs/libgit2-glib-0.24.4[vala]
>=dev-util/intltool-0.40
gnome-base/gnome-common
>=sys-devel/gettext-0.17
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
"

pkg_setup() {
use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
}

src_prepare() {
default
vala_src_prepare
xdg_environment_reset
}

src_configure() {
local emesonargs=(
-Dglade_catalog=$(usex glade true false)
$(meson_use glade glade_catalog)
# we install the module manually anyway
-Dpython=false
)
Expand Down

0 comments on commit 8c78309

Please sign in to comment.