~alan-griffiths/miral/debug

« back to all changes in this revision

Viewing changes to miral-qt/debian/bileto_convert_to_gles

  • Committer: Gerry Boland
  • Date: 2016-06-01 22:06:51 UTC
  • mto: This revision was merged to the branch mainline in revision 178.
  • Revision ID: gerry.boland@canonical.com-20160601220651-ge508tffql4e7u7c
Import QtMir code into miral-qt subdirectory. Disabled by default, use -DMIRAL_ENABLE_QT=1 to build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# This script converts the debian/ packaging into an alternate source package
 
4
# which builds with GLES. You should copy the source tree into a new directory
 
5
# before running this script (so you have one copy for GLES and one copy for
 
6
# regular GL).
 
7
 
 
8
set -eu
 
9
 
 
10
# Steps to start a new quilt patch:
 
11
#     quilt new convert-to-gles.patch
 
12
#     quilt add debian/*
 
13
#     # apply changes
 
14
 
 
15
# Steps to refresh this quilt patch when nongles changes:
 
16
#     quilt push -af
 
17
#     # fix up
 
18
 
 
19
# When finished, save quilt patch with:
 
20
#     quilt refresh
 
21
#     quilt pop -a
 
22
 
 
23
export QUILT_PATCHES=debian/gles-patches
 
24
quilt push -a
 
25
 
 
26
sed --in-place 's/^qtmir /qtmir-gles /g' debian/changelog
 
27
 
 
28
rm --recursive --force ./.pc/