forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST gcab-0.6.tar.xz 316668 SHA256 a0443b904bfa7227b5155bfcdf9ea9256b6e26930b8febe1c41f972f6f1334bb SHA512 80c18f213b94402cbb4c19ed506f4a40e9c4f8deb9ddf6ee990214213f011f7638d83122b36cadff86330b524eef82969d1245b64d5d04eb5998f76cd2ca6df8 WHIRLPOOL 8e6140d6a9d11cf0ce249d15ce2fda21fbbca9c366cc938ff99398bcd32f375d07909c421ade7530611902c27e7c002d8f43ff71c04830c5062849ebe5c347e5 | ||
DIST gcab-0.7.tar.xz 332248 SHA256 a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef SHA512 db8c0b4ee2bc75b8bb540b4fe0e9304782b9848b3ab0ba3077638d13cdec652f6178206ec6474af036fba90e952ef0052dd9d19be9eb72bae97d98f8f18a0c02 WHIRLPOOL e634309e142f2e5772a8a1bc9f6e8cabd4df8d4590c5b9867c6125d287c8fffb0f07782c3c0c418d91e632e88247f7ae48540891920f99587afef1ebbdadbea5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
GCONF_DEBUG="no" | ||
VALA_USE_DEPEND="vapigen" | ||
|
||
inherit gnome2 vala | ||
|
||
DESCRIPTION="Library and tool for working with Microsoft Cabinet (CAB) files" | ||
HOMEPAGE="https://wiki.gnome.org/msitools" | ||
|
||
LICENSE="LGPL-2.1+" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" | ||
|
||
IUSE="+introspection vala" | ||
REQUIRED_USE="vala? ( introspection )" | ||
|
||
RDEPEND=" | ||
>=dev-libs/glib-2.22:2 | ||
sys-libs/zlib | ||
introspection? ( >=dev-libs/gobject-introspection-0.9.4:= ) | ||
" | ||
DEPEND="${RDEPEND} | ||
>=dev-util/gtk-doc-am-1.14 | ||
>=dev-util/intltool-0.40 | ||
sys-devel/gettext | ||
virtual/pkgconfig | ||
vala? ( $(vala_depend) ) | ||
" | ||
|
||
src_prepare() { | ||
gnome2_src_prepare | ||
use vala && vala_src_prepare | ||
} | ||
|
||
src_configure() { | ||
local myconf | ||
use vala || myconf="VAPIGEN=no" | ||
gnome2_src_configure \ | ||
--disable-static \ | ||
$(use_enable introspection) \ | ||
${myconf} | ||
} |