-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of various packages used for KCP, but - obviously - no…
…t needed anymore . . .
- Loading branch information
1 parent
3b21a65
commit f161f91
Showing
108 changed files
with
4,599 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# KaOS | ||
Custom packages of KaOS out of KCP | ||
|
||
Custom packages of KaOS out of KCP due to KCP and their maintainers not being there for the actual users . . . | ||
|
||
This repository is SET to CHANGE that. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pkgbase = android-file-transfer | ||
pkgdesc = A reliable MTP client with a minimalistic UI similar to official Android File Transfer by Google. It just works. | ||
pkgver = 4.3 | ||
pkgrel = 1 | ||
url = https://whoozle.github.io/android-file-transfer-linux/ | ||
arch = x86_64 | ||
license = GPL3 | ||
makedepends = qt6-tools | ||
makedepends = qt5-location | ||
makedepends = qt5-translations | ||
makedepends = cmake | ||
makedepends = ninja | ||
depends = systemd | ||
depends = qt6-base | ||
depends = file | ||
depends = glibc | ||
depends = gcc-libs | ||
depends = readline | ||
depends = fuse | ||
depends = fuse | ||
depends = libxkbcommon | ||
depends = hicolor-icon-theme | ||
depends = taglib | ||
depends = openssl | ||
depends = zlib | ||
optdepends = android-udev-rules | ||
provides = android-file-transfer | ||
provides = aft-mtp-cli | ||
provides = aft-mtp-mount | ||
source = android-file-transfer-4.3.tar.gz::https://github.com/whoozle/android-file-transfer-linux/archive/refs/tags/v4.3.tar.gz | ||
sha256sums = SKIP | ||
|
||
pkgname = android-file-transfer |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pkgname=android-file-transfer | ||
_pkgname=android-file-transfer-linux | ||
pkgver=4.3 | ||
pkgrel=1 | ||
pkgdesc="A reliable MTP client with a minimalistic UI similar to official Android File Transfer by Google. It just works." | ||
arch=('x86_64') | ||
url="https://whoozle.github.io/android-file-transfer-linux/" | ||
license=('GPL3') | ||
depends=('systemd' 'qt6-base' 'file' 'glibc' 'gcc-libs' 'readline' 'fuse' | ||
'fuse' 'libxkbcommon' 'hicolor-icon-theme' 'taglib' 'openssl' 'zlib') | ||
makedepends=('qt6-tools' 'qt5-location' 'qt5-translations' 'cmake' 'ninja') | ||
optdepends=('android-udev-rules') | ||
provides=('android-file-transfer' 'aft-mtp-cli' 'aft-mtp-mount') | ||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/whoozle/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz") | ||
sha256sums=('SKIP') | ||
|
||
prepare() { | ||
mkdir -p "${srcdir}/${_pkgname}-${pkgver}/build/" | ||
} | ||
|
||
build() { | ||
cmake -S "${srcdir}/${_pkgname}-${pkgver}/" \ | ||
-DCMAKE_INSTALL_PREFIX="/usr/" \ | ||
-DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \ | ||
-DCMAKE_EXE_LINKER_FLAGS=-Wl,-O1,--sort-common,-z,relro,-z,now \ | ||
-G Ninja \ | ||
-B "${srcdir}/${_pkgname}-${pkgver}/build/" \ | ||
|
||
ninja -C "${srcdir}/${_pkgname}-${pkgver}/build/" | ||
} | ||
|
||
package() { | ||
DESTDIR="${pkgdir}" ninja -C "${srcdir}/${_pkgname}-${pkgver}/build/" install | ||
|
||
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Android File Transfer | ||
|
||
### [HOME](https://www.android.com/intl/en_us/filetransfer) | [SOURCE](https://github.com/whoozle/android-file-transfer-linux) | [FORK](https://github.com/MartinVonReichenberg/android-file-transfer-linux) | ||
|
||
Android File Transfer for Linux — a reliable MTP client with minimalistic UI similar to Android File Transfer. *"It just works™*. | ||
|
||
### Do I need it? | ||
|
||
If you're happy with `gmtp`/`gvfs`/`mtpfs` or any other MTP software, you might not need this software (but give it a try!). | ||
|
||
If you're suffering from incompatibility, crashes, missing tags, album covers, USB freezes, and corrupted files however, this software is right for you. | ||
|
||
#### Install: | ||
``` | ||
kcp -i android-file-transfer | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
pkgbase = android-file-transfer | ||
pkgdesc = A reliable MTP client with a minimalistic UI similar to official Android File Transfer by Google. It just works. | ||
pkgver = 4.3 | ||
pkgrel = 1 | ||
url = https://whoozle.github.io/android-file-transfer-linux/ | ||
arch = x86_64 | ||
license = GPL3 | ||
makedepends = qt6-tools | ||
makedepends = qt5-location | ||
makedepends = qt5-translations | ||
makedepends = cmake | ||
makedepends = ninja | ||
depends = systemd | ||
depends = qt6-base | ||
depends = file | ||
depends = glibc | ||
depends = gcc-libs | ||
depends = readline | ||
depends = fuse | ||
depends = fuse | ||
depends = libxkbcommon | ||
depends = hicolor-icon-theme | ||
depends = taglib | ||
depends = openssl | ||
depends = zlib | ||
optdepends = android-udev-rules | ||
provides = android-file-transfer | ||
provides = aft-mtp-cli | ||
provides = aft-mtp-mount | ||
source = android-file-transfer-4.3.tar.gz::https://github.com/whoozle/android-file-transfer-linux/archive/refs/tags/v4.3.tar.gz | ||
sha256sums = SKIP | ||
|
||
pkgname = android-file-transfer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pkgbase = android-tools | ||
pkgdesc = Android SDK platform tools | ||
pkgver = 34.0.5 | ||
pkgrel = 1 | ||
url = http://tools.android.com/ | ||
arch = x86_64 | ||
license = Apache | ||
license = MIT | ||
makedepends = cmake | ||
makedepends = ninja | ||
makedepends = go | ||
makedepends = googletest | ||
depends = libusb | ||
depends = protobuf | ||
depends = brotli | ||
depends = zstd | ||
depends = pcre2 | ||
optdepends = android-udev-rules | ||
provides = adb | ||
provides = fastboot | ||
source = android-tools-34.0.5.tar.xz::https://github.com/nmeum/android-tools/releases/download/34.0.5/android-tools-34.0.5.tar.xz | ||
sha256sums = SKIP | ||
|
||
pkgname = android-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pkgname=android-tools | ||
pkgver=34.0.5 | ||
pkgrel=1 | ||
pkgdesc='Android SDK platform tools' | ||
arch=('x86_64') | ||
url='http://tools.android.com/' | ||
license=('Apache' 'MIT') | ||
depends=('libusb' 'protobuf' 'brotli' 'zstd' 'pcre2') | ||
makedepends=('cmake' 'ninja' 'go' 'googletest') | ||
optdepends=('android-udev-rules') | ||
provides=('adb' 'fastboot') | ||
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/nmeum/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz") | ||
sha256sums=('SKIP') | ||
|
||
prepare() { | ||
mkdir -p "${srcdir}/${pkgname}-${pkgver}/build/" | ||
} | ||
|
||
build() { | ||
cmake \ | ||
-DCMAKE_INSTALL_PREFIX=/usr/ \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \ | ||
-DCMAKE_C_FLAGS="$CFLAGS" \ | ||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \ | ||
-Dprotobuf_MODULE_COMPATIBLE=ON \ | ||
-G Ninja -S "${srcdir}/${pkgname}-${pkgver}/" -B "${srcdir}/${pkgname}-${pkgver}/build/" | ||
} | ||
|
||
package() { | ||
DESTDIR="${pkgdir}/" ninja -C "${srcdir}/${pkgname}-${pkgver}/build/" install | ||
|
||
msg2 "This package might need *android-udev-rules* as dependency, can be obtained using *kcp -i android-udev-rules*" | ||
|
||
msg2 "This package is a dependency for *scrcpy*" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Android Tools (Platform Tools) | ||
|
||
#### [HOME](http://tools.android.com/) | [SOURCE](https://github.com/nmeum/android-tools) | ||
|
||
Android SDK Platform-Tools is a component for the Android SDK. It includes tools that interface with the Android platform, primarily `adb` and `fastboot`. Although `adb` is required for Android app development, app developers will normally just use the copy Studio installs. This download is useful if you want to use `adb` directly from the command-line and don't have Studio installed. (If you do have Android Studio installed, you might want to just use the copy it installed because Android Studio will automatically update it.) `fastboot` is needed if you want to unlock your device bootloader and flash it with a new system image. This package used to contain systrace, but that has been obsoleted in favor of Studio Profiler, gpuinspector.dev, or Perfetto. | ||
|
||
Although some new features in `adb` and `fastboot` are available only for recent versions of Android, they're backward compatible, so you should only need the latest version of the SDK Platform-Tools and should file bugs if you find exceptions. | ||
|
||
#### Install: | ||
|
||
``` | ||
kcp -i android-tools | ||
``` | ||
|
||
##### *This package might need `android-udev-rules` as dependency, can be obtained using `kcp -i android-udev-rules`* | ||
##### *This package is a dependency for `scrcpy`* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pkgbase = android-udev-rules | ||
pkgdesc = These UDEV files allow to communicate between PC and Android devices without the necessity of Administrator privileges. | ||
pkgver = 20240221 | ||
pkgrel = 1 | ||
url = https://github.com/M0Rf30/android-udev-rules | ||
install = android-udev-rules.install | ||
arch = x86_64 | ||
license = GPL3 | ||
depends = systemd | ||
depends = libmtp | ||
source = android-udev-rules-20240221.tar.gz::https://github.com/M0Rf30/android-udev-rules/archive/20240221.tar.gz | ||
sha1sums = SKIP | ||
|
||
pkgname = android-udev-rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
pkgname=android-udev-rules | ||
pkgver=20240221 | ||
pkgrel=1 | ||
pkgdesc='These UDEV files allow to communicate between PC and Android devices without the necessity of Administrator privileges.' | ||
arch=('x86_64') | ||
url='https://github.com/M0Rf30/android-udev-rules' | ||
license=('GPL3') | ||
depends=('systemd' 'libmtp') | ||
install='android-udev-rules.install' | ||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/M0Rf30/${pkgname}/archive/${pkgver}.tar.gz") | ||
sha1sums=('SKIP') | ||
|
||
package() { | ||
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/51-android.rules" -t "${pkgdir}/usr/lib/udev/rules.d/" | ||
install -Dm 644 "${srcdir}/${pkgname}-${pkgver}/android-udev.conf" -t "${pkgdir}/usr/lib/sysusers.d/" | ||
|
||
msg2 \ | ||
"Post installaction script will add current USER *$USER* to *adbusers* GROUP. | ||
Please see the output of */etc/group* for correction . . . | ||
" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Android Udev Rules | ||
These files allow to communicate between PC and Android devices without the necessity of Administrator (Root) privileges. | ||
|
||
#### [HOME](https://developer.android.com/studio/run/device.html) | [SOURCE](https://github.com/M0Rf30/android-udev-rules) | ||
|
||
Install | ||
|
||
``` | ||
kcp -i android-udev-rules | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
post_install() { | ||
|
||
CURRENT_UID="$(id -u)" | ||
|
||
if [ "$CURRENT_UID" -ne 0 ]; then | ||
echo "Please run as root!" | ||
exit 1 | ||
fi | ||
|
||
if [ "$USE_SYMLINK" = "true" ]; then | ||
ln -sf "$PWD/51-android.rules" "/etc/udev/rules.d/51-android.rules" | ||
else | ||
cp -v "/usr/lib/udev/rules.d/51-android.rules" "/etc/udev/rules.d/51-android.rules" | ||
fi | ||
|
||
chmod a+r "/etc/udev/rules.d/51-android.rules" | ||
|
||
if [ "$USE_GROUP" = "false" ]; then | ||
install -Dm644 android-udev.conf \ | ||
/usr/lib/sysusers.d/android-udev.conf | ||
systemd-sysusers | ||
else | ||
getent group 'adbusers' >/dev/null || | ||
groupadd -f 'adbusers' | ||
fi | ||
|
||
usermod -a -G adbusers "$(logname)" | ||
udevadm control --reload-rules | ||
|
||
if [ "$USE_SERVICE_CMD" = "true" ]; then | ||
service udev restart | ||
else | ||
systemctl restart systemd-udevd.service | ||
fi | ||
|
||
} | ||
post_upgrade() { | ||
post_install $1 | ||
cat /etc/group | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
pkgbase = balena-etcher | ||
pkgdesc = Flash OS images to SD cards & USB drives, safely and easily | ||
pkgver = 1.18.11 | ||
pkgrel = 1 | ||
url = https://balena.io/etcher | ||
install = balena-etcher.install | ||
arch = x86_64 | ||
license = Apache | ||
makedepends = tar | ||
depends = gtk3 | ||
depends = libxtst | ||
depends = libxss | ||
depends = nss | ||
depends = alsa-lib | ||
depends = glib2 | ||
depends = polkit | ||
depends = libusb | ||
depends = kde-gtk-config | ||
optdepends = libnotify: For system tray notifications | ||
options = !strip | ||
source = balena-etcher-1.18.11.rpm::https://github.com/balena-io/etcher/releases/download/v1.18.11/balena-etcher-1.18.11.x86_64.rpm | ||
sha256sums = SKIP | ||
|
||
pkgname = balena-etcher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
pkgname=balena-etcher | ||
_pkgname=balenaEtcher | ||
__pkgname=etcher | ||
pkgver=1.18.11 | ||
pkgrel=1 | ||
pkgdesc='Flash OS images to SD cards & USB drives, safely and easily' | ||
arch=('x86_64') | ||
url='https://balena.io/etcher' | ||
license=('Apache') | ||
depends=('gtk3' 'libxtst' 'libxss' 'nss' 'alsa-lib' 'glib2' 'polkit' 'libusb' 'kde-gtk-config') | ||
makedepends=("tar") | ||
optdepends=("libnotify: For system tray notifications") | ||
options=('!strip') | ||
install="${pkgname}.install" | ||
source=("${pkgname}-${pkgver}.rpm::https://github.com/balena-io/etcher/releases/download/v${pkgver}/${pkgname}-${pkgver}.x86_64.rpm") | ||
sha256sums=('SKIP') | ||
|
||
package() { | ||
msg2 "Unpacking SOURCE files of the downloaded RMP binary package " | ||
mkdir -p "${pkgdir}/opt/" | ||
bsdtar -xf "${srcdir}/${pkgname}-${pkgver}.rpm" -C "${pkgdir}/" | ||
|
||
install -d "${pkgdir}/usr/share/pixmaps/" | ||
cp "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps/" | ||
|
||
msg2 "Removing unnecessary post-build ID files from the RPM package" | ||
rm -fdr "${pkgdir}/usr/lib/" | ||
|
||
sed -i -e "/Exec=/i\Path=/opt/balenaEtcher/" \ | ||
-e "s|Exec=/opt/balenaEtcher/balena-etcher %U|Exec=/usr/bin/balena-etcher %U|g" \ | ||
"${pkgdir}/usr/share/applications/${pkgname}.desktop" | ||
|
||
msg2 "Linking binaries from SOURCE to the system" | ||
install -d "${pkgdir}/usr/bin/" | ||
ln -v -f -s "/opt/${_pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" | ||
|
||
msg2 "Linking LICENSES from SOURCE to the system" | ||
install -d "${pkgdir}/usr/share/licenses/${pkgname}" | ||
ln -v -f -s "/opt/${_pkgname}/LICENSE.electron.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
ln -v -f -s "/opt/${_pkgname}/LICENSES.chromium.html" -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Balena Etcher (balenaEtcher) | ||
|
||
### [HOME](https://etcher.balena.io/) | [SOURCE](https://github.com/balena-io/etcher/) | ||
|
||
___ | ||
|
||
BalenaEtcher is an open-source utility that allows users to create bootable USB drives or SD cards by flashing disk images. | ||
It provides a streamlined and user-friendly interface for the process, making it accessible to both beginners and experienced users alike. | ||
BalenaEtcher supports a wide range of disk image formats, including ISO, IMG, and ZIP, allowing you to create bootable media for various operating systems, such as Linux distributions, Raspberry Pi, and other embedded devices. | ||
|
||
_Here at balena we have thousands of users working through our getting started process, we found there was no easy way for our users to flash an SD card that we could recommend to everyone._ | ||
|
||
_So we built Etcher, an SD card flasher app that is simple for end users, extensible for developers, and works on any platform._ | ||
|
||
#### Features: | ||
|
||
* Create USB installation media from bootable ISOs | ||
* Install almost any OS to almost any flash drive | ||
* Offer an easy way for your users to flash your OS using our ‘Flash with Etcher’ feature | ||
|
||
___ | ||
|
||
#### Install: | ||
|
||
``` | ||
kcp -i balena-etcher | ||
``` |
Oops, something went wrong.