196d555092
Contains everything from #940, except on top of master now. Also added a postmarketos-ui-luna package to be a meta- package for all of the Luna work. Every component included here builds & runs, but isn't functional without a handful more packages.
32 lines
1,007 B
Text
32 lines
1,007 B
Text
pkgname=qt5-qtsensors
|
|
pkgver=5.9.1
|
|
pkgrel=0
|
|
arch="all"
|
|
url='http://qt-project.org/'
|
|
license="GPL3 LGPL3 FDL custom"
|
|
pkgdesc='Provides APIs for sensors'
|
|
depends="qt5-qtbase"
|
|
makedepends="qt5-qtbase-dev"
|
|
source="http://download.qt.io/official_releases/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname/qt5-/}-opensource-src-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
builddir="$srcdir/${pkgname/qt5-/}-opensource-src-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
qmake-qt5
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
find "$pkgdir/usr/lib" -type f -name '*.prl' \
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
|
|
}
|
|
sha512sums="a6f0e10aad5f0242dfad470c0aa334dcff817587a3f24c6930de8197281eb72b94f96d74aea5fc5446a262fbfc41cad68ea1b6f21df5fade5da278f8493732a5 qtsensors-opensource-src-5.9.1.tar.xz"
|