# Write a new recipe

Source: [https://docs.qualcomm.com/doc/80-88500-2/topic/39_Write_a_new_recipe.html](https://docs.qualcomm.com/doc/80-88500-2/topic/39_Write_a_new_recipe.html)

For information about writing a new recipe, see [https://docs.yoctoproject.org/dev-manual/new-recipe.html?highlight=write+new+recipe](https://docs.yoctoproject.org/dev-manual/new-recipe.html?highlight=write+new+recipe).

Example: `gst-omx`

| gst-omx\_1.16.2.orig.tar.xz | 550.8 KB | 6362786d2b6cce34de08c86b7847f782 |
| --- | --- | --- |

1. Download gst-omx at the following location: [http://archive.ubuntu.com/ubuntu/pool/universe/g/gst-omx/gst-omx_1.12.4.orig.tar.xz](http://archive.ubuntu.com/ubuntu/pool/universe/g/gst-omx/gst-omx_1.12.4.orig.tar.xz).
        
    Before writing a recipe from scratch, find out whether someone else has already written a recipe that meets (or comes close to meeting) your needs.
2. To provide the fundamental areas of a new recipe gst-omx-1.12.4.bb, create a recipe using the following structure:

        DESCRIPTION = ""
        HOMEPAGE = ""
        LICENSE = ""
        SECTION = ""
        DEPENDS = ""
        LIC_FILES_CHKSUM = ""
        SRC_URI = ""Copy to clipboard

- **[License parameter](https://docs.qualcomm.com/doc/80-88500-2/topic/40_License_parameter.html)**
- **[Download the source code](https://docs.qualcomm.com/doc/80-88500-2/topic/41_Download_the_source_code.html)**
- **[Dependency](https://docs.qualcomm.com/doc/80-88500-2/topic/42_Dependency.html)**
- **[Setting configure arguments](https://docs.qualcomm.com/doc/80-88500-2/topic/43_Setting_configure_arguments.html)**

**Parent Topic:** [Add Ubuntu package source code to Yocto](https://docs.qualcomm.com/doc/80-88500-2/topic/37_Add_Ubuntu_package_source_code_to_Yocto.html)

Last Published: Aug 18, 2023

[Previous Topic
Find a package on the Ubuntu website](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/38_Find_a_package_on_the_Ubuntu_website.md) [Next Topic
License parameter](https://docs.qualcomm.com/bundle/publicresource/80-88500-2/topics/40_License_parameter.md)