Compare commits

...

5 Commits

Author SHA1 Message Date
042a0540dc git subrepo clone --branch=master https://aur.archlinux.org/waydroid-image.git
subrepo:
  subdir:   "waydroid-image"
  merged:   "103017c"
upstream:
  origin:   "https://aur.archlinux.org/waydroid-image.git"
  branch:   "master"
  commit:   "103017c"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-16 17:16:34 +01:00
99951ee7bd git subrepo clone --branch=master https://aur.archlinux.org/libglibutil.git
subrepo:
  subdir:   "libglibutil"
  merged:   "c8bcf3a"
upstream:
  origin:   "https://aur.archlinux.org/libglibutil.git"
  branch:   "master"
  commit:   "c8bcf3a"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-16 17:15:15 +01:00
bb64dd47ac git subrepo clone --branch=master https://aur.archlinux.org/libgbinder.git
subrepo:
  subdir:   "libgbinder"
  merged:   "08224bf"
upstream:
  origin:   "https://aur.archlinux.org/libgbinder.git"
  branch:   "master"
  commit:   "08224bf"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-16 17:14:54 +01:00
127c541985 git subrepo clone --branch=master https://aur.archlinux.org/python-gbinder.git
subrepo:
  subdir:   "python-gbinder"
  merged:   "e49c0fc"
upstream:
  origin:   "https://aur.archlinux.org/python-gbinder.git"
  branch:   "master"
  commit:   "e49c0fc"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-16 17:14:24 +01:00
04c8fc9056 git subrepo clone --branch=master https://aur.archlinux.org/waydroid.git
subrepo:
  subdir:   "waydroid"
  merged:   "8a4b43c"
upstream:
  origin:   "https://aur.archlinux.org/waydroid.git"
  branch:   "master"
  commit:   "8a4b43c"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-01-16 17:13:45 +01:00
17 changed files with 366 additions and 0 deletions

17
libgbinder/.SRCINFO Normal file

@ -0,0 +1,17 @@
pkgbase = libgbinder
pkgdesc = GLib-style interface to binder
pkgver = 1.1.16
pkgrel = 1
url = https://github.com/mer-hybris/libgbinder.git
arch = x86_64
arch = i686
arch = armv7h
arch = aarch64
license = BSD
makedepends = git
depends = libglibutil
depends = glib2
source = libgbinder::git+https://github.com/mer-hybris/libgbinder.git#commit=1bc2efd7249e1cf1b50d9ff1dcf57ffea528f0e9
sha512sums = SKIP
pkgname = libgbinder

12
libgbinder/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/libgbinder.git
branch = master
commit = 08224bf24a6d9ccd79b1503e238a7d9d448b0ad9
parent = 127c541985b4e3168f48b775943ac355199fff58
method = merge
cmdver = 0.4.3

29
libgbinder/PKGBUILD Normal file

@ -0,0 +1,29 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libgbinder
pkgver=1.1.16
pkgrel=1
pkgdesc="GLib-style interface to binder"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/mer-hybris/libgbinder.git"
license=('BSD')
depends=('libglibutil' 'glib2')
makedepends=('git')
_commit="1bc2efd7249e1cf1b50d9ff1dcf57ffea528f0e9" # tags/1.1.16
source=(${pkgname}::git+https://github.com/mer-hybris/libgbinder.git#commit=${_commit})
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd ${pkgname}
make KEEP_SYMBOLS=1 release pkgconfig
}
package() {
cd ${pkgname}
make install-dev DESTDIR="${pkgdir}"
}

16
libglibutil/.SRCINFO Normal file

@ -0,0 +1,16 @@
pkgbase = libglibutil
pkgdesc = Library of glib utilities
pkgver = 1.0.61
pkgrel = 1
url = https://github.com/sailfishos/libglibutil
arch = x86_64
arch = i686
arch = armv7h
arch = aarch64
license = BSD
makedepends = git
depends = glib2
source = libglibutil::git+https://github.com/sailfishos/libglibutil.git#commit=508e1255782e59725c25068874337e6309da04b2
sha512sums = SKIP
pkgname = libglibutil

12
libglibutil/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/libglibutil.git
branch = master
commit = c8bcf3ae18a6d885070a85be32e6ebe76ee5ad43
parent = bb64dd47ac00d67bd455cde36a3a6360de2543aa
method = merge
cmdver = 0.4.3

29
libglibutil/PKGBUILD Normal file

@ -0,0 +1,29 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=libglibutil
pkgver=1.0.61
pkgrel=1
pkgdesc="Library of glib utilities"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/sailfishos/libglibutil"
license=('BSD')
depends=('glib2')
makedepends=('git')
_commit="508e1255782e59725c25068874337e6309da04b2" # tags/1.0.61
source=(${pkgname}::git+https://github.com/sailfishos/libglibutil.git#commit=${_commit})
sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
build() {
cd ${pkgname}
make KEEP_SYMBOLS=1 release pkgconfig
}
package() {
cd ${pkgname}
make install-dev DESTDIR="${pkgdir}"
}

20
python-gbinder/.SRCINFO Normal file

@ -0,0 +1,20 @@
pkgbase = python-gbinder
pkgdesc = Python bindings for libgbinder
pkgver = 1.0.0
pkgrel = 3
url = https://github.com/erfanoabdi/gbinder-python
arch = x86_64
arch = i686
arch = armv7h
arch = aarch64
license = GPL
makedepends = git
makedepends = python-setuptools
makedepends = cython
depends = libgbinder
source = python-gbinder::git+https://github.com/erfanoabdi/gbinder-python.git#commit=2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c
source = 79d40e9e564772973f7f085ed5c48e3fc625e0f5.patch
sha512sums = SKIP
sha512sums = 9b07a8fec380c7b5cb9de296a8519f3fd71bd59266d6dc888e2cf7a65c57d9d05fd2a2261405c97eb1e79518264971124e977c249037a8e4a60a7d96dcb50897
pkgname = python-gbinder

12
python-gbinder/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/python-gbinder.git
branch = master
commit = e49c0fcaaf410c010feefeaa996e5f7622be7935
parent = 04c8fc90560901dce8ef468b75fe596150875ec1
method = merge
cmdver = 0.4.3

@ -0,0 +1,22 @@
From 79d40e9e564772973f7f085ed5c48e3fc625e0f5 Mon Sep 17 00:00:00 2001
From: Erfan Abdi <erfangplus@gmail.com>
Date: Mon, 6 Sep 2021 13:57:22 +0430
Subject: [PATCH] setup: Drop None from keywords
---
setup.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/setup.py b/setup.py
index cf3a42e..ed2b1ed 100644
--- a/setup.py
+++ b/setup.py
@@ -19,6 +19,8 @@ def pkgconfig(package, kw):
extension_kwargs = { 'sources': ["gbinder" + file_ext] }
extension_kwargs = pkgconfig('libgbinder', extension_kwargs)
+if None in extension_kwargs:
+ del extension_kwargs[None]
extensions = [Extension('gbinder', **extension_kwargs)]
if USE_CYTHON:

36
python-gbinder/PKGBUILD Normal file

@ -0,0 +1,36 @@
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=python-gbinder
pkgver=1.0.0
pkgrel=3
pkgdesc="Python bindings for libgbinder"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url="https://github.com/erfanoabdi/gbinder-python"
license=('GPL')
depends=('libgbinder')
makedepends=('git' 'python-setuptools' 'cython')
_commit="2e1e05c0a0240d6c06e9bbe9b22dcc35c2e0211c"
source=(${pkgname}::git+https://github.com/erfanoabdi/gbinder-python.git#commit=${_commit}
'79d40e9e564772973f7f085ed5c48e3fc625e0f5.patch')
sha512sums=('SKIP'
'9b07a8fec380c7b5cb9de296a8519f3fd71bd59266d6dc888e2cf7a65c57d9d05fd2a2261405c97eb1e79518264971124e977c249037a8e4a60a7d96dcb50897')
pkgver() {
cd ${pkgname}
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
cd ${pkgname}
patch -p1 -N < ../79d40e9e564772973f7f085ed5c48e3fc625e0f5.patch
}
build() {
cd ${pkgname}
python3 setup.py build --cython
}
package() {
cd ${pkgname}
python3 setup.py install --prefix=/usr --root="$pkgdir"
}

29
waydroid-image/.SRCINFO Normal file

@ -0,0 +1,29 @@
pkgbase = waydroid-image
pkgdesc = A container-based approach to boot a full Android system on a regular Linux system (Android image)
pkgver = 17.1_20211021
pkgrel = 1
url = https://github.com/waydroid
arch = x86_64
arch = i686
arch = armv7h
arch = aarch64
license = Apache
depends = waydroid
source_x86_64 = https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-17.1-20211021-VANILLA-waydroid_x86_64-system.zip
source_x86_64 = https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-17.1-20211021-MAINLINE-waydroid_x86_64-vendor.zip
sha256sums_x86_64 = c56225255380e1707a0380555e1d55961a5bc5e670b2b769724b52ae40283d84
sha256sums_x86_64 = 99512ed7bcc1190ead02447ba9a716f50eeb64a87135ce15a030475e119464f1
source_i686 = https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86/lineage-17.1-20211021-VANILLA-waydroid_x86-system.zip
source_i686 = https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-17.1-20211021-MAINLINE-waydroid_x86-vendor.zip
sha256sums_i686 = 76e0e609b1204ec09eed663fe21250ad07550e09b48af381ed3b30f7d69e4d26
sha256sums_i686 = b6a946f7dc81f43a06398179080462623dc348ca2484467571b13b35130be4f9
source_armv7h = https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-17.1-20211021-VANILLA-waydroid_arm-system.zip
source_armv7h = https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-17.1-20211021-MAINLINE-waydroid_arm-vendor.zip
sha256sums_armv7h = 4e6fba3a7e1f010c131caf507c04f8c8090672c919519273560274005fc6d30b
sha256sums_armv7h = 6a743926d80325a5f386472386e848e8948e2f48ead0a3875cb4702b80c561ba
source_aarch64 = https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-17.1-20211021-VANILLA-waydroid_arm64-system.zip
source_aarch64 = https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-17.1-20211021-MAINLINE-waydroid_arm64-vendor.zip
sha256sums_aarch64 = ea5af33272e9761016d3f36fe7a414ac22b16f70214f5b4839ff75b806a77819
sha256sums_aarch64 = e4f98d0b7702ccee1caeb8757a9fdc9e7473ff0053dc8326d9b4da72699a5f84
pkgname = waydroid-image

12
waydroid-image/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/waydroid-image.git
branch = master
commit = 103017cec3153f97151fb6c7df445fd46d84bfe0
parent = 99951ee7bd5f5094473331f810a8cbbffb941bd0
method = merge
cmdver = 0.4.3

44
waydroid-image/PKGBUILD Normal file

@ -0,0 +1,44 @@
# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>
_pkgver_images_system="17.1-20211021"
_pkgver_images_vendor="17.1-20211021"
pkgname=waydroid-image
pkgver="${_pkgver_images_system//-/_}"
pkgrel=1
pkgdesc="A container-based approach to boot a full Android system on a regular Linux system (Android image)"
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
license=('Apache')
url='https://github.com/waydroid'
depends=('waydroid')
source_i686=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86/lineage-$_pkgver_images_system-VANILLA-waydroid_x86-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_x86-vendor.zip)
source_x86_64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_x86_64/lineage-$_pkgver_images_system-VANILLA-waydroid_x86_64-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_x86_64/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_x86_64-vendor.zip)
source_armv7h=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm/lineage-$_pkgver_images_system-VANILLA-waydroid_arm-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_arm-vendor.zip)
source_aarch64=(https://sourceforge.net/projects/waydroid/files/images/system/lineage/waydroid_arm64/lineage-$_pkgver_images_system-VANILLA-waydroid_arm64-system.zip
https://sourceforge.net/projects/waydroid/files/images/vendor/waydroid_arm64/lineage-$_pkgver_images_vendor-MAINLINE-waydroid_arm64-vendor.zip)
case "$CARCH" in
aarch64) _imgarch="arm64" ;;
armv7h) _imgarch="arm" ;;
*) _imgarch="$CARCH" ;;
esac
package() {
install -dm755 "$pkgdir/usr/share/waydroid-extra/images"
# makepkg have extracted the zips
mv "$srcdir/system.img" "$pkgdir/usr/share/waydroid-extra/images"
mv "$srcdir/vendor.img" "$pkgdir/usr/share/waydroid-extra/images"
}
sha256sums_x86_64=('c56225255380e1707a0380555e1d55961a5bc5e670b2b769724b52ae40283d84'
'99512ed7bcc1190ead02447ba9a716f50eeb64a87135ce15a030475e119464f1')
sha256sums_i686=('76e0e609b1204ec09eed663fe21250ad07550e09b48af381ed3b30f7d69e4d26'
'b6a946f7dc81f43a06398179080462623dc348ca2484467571b13b35130be4f9')
sha256sums_armv7h=('4e6fba3a7e1f010c131caf507c04f8c8090672c919519273560274005fc6d30b'
'6a743926d80325a5f386472386e848e8948e2f48ead0a3875cb4702b80c561ba')
sha256sums_aarch64=('ea5af33272e9761016d3f36fe7a414ac22b16f70214f5b4839ff75b806a77819'
'e4f98d0b7702ccee1caeb8757a9fdc9e7473ff0053dc8326d9b4da72699a5f84')

22
waydroid/.SRCINFO Normal file

@ -0,0 +1,22 @@
pkgbase = waydroid
pkgdesc = A container-based approach to boot a full Android system on a regular Linux system
pkgver = 1.2.0
pkgrel = 1
url = https://github.com/waydroid
arch = any
license = GPL
makedepends = git
depends = lxc
depends = python
depends = python-gbinder
depends = python-gobject
depends = nftables
depends = dnsmasq
optdepends = waydroid-image: Android image for use with waydroid
optdepends = python-pyclip: share clipboard with container
source = waydroid::git+https://github.com/waydroid/waydroid.git#commit=9a87b10bbfd9cc04c8259207233fadad9acbf5d3
source = gbinder.conf
sha256sums = SKIP
sha256sums = 87a21d401281735ea026d715ea79b36e01f9af084198de2761b32d5b58a343dd
pkgname = waydroid

12
waydroid/.gitrepo Normal file

@ -0,0 +1,12 @@
; DO NOT EDIT (unless you know what you are doing)
;
; This subdirectory is a git "subrepo", and this file is maintained by the
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
;
[subrepo]
remote = https://aur.archlinux.org/waydroid.git
branch = master
commit = 8a4b43c41d5a5829210edf6f4c858151ec3d234b
parent = 55ec747a84c987167218a1772a3fe2f4a8bd7a1f
method = merge
cmdver = 0.4.3

40
waydroid/PKGBUILD Normal file

@ -0,0 +1,40 @@
# Maintainer: Danct12 <danct12@disroot.org>
# Contributor: Bart Ribbers <bribbers@disroot.org>
pkgname=waydroid
pkgver=1.2.0
pkgrel=1
pkgdesc="A container-based approach to boot a full Android system on a regular Linux system"
arch=('any')
url='https://github.com/waydroid'
license=('GPL')
depends=('lxc' 'python' 'python-gbinder' 'python-gobject' 'nftables' 'dnsmasq')
makedepends=('git')
optdepends=('waydroid-image: Android image for use with waydroid'
'python-pyclip: share clipboard with container')
_commit="9a87b10bbfd9cc04c8259207233fadad9acbf5d3" # tags/1.2.0
source=("waydroid::git+https://github.com/waydroid/waydroid.git#commit=$_commit"
gbinder.conf)
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//;s/-/+/g'
}
package() {
cd waydroid
install -dm755 "$pkgdir/usr/lib/waydroid"
install -dm755 "$pkgdir/usr/share/applications"
install -dm755 "$pkgdir/usr/bin"
cp -r tools data "$pkgdir/usr/lib/waydroid/"
mv "$pkgdir/usr/lib/waydroid/data/Waydroid.desktop" "$pkgdir/usr/share/applications"
cp waydroid.py "$pkgdir/usr/lib/waydroid/"
ln -s /usr/lib/waydroid/waydroid.py "$pkgdir/usr/bin/waydroid"
install -Dm644 -t "$pkgdir/etc" "$srcdir/gbinder.conf"
install -Dm644 -t "$pkgdir/etc/gbinder.d" gbinder/anbox.conf
install -Dm644 -t "$pkgdir/usr/lib/systemd/system" debian/waydroid-container.service
}
sha256sums=('SKIP'
'87a21d401281735ea026d715ea79b36e01f9af084198de2761b32d5b58a343dd')

2
waydroid/gbinder.conf Normal file

@ -0,0 +1,2 @@
[General]
ApiLevel = 29