[Update & Opti] Update libgbinder, Optimize libgbinder, libglibutil, python-gbinder, waydroid
This commit is contained in:
parent
6a82e4935e
commit
5ea020656f
@ -4,25 +4,23 @@
|
|||||||
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
|
# This PKGBUILD is base on the AUR repo libgbinder, by Danct12 <danct12@disroot.org>
|
||||||
|
|
||||||
pkgname='libgbinder'
|
pkgname='libgbinder'
|
||||||
pkgver=1.1.30
|
pkgver=1.1.31
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='GLib-style interface to binder'
|
pkgdesc='GLib-style interface to binder'
|
||||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||||
url='https://github.com/mer-hybris/libgbinder'
|
url='https://github.com/mer-hybris/libgbinder'
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
depends=('libglibutil' 'glib2')
|
depends=('libglibutil' 'glib2')
|
||||||
source=("${pkgname}::git+${url}.git#tag=${pkgver}")
|
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('519cc015a97d6ebcb410efcbff54f01afc401de85efb0a5c1128b57f996f23b352fa5dd70f06ac5b9205c3f0770ffabfd82f367c85ca18a5012f715d09bce690')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
make -C "${srcdir}/${pkgname}-${pkgver}/" KEEP_SYMBOLS=1 release pkgconfig
|
||||||
make release pkgconfig KEEP_SYMBOLS=1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" install-dev
|
||||||
make install-dev DESTDIR="${pkgdir}"
|
|
||||||
|
|
||||||
# license
|
# license
|
||||||
install -Dm 644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
@ -11,18 +11,16 @@ arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
|||||||
url='https://github.com/sailfishos/libglibutil'
|
url='https://github.com/sailfishos/libglibutil'
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
depends=('glib2')
|
depends=('glib2')
|
||||||
source=("${pkgname}::git+${url}.git#tag=${pkgver}")
|
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('5b8d4b00ae149bba0b2df55d5e23910dc52ef3a7ee9162202afe4774e246e9389ba971b3d54ac0542b3678b15a3310c8d0e7536b7296d1a3b82e2ae2f021c541')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
make -C "${srcdir}/${pkgname}-${pkgver}/" KEEP_SYMBOLS=1 release pkgconfig
|
||||||
make release pkgconfig KEEP_SYMBOLS=1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
make -C "${srcdir}/${pkgname}-${pkgver}/" DESTDIR="${pkgdir}" install-dev
|
||||||
make install-dev DESTDIR="${pkgdir}"
|
|
||||||
|
|
||||||
# license
|
# license
|
||||||
install -Dm 644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
||||||
|
@ -9,18 +9,19 @@ pkgrel=1
|
|||||||
pkgdesc='Python bindings for libgbinder'
|
pkgdesc='Python bindings for libgbinder'
|
||||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||||
url='https://github.com/erfanoabdi/gbinder-python'
|
url='https://github.com/erfanoabdi/gbinder-python'
|
||||||
|
_reponame="${url##*/}"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('libgbinder')
|
depends=('libgbinder')
|
||||||
makedepends=('cython' 'python' 'python-setuptools')
|
makedepends=('cython' 'python' 'python-setuptools')
|
||||||
source=("${pkgname}::git+${url}.git#tag=${pkgver}")
|
source=("${_reponame}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
cd "${srcdir}/${_reponame}-${pkgver}/"
|
||||||
python setup.py build --cython
|
python setup.py build --cython
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
cd "${srcdir}/${_reponame}-${pkgver}/"
|
||||||
python setup.py install --prefix=/usr --root="${pkgdir}"
|
python setup.py install --prefix=/usr --root="${pkgdir}"
|
||||||
}
|
}
|
||||||
|
@ -13,11 +13,10 @@ url='https://github.com/waydroid/waydroid'
|
|||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=('dnsmasq' 'lxc' 'nftables' 'python' 'python-gbinder' 'python-gobject' 'which')
|
depends=('dnsmasq' 'lxc' 'nftables' 'python' 'python-gbinder' 'python-gobject' 'which')
|
||||||
optdepends=('waydroid-image: Android image for use with waydroid'
|
optdepends=('waydroid-image: Android image for use with waydroid'
|
||||||
'python-pyclip: share clipboard with container')
|
'python-pyclip: share clipboard with container')
|
||||||
source=("${pkgname}::git+${url}.git#tag=${pkgver}")
|
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz")
|
||||||
sha512sums=('SKIP')
|
sha512sums=('2c7feb8cfe2b6e2738159d07e12f378250f5ba6a0d0f47c0ff904af934eacde193ae0fcae1cb4fb67d1687a2ffcd2864c1eea4fa5e52c19685ffad5c702359a5')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}/"
|
make -C "${srcdir}/${pkgname}-${pkgver}/" install DESTDIR="${pkgdir}" USE_NFTABLES=1
|
||||||
make install DESTDIR="${pkgdir}" USE_NFTABLES=1
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user