Skip to content
Snippets Groups Projects
Commit 54a227ed authored by Simon McVittie's avatar Simon McVittie
Browse files

Add basic packaging to build on OBS

parent 5dc71175
No related branches found
No related tags found
No related merge requests found
/*-stamp
/*.debhelper
/*.log
/*.substvars
/files
/pressure-vessel-libs-*/
/pressure-vessel-relocatable/
/tmp/
pressure-vessel (0.20190815.0) UNRELEASED; urgency=medium
* Initial version
-- Simon McVittie <smcv@collabora.com> Thu, 15 Aug 2019 13:59:12 +0100
9
Source: pressure-vessel
Section: games
Priority: optional
Maintainer: Simon McVittie <smcv@collabora.com>
Standards-Version: 4.4.0
Build-Depends:
debhelper (>= 9),
libglib2.0-dev,
libxau-dev,
meson,
python3,
python3 (>= 3.5) | python3.5,
zlib1g <!nocheck>,
Vcs-Git: https://gitlab.steamos.cloud/steam/pressure-vessel.git
Vcs-Browser: https://gitlab.steamos.cloud/steam/pressure-vessel
Package: pressure-vessel-relocatable
Architecture: amd64 i386
Multi-Arch: foreign
Depends:
bubblewrap,
pressure-vessel-libs-amd64,
pressure-vessel-libs-i386,
${misc:Depends},
${shlibs:Depends},
Description: Steam container launcher
pressure-vessel puts Steam games in containers.
.
This package contains the launcher.
Package: pressure-vessel-libs-amd64
Architecture: amd64
Multi-Arch: foreign
Depends:
libcapsule-tools-relocatable,
${misc:Depends},
${shlibs:Depends},
Description: Steam container launcher - cross-architecture dependencies
pressure-vessel puts Steam games in containers.
.
This package encapsulates the i386 cross-architecture dependencies.
Package: pressure-vessel-libs-i386
Architecture: i386
Multi-Arch: foreign
Depends:
libcapsule-tools-relocatable,
${misc:Depends},
${shlibs:Depends},
Description: Steam container launcher - cross-architecture dependencies
pressure-vessel puts Steam games in containers.
.
This package encapsulates the i386 cross-architecture dependencies.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: pressure-vessel
License: LGPL-2.1+
Files:
*
debian/*
Copyright:
2019 Collabora Ltd.
License: Expat
Files:
src/*
subprojects/*
tests/shellcheck.sh
Copyright:
2014-2019 Red Hat, Inc
2017-2019 Collabora Ltd.
License: LGPL-2.1+
Files:
src/*
tests/shellcheck.sh
Copyright:
2014-2019 Red Hat, Inc
2017-2019 Collabora Ltd.
License: LGPL-2.1+
Files:
build-aux/git-version-gen
Copyright:
2007-2018 Free Software Foundation, Inc.
License: GPL-3+
Files:
subprojects/libglnx/*
Copyright:
1995-1997 Peter Mattis
1995-1997 Spencer Kimball
1995-1997 Josh MacDonald
2010-2011 Lennart Poettering
2012-2017 Colin Walters
2015 Canonical Limited
2017 Red Hat, Inc.
2017 Endless Mobile, Inc.
2019 Collabora Ltd.
License: LGPL-2+
License: Expat
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Comment:
SPDX-License-Identifier: MIT
License: LGPL-2.1+
SPDX-License-Identifier: LGPL-2.1-or-later
.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
Comment:
On Debian systems see /usr/share/common-licenses/LGPL-2.1
License: LGPL-2+
SPDX-License-Identifier: LGPL-2-or-later
.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
Comment:
On Debian systems see /usr/share/common-licenses/LGPL-2
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Comment:
On Debian systems see /usr/share/common-licenses/GPL-3
include:
- project: 'steam/steam-ci-pipeline'
file: '/steam-gitlab-ci-common.yml'
- project: 'steam/steam-ci-pipeline'
file: '/steam-gitlab-ci-pipeline.yml'
variables:
BUILD_IMAGE: docker.internal.steamos.cloud/steamrt/sdk:scout-latest
STEAM_CI_USE_BINARIES_FROM: autopkgtest
build:
variables:
BUILD_IMAGE: docker.internal.steamos.cloud/steamos/package-builder:buster
usr/lib/pressure-vessel/relocatable
#!/usr/bin/make -f
# Copyright © 2019 Collabora Ltd.
# SPDX-License-Identifier: MIT
# (see debian/copyright)
export LC_ALL=C.UTF-8
include /usr/share/dpkg/default.mk
%:
dh $@
# We open-code the Meson clean, configure, build, test, install steps
# because the debhelper in SteamRT 1 'scout' is too old to have built-in
# knowledge of Meson.
override_dh_auto_clean:
rm -fr _build
override_dh_auto_configure:
if python3 -c 'if __import__("sys").version_info < (3, 5): raise SystemExit(1)'; then \
python=python3; \
else \
python=python3.5; \
fi; \
meson _build \
--prefix=/usr/lib/pressure-vessel/relocatable \
-Dpython=/usr/bin/$$python \
-Dversion=$(DEB_VERSION) \
$(NULL)
override_dh_auto_build:
ninja -C _build
override_dh_auto_test:
meson test -C _build --verbose
override_dh_auto_install:
DESTDIR=$(CURDIR)/debian/tmp ninja -C _build install
override_dh_missing:
dh_missing --fail-missing
3.0 (native)
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