| 1 | name: translines
|
|---|
| 2 | title: TransLines
|
|---|
| 3 | version: '1.5.0'
|
|---|
| 4 | summary: Enjoyable real-time metro building game.
|
|---|
| 5 | description: |
|
|---|
| 6 | Features:
|
|---|
| 7 | * Supported 9 metro lines with different colors
|
|---|
| 8 | * Supported 12 metro stations shapes
|
|---|
| 9 | * Each week a player gets new train
|
|---|
| 10 | * Passengers with specific shape travel to the station with same shape
|
|---|
| 11 | * Tracks can be re-positioned and extended on both ends
|
|---|
| 12 | * New random stations appear continuously
|
|---|
| 13 | * Dark mode
|
|---|
| 14 | * Full screen mode
|
|---|
| 15 | * Multi-language support (English, Czech, French, German)
|
|---|
| 16 | * Career support with playable cities
|
|---|
| 17 | * Selectable weekly new improvements: line, carriage or terminal
|
|---|
| 18 | confinement: strict
|
|---|
| 19 | base: core22
|
|---|
| 20 | grade: stable
|
|---|
| 21 | icon: "Images/64x64/TransLines.png"
|
|---|
| 22 | license: NLPL
|
|---|
| 23 |
|
|---|
| 24 | parts:
|
|---|
| 25 | translines:
|
|---|
| 26 | plugin: nil
|
|---|
| 27 | source: .
|
|---|
| 28 | source-type: local
|
|---|
| 29 | build-packages:
|
|---|
| 30 | - fpc
|
|---|
| 31 | - lazarus
|
|---|
| 32 | - lcl
|
|---|
| 33 | - lcl-utils
|
|---|
| 34 | override-build: |
|
|---|
| 35 | snapcraftctl build
|
|---|
| 36 | lazbuild --build-mode=Release TransLines.lpi
|
|---|
| 37 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
|
|---|
| 38 | install -s -m 755 TransLines $SNAPCRAFT_PART_INSTALL/usr/bin
|
|---|
| 39 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/TransLines/languages
|
|---|
| 40 | install -m 755 Languages/*.pot $SNAPCRAFT_PART_INSTALL/usr/share/TransLines/languages
|
|---|
| 41 | install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/TransLines/languages
|
|---|
| 42 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
|---|
| 43 | install -m 755 Install/snap/local/TransLines.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
|---|
| 44 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
|---|
| 45 | install -m 644 Images/64x64/TransLines.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
|---|
| 46 | stage:
|
|---|
| 47 | - usr
|
|---|
| 48 | - usr/bin
|
|---|
| 49 | - usr/share/TransLines
|
|---|
| 50 | - usr/share/applications/TransLines.desktop
|
|---|
| 51 | - usr/share/pixmaps
|
|---|
| 52 | stage-packages:
|
|---|
| 53 | # Autodetected dependencies
|
|---|
| 54 | - libatk1.0-0
|
|---|
| 55 | - libcairo2
|
|---|
| 56 | - libdatrie1
|
|---|
| 57 | - libfontconfig1
|
|---|
| 58 | - libfreetype6
|
|---|
| 59 | - libfribidi0
|
|---|
| 60 | - libgdk-pixbuf2.0-0
|
|---|
| 61 | - libgraphite2-3
|
|---|
| 62 | - libgtk2.0-0
|
|---|
| 63 | - libharfbuzz0b
|
|---|
| 64 | - libpango-1.0-0
|
|---|
| 65 | - libpangocairo-1.0-0
|
|---|
| 66 | - libpangoft2-1.0-0
|
|---|
| 67 | - libpixman-1-0
|
|---|
| 68 | - libpng16-16
|
|---|
| 69 | - libthai0
|
|---|
| 70 | - libx11-6
|
|---|
| 71 | - libxau6
|
|---|
| 72 | - libxcb-render0
|
|---|
| 73 | - libxcb-shm0
|
|---|
| 74 | - libxcb1
|
|---|
| 75 | - libxcomposite1
|
|---|
| 76 | - libxcursor1
|
|---|
| 77 | - libxdamage1
|
|---|
| 78 | - libxdmcp6
|
|---|
| 79 | - libxext6
|
|---|
| 80 | - libxfixes3
|
|---|
| 81 | - libxi6
|
|---|
| 82 | - libxinerama1
|
|---|
| 83 | - libxrandr2
|
|---|
| 84 | - libxrender1
|
|---|
| 85 | - libbrotli1
|
|---|
| 86 |
|
|---|
| 87 | apps:
|
|---|
| 88 | translines:
|
|---|
| 89 | command: usr/bin/TransLines
|
|---|
| 90 | desktop: usr/share/applications/TransLines.desktop
|
|---|
| 91 | plugs:
|
|---|
| 92 | - desktop
|
|---|
| 93 | - x11
|
|---|
| 94 |
|
|---|
| 95 | layout:
|
|---|
| 96 | /usr/share/TransLines:
|
|---|
| 97 | bind: $SNAP/usr/share/TransLines
|
|---|