aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2012-09-21 11:11:04 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2012-09-22 21:23:21 +0530
commit0af1c3cbb8ac56daa6a1df8b8b907d6a191faf8c (patch)
tree11290e9714af29d37290ed93329b32bf873f00fb /app-crypt/libsecret
parentdev-libs/libgweather: 3.5.91 → 3.5.92 (diff)
downloadgnome-0af1c3cbb8ac56daa6a1df8b8b907d6a191faf8c.tar.gz
gnome-0af1c3cbb8ac56daa6a1df8b8b907d6a191faf8c.tar.bz2
gnome-0af1c3cbb8ac56daa6a1df8b8b907d6a191faf8c.zip
app-crypt/libsecret: 0.9 → 0.10
Diffstat (limited to 'app-crypt/libsecret')
-rw-r--r--app-crypt/libsecret/Manifest6
-rw-r--r--app-crypt/libsecret/libsecret-0.10.ebuild (renamed from app-crypt/libsecret/libsecret-0.9.ebuild)33
-rw-r--r--app-crypt/libsecret/libsecret-9999.ebuild33
3 files changed, 53 insertions, 19 deletions
diff --git a/app-crypt/libsecret/Manifest b/app-crypt/libsecret/Manifest
index f1933916..3f54300e 100644
--- a/app-crypt/libsecret/Manifest
+++ b/app-crypt/libsecret/Manifest
@@ -1,3 +1,3 @@
-DIST libsecret-0.9.tar.xz 473512 SHA256 8b1abfed2f5c88ff9a1801d5b6643331cc833dfe8d8b1dca982ae23bbd6de535 SHA512 d7ded55008a116939ad7b81b27b897a645ee16e6a6da13c2be9bf53dafe59024ff06211d45282e591f09a104a2f0f2af5b7b8fc82f14da7c8283aec38b36880a WHIRLPOOL af18dd68e6a551fbabc22b1a1a4c5da3d39401981de87e71222d59f33e256d94fc9897287aa36d816db483b7f372c4b5315485c657e93b4eb9d2d929d3933d49
-EBUILD libsecret-0.9.ebuild 1218 SHA256 c40c6ef83a478e39457da98fb6178db75374aff1d35feb782a31aaab118706fe SHA512 1322ecaf192b0f8349cd230cbd78b7bd4cfd0b630c0a6c566bbca65967c783d6560af3b194ea83c3a21e495a8e61c978fa2e6ff8839379dd91d8bdc025272486 WHIRLPOOL 6822d519a668324c278593d719e41fedfe37dda2d6c0abbc12307f403d11bd9bc27bcb5b85e607645bb9d316e160c4a854dfe3d3d40abe92287b5b8222c67939
-EBUILD libsecret-9999.ebuild 1218 SHA256 c40c6ef83a478e39457da98fb6178db75374aff1d35feb782a31aaab118706fe SHA512 1322ecaf192b0f8349cd230cbd78b7bd4cfd0b630c0a6c566bbca65967c783d6560af3b194ea83c3a21e495a8e61c978fa2e6ff8839379dd91d8bdc025272486 WHIRLPOOL 6822d519a668324c278593d719e41fedfe37dda2d6c0abbc12307f403d11bd9bc27bcb5b85e607645bb9d316e160c4a854dfe3d3d40abe92287b5b8222c67939
+DIST libsecret-0.10.tar.xz 473952 SHA256 4015ac83042fa408bf66ca8526709662d194fe566181db6ab3d86a6ea4ab8880 SHA512 28b09871e532c26f04b760d014b54cfb478997840e010a07d8862ebf9f8f87f7e67f5ec60e486577020aee29ea75701d7263891126aec638eaad9245e5c2c076 WHIRLPOOL 5b55093a83dfacefad59735ecae895d5145b289d7ee2b0181345fa0f6053b7c8f736ac7833fc686b9b180cd0b977d5048b25ee0952dccb6f28764359926b8165
+EBUILD libsecret-0.10.ebuild 1564 SHA256 8b6d7b588147ac67667862ce48f9764178f8f8def4e918a9e05a585253e5c3ca SHA512 696610417c1514f1d47c44e85bab16b6b0170cacf67b02565df7496391967561fce973fe0611678fa9ef91712d721d1a3b00cf4b0eaa1443be32db598291721e WHIRLPOOL 10b52862b8e491518d206b661ec9051791f3f7d79ca73c9c2aa4deaa338b65ef346dcdbf8d9534d12085c3112caad6c32ccc89e275726bf03b6cfa0b37ad267d
+EBUILD libsecret-9999.ebuild 1564 SHA256 8b6d7b588147ac67667862ce48f9764178f8f8def4e918a9e05a585253e5c3ca SHA512 696610417c1514f1d47c44e85bab16b6b0170cacf67b02565df7496391967561fce973fe0611678fa9ef91712d721d1a3b00cf4b0eaa1443be32db598291721e WHIRLPOOL 10b52862b8e491518d206b661ec9051791f3f7d79ca73c9c2aa4deaa338b65ef346dcdbf8d9534d12085c3112caad6c32ccc89e275726bf03b6cfa0b37ad267d
diff --git a/app-crypt/libsecret/libsecret-0.9.ebuild b/app-crypt/libsecret/libsecret-0.10.ebuild
index f7e2069d..cd457a30 100644
--- a/app-crypt/libsecret/libsecret-0.9.ebuild
+++ b/app-crypt/libsecret/libsecret-0.10.ebuild
@@ -3,10 +3,12 @@
# $Header: $
EAPI="4"
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.18"
inherit gnome2 virtualx
if [[ ${PV} = 9999 ]]; then
- inherit gnome2-live
+ inherit gnome2-live vala
fi
DESCRIPTION="libsecret is a library for storing and retrieving secrets such as passwords"
@@ -29,23 +31,38 @@ DEPEND="${RDEPEND}
dev-libs/libxslt
sys-devel/gettext
virtual/pkgconfig
+ dev-util/gdbus-codegen
>=dev-util/intltool-0.35.0
- >=dev-lang/vala-0.17.2.12:0.18
doc? ( >=dev-util/gtk-doc-1.9 )"
+# Only needed while regenerating from *.vala *.vapi
+if [[ ${PV} = 9999 ]]; then
+ DEPEND+="
+ $(vala_depend)"
+fi
+
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README"
- # VALAC is used by tests
- # VAPIGEN is used by libsecret
G2CONF="
- --disable-maintainer-mode
--enable-manpages
--disable-strict
--disable-coverage
--disable-static
- $(use_enable crypt gcrypt)
- VALAC=$(type -P valac-0.18)
- VAPIGEN=$(type -P vapigen-0.18)"
+ $(use_enable crypt gcrypt)"
+
+ # Only needed while regenerating from *.vala *.vapi
+ # VALAC is used by tests
+ # VAPIGEN is used by libsecret
+ if [[ ${PV} = 9999 ]]; then
+ local vala_version="$(vala_best_api_version)"
+ G2CONF="
+ VALAC=$(type -P valac-${vala_version})
+ VAPIGEN=$(type -P vapigen-${vala_version})"
+ fi
+}
+
+src_prepare() {
+ gnome2_src_prepare
}
src_test() {
diff --git a/app-crypt/libsecret/libsecret-9999.ebuild b/app-crypt/libsecret/libsecret-9999.ebuild
index f7e2069d..cd457a30 100644
--- a/app-crypt/libsecret/libsecret-9999.ebuild
+++ b/app-crypt/libsecret/libsecret-9999.ebuild
@@ -3,10 +3,12 @@
# $Header: $
EAPI="4"
+VALA_USE_DEPEND="vapigen"
+VALA_MIN_API_VERSION="0.18"
inherit gnome2 virtualx
if [[ ${PV} = 9999 ]]; then
- inherit gnome2-live
+ inherit gnome2-live vala
fi
DESCRIPTION="libsecret is a library for storing and retrieving secrets such as passwords"
@@ -29,23 +31,38 @@ DEPEND="${RDEPEND}
dev-libs/libxslt
sys-devel/gettext
virtual/pkgconfig
+ dev-util/gdbus-codegen
>=dev-util/intltool-0.35.0
- >=dev-lang/vala-0.17.2.12:0.18
doc? ( >=dev-util/gtk-doc-1.9 )"
+# Only needed while regenerating from *.vala *.vapi
+if [[ ${PV} = 9999 ]]; then
+ DEPEND+="
+ $(vala_depend)"
+fi
+
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS README"
- # VALAC is used by tests
- # VAPIGEN is used by libsecret
G2CONF="
- --disable-maintainer-mode
--enable-manpages
--disable-strict
--disable-coverage
--disable-static
- $(use_enable crypt gcrypt)
- VALAC=$(type -P valac-0.18)
- VAPIGEN=$(type -P vapigen-0.18)"
+ $(use_enable crypt gcrypt)"
+
+ # Only needed while regenerating from *.vala *.vapi
+ # VALAC is used by tests
+ # VAPIGEN is used by libsecret
+ if [[ ${PV} = 9999 ]]; then
+ local vala_version="$(vala_best_api_version)"
+ G2CONF="
+ VALAC=$(type -P valac-${vala_version})
+ VAPIGEN=$(type -P vapigen-${vala_version})"
+ fi
+}
+
+src_prepare() {
+ gnome2_src_prepare
}
src_test() {