Projects
Multimedia
kodi
pre_checkin.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pre_checkin.sh of Package kodi (Revision 19)
Currently displaying revision
19
,
Show latest
#!/bin/bash # Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from kodi.* files with this pre_checkin.sh script sed -e 's/^Name:.*kodi/&-noX/' kodi.spec > kodi-noX.spec cp kodi.changes kodi-noX.changes # Kodi platforms armv6_platforms="raspberry-pi" armv7_platforms="raspberry-pi2" # Generate kodi(-noX)-platformXXX # armv6 boards for BOARDNAME in $armv6_platforms; do ARCH_RESTRICTIONS="armv6l armv6hl" # Not used for now # Enable platform build for the given platform (only noX version) sed -e "s/%define kodi_platform none/%define kodi_platform $armv6_platforms/g s/^Name:.*kodi/&-noX-$BOARDNAME/" kodi.spec > kodi-noX-$BOARDNAME.spec cp kodi.changes kodi-noX-$BOARDNAME.changes done for BOARDNAME in $armv7_platforms; do ARCH_RESTRICTIONS="armv7l armv7hl" # Enable platform build for the given platform (only noX version) sed -e "s/%define kodi_platform none/%define kodi_platform $armv7_platforms/g s/^Name:.*kodi/&-noX-$BOARDNAME/" kodi.spec > kodi-noX-$BOARDNAME.spec cp kodi.changes kodi-noX-$BOARDNAME.changes done # Disable format_spec_file for now since it changes header # osc service localrun format_spec_file
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.