mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Ubuntu packaging: more tweaks
* only build a static libdivecomputer * only build the libgit2 library, not the executable * don't echo all the symlinks when fake-installing libmarblewidget Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5e9c491f19
commit
6da5775c05
1 changed files with 5 additions and 3 deletions
|
@ -18,8 +18,10 @@ override_dh_auto_clean:
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
(cd libdivecomputer ; autoreconf --install ; ./configure ; make -j8 )
|
(cd libdivecomputer ; autoreconf --install ; ./configure --disable-shared ; make -j8 )
|
||||||
(mkdir libgit2/build ; cd libgit2/build ; cmake -DBUILD_SHARED_LIBS=OFF .. ; sed -i 's/.so$/.a/' CMakeCache.txt ; make -j8 )
|
(mkdir libgit2/build ; cd libgit2/build ; \
|
||||||
|
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CLAR=OFF -DBUILD_EXAMPLES=OFF .. ; \
|
||||||
|
sed -i 's/.so$/.a/' CMakeCache.txt ; make -j8 )
|
||||||
(mkdir marble-build ; cd marble-build ; \
|
(mkdir marble-build ; cd marble-build ; \
|
||||||
cmake -DQTONLY=ON -DQT5BUILD=ON \
|
cmake -DQTONLY=ON -DQT5BUILD=ON \
|
||||||
-DBUILD_MARBLE_APPS=OFF -DBUILD_MARBLE_EXAMPLES=OFF \
|
-DBUILD_MARBLE_APPS=OFF -DBUILD_MARBLE_EXAMPLES=OFF \
|
||||||
|
@ -27,7 +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 ; \
|
||||||
mkdir include ; cd include ; for i in `find ../../marble-source -name \*.h` ; do ln -s $$i . ; echo 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