mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update the ubuntu / debian build rules
Dang. I didn't pay attention that commit 2677f3ca79
("LIBMARBLEDEVEL
points to an install dir, not a build dir") broke the way I build the
Linux binaries.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
caa153af79
commit
ea2eb6afe3
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ override_dh_auto_configure:
|
||||||
-DBUILD_TESTING=OFF -DWITH_DESIGNER_PLUGIN=OFF \
|
-DBUILD_TESTING=OFF -DWITH_DESIGNER_PLUGIN=OFF \
|
||||||
-DBUILD_WITH_DBUS=OFF ../marble-source ; \
|
-DBUILD_WITH_DBUS=OFF ../marble-source ; \
|
||||||
make -j8 ; \
|
make -j8 ; \
|
||||||
|
ln -s src/lib/marble lib ; \
|
||||||
mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; done ; \
|
mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; done ; \
|
||||||
ln -s . marble )
|
ln -s . marble )
|
||||||
patch -p1 < packaging/ubuntu/0001-Make-build-with-Qt4.patch
|
patch -p1 < packaging/ubuntu/0001-Make-build-with-Qt4.patch
|
||||||
|
|
|
@ -29,6 +29,7 @@ override_dh_auto_configure:
|
||||||
-DBUILD_TESTING=OFF -DWITH_DESIGNER_PLUGIN=OFF \
|
-DBUILD_TESTING=OFF -DWITH_DESIGNER_PLUGIN=OFF \
|
||||||
-DBUILD_WITH_DBUS=OFF ../marble-source ; \
|
-DBUILD_WITH_DBUS=OFF ../marble-source ; \
|
||||||
make -j8 ; \
|
make -j8 ; \
|
||||||
|
ln -s src/lib/marble lib ; \
|
||||||
mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; done ; \
|
mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; done ; \
|
||||||
ln -s . marble )
|
ln -s . marble )
|
||||||
qmake LIBDCDEVEL=./libdivecomputer LIBGIT2DEVEL=./libgit2 LIBGIT2STATIC=1 LIBMARBLEDEVEL=./marble-build SPECIAL_MARBLE_PREFIX=1 subsurface.pro
|
qmake LIBDCDEVEL=./libdivecomputer LIBGIT2DEVEL=./libgit2 LIBGIT2STATIC=1 LIBMARBLEDEVEL=./marble-build SPECIAL_MARBLE_PREFIX=1 subsurface.pro
|
||||||
|
|
Loading…
Add table
Reference in a new issue