diff options
author | SammysHP | 2018-09-24 14:12:05 +0200 |
---|---|---|
committer | SammysHP | 2018-09-24 14:14:56 +0200 |
commit | 6b041dc53814c4f0d2259df714a6732b2663cb20 (patch) | |
tree | 47d7dd6dca1788fa1db7b16b2bbd2dc1dc193908 /PKGBUILD | |
parent | fb7c3b3c5e8d60303eaa827ac0acf6f602aa326c (diff) | |
download | aur-sqliteman.tar.gz |
qt5 compatibility
The patches are taken from Gentoo [1]. Thanks to simplexe who made me
aware of these patches and for sending me a patched PKGBUILD (which I
have modified slightly).
[1] https://packages.gentoo.org/packages/dev-db/sqliteman
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -3,30 +3,42 @@ # Contributor: Geoffroy Carrier <geoffroy@archlinux.org> # Contributor: Roman Porizka <artee@beer.cz> # Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Semen Soldatov <simplexe@mail.ru> pkgname=sqliteman pkgver=1.2.2 -pkgrel=11 +pkgrel=12 pkgdesc='Graphical sqlite3 browser and editor' arch=('i686' 'x86_64') url='http://sqliteman.yarpen.cz/' license=('GPL') -depends=('qscintilla-qt4') +depends=('qscintilla-qt5') makedepends=('cmake') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" sqliteman-qscintilla-2.10.patch) +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "0001_qt5.patch" + "0002_lpthread.patch" + "0003_icons.patch") md5sums=('5ecdf710e23606e1b924f740ea69306d' - '9922a1f404f2381564abfb9096973911') + '8e0fadd613f819d3814c24c28287c4e4' + '8e24fc6b9231e7307bd6a86af8f4796a' + '7976cef250c2a1fd49607cd5f1cd21d2') prepare() { mkdir build - # Fix qscintilla 2.10 detection - cd $pkgname-$pkgver - patch -p1 -i ../sqliteman-qscintilla-2.10.patch + cd ${pkgname}-${pkgver} + patch -p1 -i ../0001_qt5.patch + patch -p1 -i ../0002_lpthread.patch + patch -p1 -i ../0003_icons.patch + } build() { cd build + + # remove bundled lib + rm -rf {$pkgname}/qscintilla2 + cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release |