Commit 2f0c26b1 authored by Niklas Schäfer's avatar Niklas Schäfer
Browse files

added OBS

parent 7e42adab
File added
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the latest version of Atom, makes a pkg of it, and uploads to the JSS.</string>
<key>Identifier</key>
<string>de.gwdg.gitlab.itsmfae.jss.OBS</string>
<key>Input</key>
<dict>
<key>CATEGORY</key>
<string>Apps</string>
<key>GROUP_NAME_PATCHOO</key>
<string>update%NAME%</string>
<key>GROUP_NAME_SELFSERVICE</key>
<string>SelfService%NAME%</string>
<key>GROUP_TEMPLATE_PATCHOO</key>
<string>SmartGroupTemplate-patchoo.xml</string>
<key>GROUP_TEMPLATE_SELFSERVICE</key>
<string>SmartGroupTemplate-SelfService.xml</string>
<key>NAME</key>
<string>Atom</string>
<key>PKGINAME</key>
<string>Atom</string>
<key>POLICY_CATEGORY</key>
<string>0-patchoo-dev</string>
<key>POLICY_TEMPLATE_PATCHOO</key>
<string>PolicyTemplate-patchoo.xml</string>
<key>POLICY_TEMPLATE_SELFSERVICE</key>
<string>PolicyTemplate-SelfService.xml</string>
<key>SELFSERVICE_CATEGORY</key>
<string>Text Editing</string>
<key>SELF_SERVICE_DESCRIPTION</key>
<string>Free and open source software for video recording and live streaming. Download and start streaming quickly and easily on Windows, Mac or Linux.</string>
<key>SELF_SERVICE_FEATURE_MAINPAGE</key>
<string>false</string>
<key>SELF_SERVICE_ICON</key>
<string>Atom.png</string>
<key>STOP_IF_NO_JSS_UPLOAD</key>
<string>False</string>
<key>package_boot_volume_required</key>
<string>False</string>
<key>package_priority</key>
<string>10</string>
<key>version</key>
<string></string>
</dict>
<key>MinimumVersion</key>
<string>0.4.0</string>
<key>ParentRecipe</key>
<string>de.gwdg.gitlab.itsmfae.pkg.Atom</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>predicate</key>
<string>download_changed == False</string>
</dict>
<key>Processor</key>
<string>StopProcessingIf</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>category</key>
<string>%CATEGORY%</string>
<key>groups</key>
<array>
<dict>
<key>name</key>
<string>%GROUP_NAME_PATCHOO%</string>
<key>smart</key>
<true/>
<key>template_path</key>
<string>%GROUP_TEMPLATE_PATCHOO%</string>
</dict>
</array>
<key>package_info</key>
<string>%PKGINAME% %version%</string>
<key>policy_action_type</key>
<string>Cache</string>
<key>policy_category</key>
<string>%POLICY_CATEGORY%</string>
<key>policy_template</key>
<string>%POLICY_TEMPLATE_PATCHOO%</string>
<key>prod_name</key>
<string>%NAME%</string>
<key>version</key>
<string>%version%</string>
</dict>
<key>Processor</key>
<string>JSSImporter</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>category</key>
<string>%CATEGORY%</string>
<key>groups</key>
<array>
<dict>
<key>name</key>
<string>%GROUP_NAME_SELFSERVICE%</string>
<key>smart</key>
<true/>
<key>template_path</key>
<string>%GROUP_TEMPLATE_SELFSERVICE%</string>
</dict>
</array>
<key>package_info</key>
<string>%PKGINAME% %version%</string>
<key>policy_action_type</key>
<string>Install</string>
<key>policy_template</key>
<string>%POLICY_TEMPLATE_SELFSERVICE%</string>
<key>prod_name</key>
<string>%NAME%</string>
<key>self_service_description</key>
<string>%SELF_SERVICE_DESCRIPTION%</string>
<key>self_service_feature_mainpage</key>
<string>%SELF_SERVICE_FEATURE_MAINPAGE%</string>
<key>self_service_icon</key>
<string>%SELF_SERVICE_ICON%</string>
<key>version</key>
<string>%version%</string>
</dict>
<key>Processor</key>
<string>JSSImporter</string>
</dict>
</array>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Download the latest OBS disk image and builds a package.</string>
<key>Identifier</key>
<string>de.gwdg.gitlab.itsmfae.pkg.OBS</string>
<key>Input</key>
<dict>
<key>NAME</key>
<string>OBS</string>
</dict>
<key>MinimumVersion</key>
<string>1.0</string>
<key>ParentRecipe</key>
<string>com.github.nstrauss.download.OBS</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%pathname%/OBS.app/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleVersion</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
<dict>
<key>Processor</key>
<string>com.github.homebysix.VersionSplitter/VersionSplitter</string>
<key>Arguments</key>
<dict>
<key>file_content</key>
<string>#!/bin/sh
# copy virtual camera plug-in to its needed location to avoid an admin
# credentials prompt when starting the virtual camera for the first time
/bin/cp -R /Applications/OBS.app/Contents/Resources/data/obs-mac-virtualcam.plugin /Library/CoreMediaIO/Plug-Ins/DAL/
</string>
<key>file_mode</key>
<string>0755</string>
<key>file_path</key>
<string>%RECIPE_CACHE_DIR%/Scripts/postinstall</string>
</dict>
<key>Processor</key>
<string>FileCreator</string>
<key>Arguments</key>
<dict>
<key>split_on</key>
<string>-</string>
</dict>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/OBS-%version%.pkg</string>
</dict>
<key>Processor</key>
<string>AppPkgCreator</string>
</dict>
</array>
</dict>
</plist>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment