main/libofono-qt: disable docs

Documentation depends on texlive, which is currently not available in
Alpine edge x86.
This commit is contained in:
Oliver Smith 2019-06-24 21:59:45 +02:00
parent 020dd0e9f2
commit 7fb32b86a4
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 26 additions and 7 deletions

View file

@ -0,0 +1,21 @@
--- a/ofono-qt.pro
+++ b/ofono-qt.pro
@@ -2,18 +2,3 @@ include(version.pri)
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += lib tests
-
-dox.target = doc
-dox.commands = sed 's/@VERSION@/'$$VERSION'/' doxygen.cfg.in > doxygen.cfg; \
- doxygen doxygen.cfg
-dox.path = $$[QT_INSTALL_PREFIX]/share/doc/ofono-qt
-dox.files = doc/html
-dox.CONFIG = no_link
-dox.depends = FORCE
-dox.clean_commands = rm -fr doc/
-dox.clean = doxygen.cfg
-
-INSTALLS += dox
-
-QMAKE_EXTRA_TARGETS += dox
-

View file

@ -2,16 +2,16 @@
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=libofono-qt
pkgver=0.54_git20190116
pkgrel=0
pkgrel=1
_commit="8132b5ff5035c468807c291b4fa30d7e0a54cba4"
pkgdesc="This package contains ofono-qt, a Qt-based library that providesbindings to oFono."
url="https://github.com/Kaffeine/libofono-qt"
arch="all"
license="LGPL-2.1-or-later"
depends="qt5-qtbase"
makedepends="qt5-qtbase-dev doxygen texlive"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/Kaffeine/$pkgname/archive/$_commit.tar.gz"
source="$pkgname-$_commit.tar.gz::https://github.com/Kaffeine/$pkgname/archive/$_commit.tar.gz 01_disable_docs.patch"
options="!check" # No tests suite
builddir="$srcdir/$pkgname-$_commit"
@ -25,9 +25,7 @@ package() {
# Remove tests
rm -r "$pkgdir"/opt
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
mv doc/html "$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="80d7e92fff9a9d8798a050aa6a42dee553d5b44cfae0ee540523032ff116d95c9388f4e1302b9ab063dbf3076e1a8bedea8c67d8a5904d966a5d22a410b6218f libofono-qt-8132b5ff5035c468807c291b4fa30d7e0a54cba4.tar.gz"
sha512sums="80d7e92fff9a9d8798a050aa6a42dee553d5b44cfae0ee540523032ff116d95c9388f4e1302b9ab063dbf3076e1a8bedea8c67d8a5904d966a5d22a410b6218f libofono-qt-8132b5ff5035c468807c291b4fa30d7e0a54cba4.tar.gz
2b479051ec139fca06924844ddead170df2d5157a03d3b4715a203d88b5db93fa54b05694faf7e7485c2bec966f69ef03ae78e9ee2f5f3224650c8b44497ade5 01_disable_docs.patch"