Permalink
Browse files

ebuild: print warning if using system curl

  • Loading branch information...
1 parent 53b150e commit 6bfbde3d9a24d3baf9877d234832c18ec54ed783 @karolherbst karolherbst committed Apr 27, 2012
@@ -1,3 +1,3 @@
AUX desurium.png 14931 RMD160 c2a75f38ee22f8950be457825afebf1b68a4ff3e SHA1 e274ab7bf7cdb8a18a5155a4f7d9bb1b79eb0ddf SHA256 b764dc00b8c957b164c544b43cc68947267b30d64ce76d7f217d6e2a5393f70a
-EBUILD desurium-9999.ebuild 2335 RMD160 f8c429f2b3e15a115caadde6908135985f1ee76f SHA1 9d4f3c32a4a96e6b9946883a8fb243f7be4ef053 SHA256 cc226782b7ac78e61e2045aa145ff015e30cd3068aa45c2af13869a2510a88e1
+EBUILD desurium-9999.ebuild 2616 RMD160 627cbd2ae8126e1655072c879e49c8b34fe22fb9 SHA1 80bbe71dbe47d05c50b4e054d2b8ffff9b85934f SHA256 4ccb3f493e5e53a870bebf668ed84e50459fdd719e271c765941ea9de204d587
MISC metadata.xml 619 RMD160 fa4d8667ba612e704699319987ae2c221979a435 SHA1 e51f06e0c65b25238f65260e3a564387807a366a SHA256 865057392bf081678fd972a3a4ac040ebd8c46599025c72eea9cdc8028c4aa00
@@ -96,6 +96,14 @@ if [[ ${EAPI} != 4 ]]; then
fi
src_configure() {
+
+ # check if curl has ares enabled
+ if use !builtin-curl; then
+ ewarn "Using curl without ares USE flag is not supported by desura."
+ ewarn "It may work for your system configuration or not."
+ ewarn "See https://github.com/lodle/Desurium/issues/189 for further information"
+ fi
+
mycmakeargs=(
$(cmake-utils_use_with builtin-curl ARES)
$(cmake-utils_use debug DEBUG)
@@ -114,7 +122,7 @@ src_install() {
cmake-utils_src_install
dosym ${GAMES_PREFIX}/${PN}/run.sh ${GAMES_BINDIR}/${PN}.sh
-
+
doicon "${FILESDIR}/${PN}.png" || die
make_desktop_entry "${PN}.sh" "Desurium"

0 comments on commit 6bfbde3

Please sign in to comment.