diff options
author | Luca Weiss <luca@z3ntu.xyz> | 2018-10-18 16:37:21 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-04-13 20:12:13 +0000 |
commit | c1dd33e51c4b38211d90bb8acff1ce9dc2a0fcb8 (patch) | |
tree | d7177ab6178186764600430294280e359f3b8560 /testing | |
parent | 7a7a3de77cba6af2aee4ecf4b3811bcaa430af00 (diff) | |
download | aports-c1dd33e51c4b38211d90bb8acff1ce9dc2a0fcb8.tar.bz2 aports-c1dd33e51c4b38211d90bb8acff1ce9dc2a0fcb8.tar.xz |
testing/lightdm: add liblightdm-qt5 support
Diffstat (limited to 'testing')
-rw-r--r-- | testing/lightdm/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/testing/lightdm/APKBUILD b/testing/lightdm/APKBUILD index 3c30f5551a..c8904c7417 100644 --- a/testing/lightdm/APKBUILD +++ b/testing/lightdm/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lightdm pkgver=1.28.0 -pkgrel=0 +pkgrel=1 pkgdesc="A cross-desktop display manager" url="https://www.freedesktop.org/wiki/Software/LightDM" arch="all" @@ -10,11 +10,11 @@ license="GPL-3.0-or-later" depends="dbus xinit accountsservice" makedepends="linux-pam-dev gtk+3.0-dev libxext-dev libxklavier-dev autoconf automake libtool gobject-introspection-dev itstool - libgcrypt-dev libxml2-utils intltool" + libgcrypt-dev libxml2-utils intltool qt5-qtbase-dev" install="$pkgname.pre-install" pkgusers="lightdm" pkggroups="lightdm" -subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-openrc $pkgname-qt5 $pkgname-qt5-dev:qt5_dev" source="https://github.com/CanonicalLtd/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz musl-language.patch musl-is-linux.patch @@ -49,6 +49,18 @@ package() { rm -rf "$pkgdir"/etc/apparmor.d } +qt5() { + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/liblightdm-qt5* "$subpkgdir"/usr/lib +} + +qt5_dev() { + mkdir -p "$subpkgdir"/usr/lib/pkgconfig "$subpkgdir"/usr/include + mv "$pkgdir"/../$pkgname-dev/usr/include/lightdm-qt5-3 "$subpkgdir"/usr/include/ + mv "$pkgdir"/../$pkgname-dev/usr/lib/liblightdm-qt5-3.* "$subpkgdir"/usr/lib/ + mv "$pkgdir"/../$pkgname-dev/usr/lib/pkgconfig/liblightdm-qt5-3.pc "$subpkgdir"/usr/lib/pkgconfig/ +} + sha512sums="e1e8a952e723bbcc106043d33a64278b228a5a47a7e54235375817b08483594cc5e46ec52f5cbb9d258266e44b045785bca1d4c62daf83071c0f668b3c480071 lightdm-1.28.0.tar.xz 592d630bdabeed304f8b677ceb0ebd2a6ab0930baae473814aafb0d58b7e28a79c8c667f18a656a460132c48a9fee90be7eebd50f835ea641d6d99387b28310a musl-language.patch aa33888f61b61f6c8082c77dc0b539fa14fb395c17e70b825ba88af7bb6adaad8f99583342a77442c60c105c1b83dd6eb0547fbddb43dcd767d9ad2c65ca2baf musl-is-linux.patch |