Changes

Jump to navigation Jump to search
Line 204: Line 204:  
  '''url''' = <url>
 
  '''url''' = <url>
   −
While packaging 3rd-party applications, url to download sources tarball.
+
Optional. While packaging 3rd-party applications, url to download sources tarball.
    
  '''patch''' = <path-to-patch> [patch-level] [; ...]
 
  '''patch''' = <path-to-patch> [patch-level] [; ...]
   −
If ''source'' option is used, 3rd-party sources might be patched.
+
Optional. If ''source'' option is used, 3rd-party sources might be patched.
    
  '''exec''' = <shell-command>
 
  '''exec''' = <shell-command>
   −
Execute external program to create sources tarball. Option might be used, e.g., to run {{Code|make dist}} command. After executing the ''exec'' shell command, {{Code|sweets}} will pick up newly appearing tarball if it was created in the sweet root directory.
+
Optional. Execute external program to create sources tarball. Option might be used, e.g., to run {{Code|make dist}} command. After executing the ''exec'' shell command, {{Code|sweets}} will pick up newly appearing tarball if it was created in the sweet root directory.
    
  '''include''' = <glob-pattern> [; ...]
 
  '''include''' = <glob-pattern> [; ...]
 
  '''exclude''' = <glob-pattern> [; ...]
 
  '''exclude''' = <glob-pattern> [; ...]
   −
If neither ''url'' nor ''exec'' options were used, all files will be bundled and these [[Platform_Team/Guide/Packaging#Glob patterns|glob patterns]] might be used to concretize the selection.
+
Optional. If neither ''url'' nor ''exec'' options were used, all files will be bundled and these [[Platform_Team/Guide/Packaging#Glob patterns|glob patterns]] might be used to concretize the selection.
    
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
 
  '''requires''' = <dependency> [(=|>=|<) <version>] [; ...]
   −
The dependencies that should be present before creating sources tarball. For example, if the ''exec'' command generates .c files from .vala, the vala dependency should be mentioned in the ''requires'' option.
+
Optional. The dependencies that should be present before creating sources tarball. For example, if the ''exec'' command generates .c files from .vala, the vala dependency should be mentioned in the ''requires'' option.
    
== Predefined options ==
 
== Predefined options ==

Navigation menu