diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-26 23:43:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-26 23:43:19 +0000 |
commit | adfb3fe26cfb38e3a725f65a6885336f13aea41e (patch) | |
tree | daff9ea9103b3850462dd44e81be503d68fa2a80 /x11-libs | |
parent | remove call to dohtml; the eclass does this already (diff) | |
download | enlightenment-adfb3fe26cfb38e3a725f65a6885336f13aea41e.tar.gz enlightenment-adfb3fe26cfb38e3a725f65a6885336f13aea41e.tar.bz2 enlightenment-adfb3fe26cfb38e3a725f65a6885336f13aea41e.zip |
combine common ecore checks into a for loop
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/etk/Manifest | 8 | ||||
-rw-r--r-- | x11-libs/etk/etk-9999.ebuild | 20 | ||||
-rw-r--r-- | x11-libs/ewl/Manifest | 8 | ||||
-rw-r--r-- | x11-libs/ewl/ewl-9999.ebuild | 27 |
4 files changed, 24 insertions, 39 deletions
diff --git a/x11-libs/etk/Manifest b/x11-libs/etk/Manifest index 42e6679..ddd406e 100644 --- a/x11-libs/etk/Manifest +++ b/x11-libs/etk/Manifest @@ -1,7 +1,7 @@ -EBUILD etk-9999.ebuild 942 RMD160 bc04507fb7ca599924f54ef289af2836c60295f6 SHA1 2886737decc03e345d5f292e9663769ce2dd3003 SHA256 cd44e81859e99468a3110863dac994b8d373c060e99c9c61bed1cb4bca8751c0 -MD5 d6bb7f0efa6676edf70dd6fb55cfc242 etk-9999.ebuild 942 -RMD160 bc04507fb7ca599924f54ef289af2836c60295f6 etk-9999.ebuild 942 -SHA256 cd44e81859e99468a3110863dac994b8d373c060e99c9c61bed1cb4bca8751c0 etk-9999.ebuild 942 +EBUILD etk-9999.ebuild 852 RMD160 84ae8ea4637db9087c01f35e4f682dc8dd2a99c2 SHA1 99d5396a9125a9a134f45d39f09936d35fcd4b62 SHA256 4329d5476e71ef58601d3824dccfae714f89812c7c5e21883c8b6d99bacec610 +MD5 fd11a69a300877b99e59b616852de395 etk-9999.ebuild 852 +RMD160 84ae8ea4637db9087c01f35e4f682dc8dd2a99c2 etk-9999.ebuild 852 +SHA256 4329d5476e71ef58601d3824dccfae714f89812c7c5e21883c8b6d99bacec610 etk-9999.ebuild 852 MISC metadata.xml 221 RMD160 2699c0059639536eb7befa077a27e437569a26ba SHA1 4bef3741184af2e2d984fec094cd0ab39ae2e624 SHA256 1d72b91d3ef79fdff0049c23a645d8595a5fb72ea7e5d5b6fa43cfc18e9a4627 MD5 1fb0cef8c20e31d8fee121ebb2205588 metadata.xml 221 RMD160 2699c0059639536eb7befa077a27e437569a26ba metadata.xml 221 diff --git a/x11-libs/etk/etk-9999.ebuild b/x11-libs/etk/etk-9999.ebuild index ecaba8a..417e22b 100644 --- a/x11-libs/etk/etk-9999.ebuild +++ b/x11-libs/etk/etk-9999.ebuild @@ -18,19 +18,15 @@ pkg_setup() { die "Re-emerge evas with USE=png" fi - if use X ; then - if ! built_with_use x11-libs/ecore X ; then - eerror "Re-emerge ecore with USE=X" - die "Re-emerge ecore with USE=X" + local flag + for flag in fbcon X ; do + if use ${flag} ; then + if ! built_with_use x11-libs/ecore ${flag} ; then + eerror "Re-emerge ecore with USE=${flag}" + die "Re-emerge ecore with USE=${flag}" + fi fi - fi - - if use fbcon ; then - if ! built_with_use x11-libs/ecore fbcon ; then - eerror "Re-emerge ecore with USE=fbcon" - die "Re-emerge ecore with USE=fbcon" - fi - fi + done enlightenment_pkg_setup } diff --git a/x11-libs/ewl/Manifest b/x11-libs/ewl/Manifest index 7eab110..bfddc75 100644 --- a/x11-libs/ewl/Manifest +++ b/x11-libs/ewl/Manifest @@ -3,10 +3,10 @@ EBUILD ewl-0.0.4.007.ebuild 724 RMD160 c61dacd5dd0fde1d641d647836e4a394ec97d125 MD5 f826d011d2ba511b10d9c9668790af1d ewl-0.0.4.007.ebuild 724 RMD160 c61dacd5dd0fde1d641d647836e4a394ec97d125 ewl-0.0.4.007.ebuild 724 SHA256 e38e9d135a09af20a24ae967d1ba244d90e44833ecde9c595440abff104ddc5e ewl-0.0.4.007.ebuild 724 -EBUILD ewl-9999.ebuild 1302 RMD160 2ef55c3174caae0a876761e642b1484d345c5cde SHA1 fbf92e183cdc93ea131c631859a25247e987c882 SHA256 f3bbbb2d59e1ea722b40968b69b6bf6b13caf4b5381a3e69cbbe94aa6f0fa1dd -MD5 94e45b52f32730b8943fd8a7b85eeac6 ewl-9999.ebuild 1302 -RMD160 2ef55c3174caae0a876761e642b1484d345c5cde ewl-9999.ebuild 1302 -SHA256 f3bbbb2d59e1ea722b40968b69b6bf6b13caf4b5381a3e69cbbe94aa6f0fa1dd ewl-9999.ebuild 1302 +EBUILD ewl-9999.ebuild 1051 RMD160 79b81bac1c7c94b0085231bf3ff8345b7445ae51 SHA1 2d31722f9ae6723dfaa78794bb6be10a1bd8402e SHA256 bc865efd59e70e0083aaa142d797b20df780638cd800e84b925066763685812d +MD5 baad5a12d41324d7cb68e1546c159882 ewl-9999.ebuild 1051 +RMD160 79b81bac1c7c94b0085231bf3ff8345b7445ae51 ewl-9999.ebuild 1051 +SHA256 bc865efd59e70e0083aaa142d797b20df780638cd800e84b925066763685812d ewl-9999.ebuild 1051 MISC metadata.xml 500 RMD160 80136a542202ef90f11dd7396cbc84193db4fe11 SHA1 f08d765867830b33a1bdb3ea7671bd6aa867e6a1 SHA256 98d626ccc08da249c275209d5d6272e9aa778c83db3c4488aa861eddd7b53752 MD5 3e9153d04c3f4c92c55d72c6fcf62fac metadata.xml 500 RMD160 80136a542202ef90f11dd7396cbc84193db4fe11 metadata.xml 500 diff --git a/x11-libs/ewl/ewl-9999.ebuild b/x11-libs/ewl/ewl-9999.ebuild index 0e1f8ac..fb07528 100644 --- a/x11-libs/ewl/ewl-9999.ebuild +++ b/x11-libs/ewl/ewl-9999.ebuild @@ -22,26 +22,15 @@ pkg_setup() { die "Re-emerge evas with USE=png" fi - if use X ; then - if ! built_with_use x11-libs/ecore X ; then - eerror "Re-emerge ecore with USE=X" - die "Re-emerge ecore with USE=X" + local flag + for flag in fbcon opengl X ; do + if use ${flag} ; then + if ! built_with_use x11-libs/ecore ${flag} ; then + eerror "Re-emerge ecore with USE=${flag}" + die "Re-emerge ecore with USE=${flag}" + fi fi - fi - - if use fbcon ; then - if ! built_with_use x11-libs/ecore fbcon ; then - eerror "Re-emerge ecore with USE=fbcon" - die "Re-emerge ecore with USE=fbcon" - fi - fi - - if use opengl ; then - if ! built_with_use x11-libs/ecore opengl ; then - eerror "Re-emerge ecore with USE=opengl" - die "Re-emerge ecore with USE=opengl" - fi - fi + done enlightenment_pkg_setup } |