Skip to content
Snippets Groups Projects
Commit 945cfe9e authored by Frederic Danis's avatar Frederic Danis
Browse files

Add org.apertis.demo.curl app


Create flatpak package for `curl`.
Add some of the libraries to the runtime to exercise ability for a package
to use libraries from runtime and app packages.

Signed-off-by: default avatarFrédéric Danis <frederic.danis@collabora.com>
parent b5b4b53e
No related branches found
No related tags found
No related merge requests found
---
id: org.apertis.demo.curl
branch: v2021dev1
runtime: org.apertis.demo.Platform
runtime-version: v2021dev1
sdk: org.apertis.demo.Sdk
command: curl
modules:
- name: curl
x-flatdeb-apt-packages:
- curl
sources:
- type: file
path: deb-buildapi/configure
dest: '.'
- type: file
path: deb-buildapi/Makefile
...
all:
if ! [ -d /var/lib/dpkg ]; then \
cp -PRp /usr/var /; \
fi
set -e; \
if test -d src; then \
cd src && \
dpkg-buildpackage -b -nc -d \
--build-profiles=pkg.flatpak.app,nocheck,nodoc; \
fi; \
# This assumes we don't need to run maintainer scripts.
install:
set -e; \
for deb in *.deb; do \
dpkg-deb --fsys-tarfile "$$deb" | \
tar -xf- -C /app \
--transform='s,^(\.?/)?(app|usr)/,,x'; \
done
#!/bin/sh
if [ ! -e Makefile ]; then
cp "$(dirname "$0")/Makefile" Makefile
fi
exit 0
---
id_prefix: org.apertis.demo
add_packages:
- libicu63
- libldap-2.4-2
add_packages_multiarch:
- libc6
- libstdc++6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment