[haiku-commits] haiku: hrev44091 - build/jam

  • From: jscipione@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 2 May 2012 05:22:59 +0200 (CEST)

hrev44091 adds 1 changeset to branch 'master'
old head: 5426ff9347f8c71056c786ef937da480c1f4c21b
new head: ab0d7676f84bd5127738935c49028966c29f5be5

----------------------------------------------------------------------------

ab0d767: Added Colors\! optional package

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44091
Commit:      ab0d7676f84bd5127738935c49028966c29f5be5
URL:         http://cgit.haiku-os.org/haiku/commit/?id=ab0d767
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Wed May  2 03:22:26 2012 UTC

----------------------------------------------------------------------------

1 file changed, 21 insertions(+)
build/jam/OptionalPackages |   21 +++++++++++++++++++++

----------------------------------------------------------------------------

diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages
index 7c7f5cd..afd77a7 100644
--- a/build/jam/OptionalPackages
+++ b/build/jam/OptionalPackages
@@ -34,6 +34,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
 #      Clockwerk                               - native audio/video compositing
 #      CLucene                                 - indexed file search
 #      CMake                                   - cross platform make
+#      Colors!                                 - color picker application
 #      Ctags                                   - exuberant ctags (source files 
indexing)
 #      Curl                                    - a client that groks URLs
 #      CVS                                             - the version control 
system
@@ -463,6 +464,26 @@ if [ IsOptionalHaikuImagePackageAdded CMake ] {
 }
 
 
+# Colors!
+if [ IsOptionalHaikuImagePackageAdded Colors! ] {
+       if $(TARGET_ARCH) != x86 {
+               Echo "No optional package Colors! available for $(TARGET_ARCH)" 
;
+       } else {
+               if $(HAIKU_GCC_VERSION[1]) >= 4 {
+                       InstallOptionalHaikuImagePackage
+                               Colors!-2.0-x86-gcc4-2012-04-30.zip
+                               : 
$(baseURL)/Colors\!-2.0-x86-gcc4-2012-04-30.zip ;
+               } else {
+                       InstallOptionalHaikuImagePackage
+                               Colors!-2.0-x86-gcc2-2012-04-30.zip
+                               : 
$(baseURL)/Colors\!-2.0-x86-gcc2-2012-04-30.zip ;
+               }
+               AddSymlinkToHaikuImage home config settings deskbar Applications
+                       : /boot/apps/Colors\!/Colors\! ;
+       }
+}
+
+
 # Ctags
 if [ IsOptionalHaikuImagePackageAdded Ctags ] {
        if $(TARGET_ARCH) != x86 {


Other related posts: