Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
hugin
find-hugin-provides.prov
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File find-hugin-provides.prov of Package hugin
#!/bin/sh # # Combined library.prov, desktop-file.prov and appdata.prov for hugin # # Transform appdata xml file into RPM appdata(filename) provides # Author: Michael Schroeder <mls@suse.de> # # Transform desktop mimetype info into RPM mimehandler(type) provides # Author: Richard Hughes <richard@hughsie.com> # # Also based on library provides scripts from RPM OLD_IFS="$IFS" mark64=$(uname -m |grep -o 64) while read instfile ; do case "$instfile" in *.desktop) if ! grep -q '^Type=Application$' "$instfile"; then continue; fi if ! grep -q '^Exec=' "$instfile"; then continue; fi echo "application()" echo "application(${instfile##*/applications/})" mime=`grep '^MimeType=' "$instfile" | cut -d'=' -f2` IFS=';' for type in $mime ; do echo 'mimehandler('$type')' done ;; *.appdata.xml) echo "appdata()" echo "appdata(${instfile##*/appdata/})" ;; */usr/lib$mark64/*.so.?.?) soname=$(objdump -p $instfile | awk '/SONAME/ {print $2}') if [ $mark64 -eq 64 ] ; then lib64="()(64bit)" ; else lib64="" ; fi echo "$soname$lib64" ;; esac done IFS=$OLD_IFS
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor