diff --git a/README.md b/README.md index 7aa0d51..b568248 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # torcs -The torcs package \ No newline at end of file +The torcs Flatpak diff --git a/container.yaml b/container.yaml new file mode 100644 index 0000000..41d10e9 --- /dev/null +++ b/container.yaml @@ -0,0 +1,16 @@ +compose: + modules: + - torcs:master +flatpak: + id: net.sourceforge.torcs + branch: stable + command: torcs + rename-appdata-file: torcs.appdata.xml + rename-desktop-file: torcs.desktop + rename-icon: torcs + finish-args: |- + --device=all + --persist=.torcs + --share=ipc + --socket=x11 + --socket=pulseaudio diff --git a/torcs.yaml b/torcs.yaml new file mode 100644 index 0000000..cbfd762 --- /dev/null +++ b/torcs.yaml @@ -0,0 +1,39 @@ +--- +document: modulemd +version: 2 +data: + summary: The Open Racing Car Simulator + description: >- + TORCS is a 3D racing cars simulator using OpenGL. The goal is to have programmed + robots drivers racing against each others. You can also drive yourself with either + a wheel, keyboard or mouse. + license: + module: + - MIT + dependencies: + - buildrequires: + flatpak-runtime: [f30] + platform: [f30] + requires: + flatpak-runtime: [f30] + platform: [f30] + profiles: + default: + rpms: + - torcs + components: + rpms: + freealut: + rationale: Runtime dependency + ref: f30 + plib: + rationale: Runtime dependency + ref: f30 + torcs: + rationale: Application package + ref: f30 + buildorder: 10 + torcs-data: + rationale: Runtime dependency + ref: f30 +...