Clean up files

This commit is contained in:
Mike Wilson
2025-10-21 11:30:30 -04:00
parent 874aaf882e
commit 17c34102ff
577 changed files with 0 additions and 38155 deletions

View File

@@ -1,11 +0,0 @@
version: 2
jobs:
build:
machine: true
steps:
- checkout
# build the application image
- run: docker build -t moparisthebest/aur:circle-ci .
- run: |
echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin

View File

@@ -1,42 +0,0 @@
#!/bin/bash
src_dir="$1"
#[ "$PKGS_TO_BUILD_IN_ORDER" == "" ] && PKGS_TO_BUILD_IN_ORDER='zpaq'
# refresh with: aurqueue * | tr '\n' ' '
# removed 'linux-aufs-lts'
[ "$PKGS_TO_BUILD_IN_ORDER" == "" ] && PKGS_TO_BUILD_IN_ORDER='mingw-w64-headers mingw-w64-binutils mingw-w64-headers-bootstrap mingw-w64-gcc-base python-pydns mingw-w64-crt python-rtslib-fb python-configshell-fb srb2kart-data srb2-data python-sleekxmpp python2-axolotl-curve25519-git python-pyspf python-pycares pi-hole-ftl libgcj17-bin trousers stoken libpcl freeradius-client ucspi-tcp mingw-w64-winpthreads perl-sys-virt hivex htmlcxx python2-dulwich evdi ncurses5-compat-libs zpaq zelda-roth xboxdrv wide-dhcpv6 webhook wallabag visual-studio-code-bin ttf-oxygen ttf-ms-fonts ts-spooler ternimal-git targetcli-fb srb2kart srb2 sonarr sendxmpp-rs-git sendxmpp-rs sendxmpp-py searx-py3 searx scallion rusty-keys-git rusty-keys runescape-launcher rootmp-hook redis-desktop-manager react-native-cli qt5-webengine-widevine qemu-user-static python2-axolotl-git python-postfix-policyd-spf python-aiodns prosody-mod-s2s-auth-dane prosody-hg-stable popstation_md popstation pkgsync pi-hole-standalone pi-hole-server php-imagick pdftk-bin pcem panda3d openhardwaremonitor openconnect-git odamex ocserv nginx-mainline-rtmp nextcloud-app-user-sql nextcloud-app-user-external nextcloud-app-passman mprime mkinitcpio-utils mkinitcpio-tinyssh mkinitcpio-netconf mkinitcpio-dropbear mingw-w64-gcc minecraft memtest86-efi makemkv luaunbound lua51-event lua-zlib libresonic libplatform-legacy libguestfs lgogdownloader kodi-standalone-socket-activation kodi-standalone-service kiwiirc jdk6 intellij-idea-ultimate-edition inspircd hg-git-hg gajim-plugin-omemo fuse-zip filebot ffmpeg-omx evdi-git emulationstation-themes emulationstation-git emulationstation-autoscraper doom-wads displaylink dino-git dex2jar cryptsetup-multidisk-ssh cryptsetup-multidisk crispy-doom coturn comskip chocolate-doom-git chocolate-doom ccextractor brother-hl2170w broadcom-bt-firmware-git bluez-utils-compat binfmt-support binfmt-qemu-static biboumi-git biboumi barrier aurutils archivemount android-emulator alt-version-switcher'
export PKGDEST="$2"
failed=''
for dir in $PKGS_TO_BUILD_IN_ORDER
do
cd $dir
# todo: build some source packages too or?
SECONDS=0
sudo -u nobody PKGDEST=$PKGDEST makepkg --syncdeps --rmdeps --skippgpcheck --noconfirm
success=$?
echo "$SECONDS $dir ---seconds_to_build---"
if [ $success -ne 0 ]; then
# failed, append to failed string
failed="$failed $dir"
# this is for making logs easy to grep for failure reasons
echo "---failed--- $dir ---failed---"
else
sudo -u nobody PKGDEST=$PKGDEST makepkg --packagelist | xargs repo-add "$PKGDEST/aur.db.tar.gz"
pacman -Sy
fi
cd "$src_dir"
done 2>&1 | tee "$PKGDEST/build.log"
gzip "$PKGDEST/build.log"
rm -f "$PKGDEST/"*.tar.gz.old
[ "$failed" != '' ] && echo "failed packages: $failed"
echo -n "$failed" > "$PKGDEST/failed.txt"
grep -- '---failed---$' "$PKGDEST/build.log"

View File

@@ -1,10 +0,0 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
dry_run: true
repo: moparisthebest/arch-ppa
tags: latest

View File

@@ -1,30 +0,0 @@
language: minimal
env:
# removed linux-aufs-lts webkitgtk
- TAG=1 PKGS_TO_BUILD_IN_ORDER="qemu-user-static popstation_md mkinitcpio-utils truecraft-git popstation pkgsync evdi displaylink pi-hole-ftl pi-hole-standalone pi-hole-server rootmp-hook mkinitcpio-dropbear perl-file-libmagic lua51-event memtest86-efi fuse-zip searx python2-schedule python-pydns python-pyspf python-postfix-policyd-spf wide-dhcpv6 broadcom-bt-firmware-git ucspi-tcp mkinitcpio-tinyssh evdi-git xboxdrv nextcloud-app-user-sql zpaq searx-py3 reprepro openhardwaremonitor python2-axolotl-curve25519-git python2-axolotl-git rusty-keys-git python-pycares libgcj17-bin pdftk-bin alt-version-switcher rusty-keys python-sleekxmpp sendxmpp-py ttf-ms-fonts ccextractor python2-dulwich hg-git-hg sonarr sendxmpp-rs visual-studio-code-bin runescape-launcher sendxmpp-rs-git zelda-roth"
- TAG=2 PKGS_TO_BUILD_IN_ORDER="nginx-mainline-rtmp clean-chroot-manager php-zmq dex2jar distccd-alarm prosody-mod-s2s-auth-dane crispy-doom gajim-plugin-omemo ts-spooler pcem intellij-idea-ultimate-edition atheme nextcloud-app-passman brother-hl2170w comskip odamex emulationstation-autoscraper wireguard-module-arch cryptsetup-multidisk mprime python2-pyliblzma webhook luaunbound react-native-cli nextcloud-app-user-external scallion emulationstation-themes ternimal-git kodi-standalone-socket-activation freeradius-client libpcl ocserv qt5-webengine-widevine wallabag"
- TAG=3 PKGS_TO_BUILD_IN_ORDER="python-rtslib-fb python-configshell-fb targetcli-fb php-imagick movim-git jdk6 kiwiirc htmlcxx lgogdownloader bitpim-release ttf-oxygen makemkv vdfuse stoken trousers openconnect-git chocolate-doom srb2-data srb2 filebot"
- TAG=4 PKGS_TO_BUILD_IN_ORDER="chocolate-doom-git biboumi-git dino-git factorio-demo ncurses5-compat-libs android-emulator isl osl cloog"
- TAG=5 PKGS_TO_BUILD_IN_ORDER="redis-desktop-manager inspircd perl-sys-virt hivex libguestfs"
- TAG=6 PKGS_TO_BUILD_IN_ORDER="libplatform-legacy minecraft cryptsetup-multidisk-ssh ffmpeg-omx lua-zlib archivemount mkinitcpio-netconf libresonic kodi-standalone-service prosody-hg-stable bluez-utils-compat binfmt-support panda3d emulationstation-git binfmt-qemu-static doom-wads coturn python-authres"
# - TAG=7 PKGS_TO_BUILD_IN_ORDER=""
# - TAG=8 PKGS_TO_BUILD_IN_ORDER="mingw-w64-headers mingw-w64-headers-bootstrap mingw-w64-binutils mingw-w64-gcc-base mingw-w64-crt mingw-w64-winpthreads mingw-w64-gcc"
services:
- docker
script:
- docker build --build-arg PKGS_TO_BUILD_IN_ORDER="$PKGS_TO_BUILD_IN_ORDER" -t moparisthebest/aur:travis-ci-$TAG . || travis_terminate 1;
- echo "$DOCKER_PASS" | docker login --username $DOCKER_USER --password-stdin || travis_terminate 1;
- docker push moparisthebest/aur:travis-ci-$TAG || travis_terminate 1;

View File

@@ -1,23 +0,0 @@
FROM archlinux/base:latest AS build
ARG PKGS_TO_BUILD_IN_ORDER
ENV PKGS_TO_BUILD_IN_ORDER=$PKGS_TO_BUILD_IN_ORDER
# Install tools required for project
# Run `docker build --no-cache .` to update dependencies
RUN mkdir -p /build/ /repo/ /var/cache/pacman/pkg/ && chown nobody: /build/ /repo/ && \
echo -e '[aur]\nSigLevel = Never\nServer = file:///repo' >> /etc/pacman.conf && repo-add /repo/aur.db.tar.gz && \
echo 'COMPRESSXZ=(xz -c -z - --threads=0)' >> /etc/makepkg.conf && \
pacman -Syu --noconfirm base sudo base-devel && \
echo -e 'nobody ALL= NOPASSWD: /usr/bin/pacman\nnobody ALL= NOPASSWD: /usr/bin/makepkg' > /etc/sudoers.d/nobody
COPY . /build/
WORKDIR /build/src/
RUN chown -R nobody: /build/ /repo/ && /build/.docker/build.sh /build/src /repo
# This results in a single layer image
FROM nginx:stable-alpine
COPY --from=build /repo/ /usr/share/nginx/html
RUN rm /usr/share/nginx/html/index.html /usr/share/nginx/html/50x.html && chown -R nginx: /usr/share/nginx/html && \
sed -i 's@root /usr/share/nginx/html;@root /usr/share/nginx/html; autoindex on;@' /etc/nginx/conf.d/default.conf

View File

@@ -1,5 +0,0 @@
version: 1.0.{build}
image: ubuntu
build_script:
- docker build -t moparisthebest/arch-ppa .

View File

@@ -1,33 +0,0 @@
# Contributor: giga300 <giga300[at]protonmail[dot]com>
# Maintainer: giga300 <giga300[at]protonmail[dot]com>
pkgname=4nxci-git
_pkgname=4NXCI
pkgver=v4.03.r2.g33044e6
pkgrel=1
pkgdesc='4NXCI is a tool for converting XCI(NX Card Image) files to NSP'
arch=('any')
url="https://github.com/The-4n/4NXCI"
license=('ISC')
depends=('glibc')
makedepends=('git')
provides=("4nxci-bin")
conflicts=("4nxci-bin")
source=('git+https://github.com/The-4n/4NXCI.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/${_pkgname}"
cp config.mk.template config.mk
make
}
package() {
cd "$srcdir/${_pkgname}"
install -Dm755 "$srcdir/${_pkgname}/${pkgname%-git}" "$pkgdir/usr/bin/${pkgname%-git}"
}

View File

@@ -1,43 +0,0 @@
# Contributor: Jochem Kossen <j.kossen@home.nl>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Maintainer: schuay <jakob.gruber@gmail.com>
pkgname=abcde
pkgver=2.9.3
pkgrel=5
pkgdesc='Frontend command-line utility that grabs tracks off a CD, encodes them to ogg or mp3 format, and tags them, all in one go'
arch=('any')
url='https://abcde.einval.com/'
license=('GPL')
depends=('bash' 'cd-discid' 'wget' 'vorbis-tools' 'which')
optdepends=('cdparanoia: Paranoia ripping support'
'flac: FLAC encoding support'
'glyr: album art support'
'imagemagick: album art support'
'lame: MP3 encoding support'
'opus-tools: Opus encoding support'
'python-eyed3: ID3 tag support'
'vorbisgain: Ogg Vorbis normalization support')
backup=("etc/${pkgname}.conf")
source=("https://abcde.einval.com/download/abcde-${pkgver}.tar.gz"{,.sign}
hostname.patch)
validpgpkeys=('CEBB52301D617E910390FE16587979573442684E'
'742D444A5AFAF2951EF33E7BF8FB375D9CC820B3') # Steve McIntyre, Andrew Strong
sha256sums=('046cd0bba78dd4bbdcbcf82fe625865c60df35a005482de13a6699c5a3b83124'
'SKIP'
'6b4d8e70dbd34ad269db44fdb9f63eccc448b632cfc98d1b635c3ee6a77362ad')
prepare() {
cd "${pkgname}-${pkgver}"
sed -e "s:normalize-audio:normalize:g" -i ${pkgname}
# https://bugs.archlinux.org/task/58046
sed -i 's/^#CDDBMETHOD=musicbrainz/CDDBMETHOD=cddb/' abcde.conf
# replace inetutils hostname with coreutils uname -n
patch -Np1 -i ../hostname.patch
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" prefix=/usr sysconfdir=/etc install
}

View File

@@ -1,44 +0,0 @@
# Maintainer: Federico Giuliani <federico.giuliani86 at gmail dot com>
pkgname=airsonic
pkgver=10.6.2
_relver=10.6
pkgrel=1
pkgdesc="A free, web-based media streamer and jukebox."
arch=('any')
url="https://github.com/Airsonic/airsonic/"
license=('GPL3')
depends=('java-runtime-headless' 'ttf-dejavu')
backup=('etc/airsonic/airsonic.conf')
noextract=(${pkgname}.war)
source=(${pkgname}-${pkgver}.war::https://github.com/airsonic/airsonic/releases/download/v${pkgver}/${pkgname}.war
${pkgname}-systemd-env-${_relver}::https://raw.githubusercontent.com/airsonic/airsonic/release-${_relver}/contrib/${pkgname}-systemd-env
${pkgname}-${_relver}.service::https://raw.githubusercontent.com/airsonic/airsonic/release-${_relver}/contrib/${pkgname}.service
${pkgname}.sysusers
${pkgname}.tmpfiles)
package() {
cd ${srcdir}
mkdir -p ${pkgdir}/var/lib/${pkgname}
mkdir -p ${pkgdir}/var/lib/${pkgname}/playlists
mkdir -p ${pkgdir}/usr/lib/systemd/system
mkdir -p ${pkgdir}/etc/${pkgname}
cp ${pkgname}-${pkgver}.war ${pkgdir}/var/lib/${pkgname}/${pkgname}.war
sed -i 's/\/var\/airsonic/\/var\/lib\/airsonic/' ${pkgname}-${_relver}.service
sed -i 's/\/etc\/sysconfig\/airsonic/\/etc\/airsonic\/airsonic.conf/' ${pkgname}-${_relver}.service
sed -i 's/\/var\/airsonic/\/var\/lib\/airsonic/' ${pkgname}-systemd-env-${_relver}
cp ${pkgname}-systemd-env-${_relver} ${pkgdir}/etc/${pkgname}/${pkgname}.conf
install -Dm644 "${srcdir}/${pkgname}-${_relver}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -Dm644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
install -Dm644 "${srcdir}/${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
}
sha256sums=('94b17d6a7859a9c029dcbcdc672f4d49bd605bf46bdf74ac51ea0d593db67860'
'059a43fe100d95aaaae8091d1c312f4d3a2a2b4edc1969358dd7be35f6525930'
'6f2e626e393d1e706e3edb45d5dfabf026d9360016d0c2643430c4503dc3e9e2'
'25af0b92b247df928db5ac8fec3fb4fa2cdc717e649729d5e0c059a5b81e058e'
'952c15c8c6b53b9c63a96eb6b2402eae42bde56dc9c6c60484cf039a03a82963')

View File

@@ -1 +0,0 @@
u airsonic - "Airsonic user" /var/lib/airsonic

View File

@@ -1 +0,0 @@
d /var/lib/airsonic 0755 airsonic airsonic

View File

@@ -1,23 +0,0 @@
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
pkgname=alt-version-switcher
_pkgname=alt
pkgver=1.0.5
pkgrel=1
pkgdesc='Tool for switching between different versions of commands'
arch=('i686' 'x86_64')
url="https://github.com/dotboris/alt"
license=('MIT')
depends=()
conflicts=('alt' 'alt-git')
makedepends=('rust' 'cargo' 'git')
source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('8b7cc468ccfd6fe131815bb205cac6fb5fe6ce2a23cb622284b25ae25b83feca3d8c91a8431fa53cdc69b89bd19feffb3b2730b418d27652e72880f203ed6889')
build() {
cd "$_pkgname-$pkgver"
/usr/bin/cargo build --release
}
package() {
install -Dm755 "$srcdir/$_pkgname-$pkgver/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}

View File

@@ -1,2 +0,0 @@
KERNEL=="binder", MODE="0666"
KERNEL=="ashmem", MODE="0666"

View File

@@ -1,75 +0,0 @@
# Maintainer: Iwan Timmer <irtimmer@gmail.com>
pkgname=anbox-git
_pkgname=anbox
pkgver=r1317.3fa48f9
pkgrel=1
epoch=1
arch=('x86_64')
url="http://anbox.io/"
license=('GPL3')
pkgdesc="Running Android in a container"
depends=('lxc' 'sdl2_image' 'protobuf' 'anbox-image' 'libsystemd' 'boost-libs')
makedepends=('cmake' 'git' 'glm' 'lxc' 'sdl2_image' 'protobuf' 'boost' 'properties-cpp' 'gtest' 'python')
source=("git+https://github.com/anbox/anbox.git"
"git+https://github.com/google/cpu_features.git"
"git+https://github.com/Kistler-Group/sdbus-cpp.git"
'anbox-container-manager.service'
'anbox-session-manager.service'
'99-anbox.rules'
'anbox.conf'
'anbox.desktop'
'anbox-bridge.network'
'anbox-bridge.netdev')
sha256sums=('SKIP'
'SKIP'
'SKIP'
'5be94b63dc30d141f15ca7d1be6e3e81f26ef33f844614975537562f5d08236c'
'1f22dbb5a3ca6925bbf62899cd0f0bbaa0b77c879adcdd12ff9d43adfa61b1d8'
'210eb93342228168f7bb632c8b93d9bfda6f53f62459a6b74987fa1e17530475'
'3e07dc524a827c1651857cce28a06c1565bc5188101c140ed213bbafedc5abff'
'7332d09865be553a259a53819cebddd21f661c7a251d78c2f46acd75c66676b6'
'44899328725667041e6e84912da81c1d0147b708006eb2c2bb6503f271629ff0'
'559190df4d6d595480b30d8b13b862081fc4aac52790e33eb24cf7fbcb8003b8')
pkgver() {
cd "$srcdir/$_pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
prepare() {
cd "$srcdir/${_pkgname}"
# Don't build tests
truncate -s 0 cmake/FindGMock.cmake
truncate -s 0 tests/CMakeLists.txt
git submodule init
git config submodule.external/cpu_features.url $srcdir/cpu_features
git config submodule.external/sdbus-cpp.url $srcdir/sdbus-cpp
git submodule update
}
build() {
mkdir -p "$srcdir/${_pkgname}/build"
cd "$srcdir/${_pkgname}/build"
cmake .. -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-Wno-error=implicit-fallthrough -Wno-error=missing-field-initializers" -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/${_pkgname}"
make -C build DESTDIR="$pkgdir" install
install -Dm 644 -t $pkgdir/usr/lib/systemd/system $srcdir/anbox-container-manager.service
install -Dm 644 -t $pkgdir/usr/lib/systemd/user $srcdir/anbox-session-manager.service
install -Dm 644 $srcdir/anbox-bridge.network $pkgdir/usr/lib/systemd/network/80-anbox-bridge.network
install -Dm 644 $srcdir/anbox-bridge.netdev $pkgdir/usr/lib/systemd/network/80-anbox-bridge.netdev
install -Dm 644 -t $pkgdir/usr/lib/udev/rules.d $srcdir/99-anbox.rules
install -Dm 644 -t $pkgdir/usr/share/applications $srcdir/anbox.desktop
install -Dm 644 snap/gui/icon.png $pkgdir/usr/share/pixmaps/anbox.png
}

View File

@@ -1,3 +0,0 @@
[NetDev]
Name=anbox0
Kind=bridge

View File

@@ -1,7 +0,0 @@
[Match]
Name=anbox0
Driver=bridge
[Network]
Address=192.168.250.1/24
IPMasquerade=yes

View File

@@ -1,8 +0,0 @@
[Unit]
Description=Anbox Container Manager
[Service]
ExecStart=/usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
[Install]
WantedBy=multi-user.target

View File

@@ -1,8 +0,0 @@
[Unit]
Description=Anbox Session Manager
[Service]
ExecStart=/usr/bin/anbox session-manager
[Install]
WantedBy=default.target

View File

@@ -1,2 +0,0 @@
ashmem_linux
binder_linux

View File

@@ -1,8 +0,0 @@
[Desktop Entry]
Name=Anbox
GenericName=Android in a box
Version=1.0
Type=Application
Icon=anbox
Exec=anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
Terminal=false

View File

@@ -1,2 +0,0 @@
*
.*

View File

@@ -1,129 +0,0 @@
# Maintainer: Jack Chen <redchenjs at live dot com>
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Robosky <fangyuhao0612 at gmail dot com>
pkgname=anbox-image-gapps
pkgver=2018.07.19
pkgrel=15
pkgdesc="Android image for running in Anbox, with OpenGApps and Houdini"
arch=('x86_64')
url="https://anbox.io"
license=('custom')
makedepends=('curl' 'lzip' 'squashfs-tools' 'unzip')
provides=('anbox-image')
conflicts=('anbox-image')
_gapps_rel="$(curl -s -L https://api.opengapps.org/list | sed -r 's/.*-x86_64-7.1-pico-([0-9]+).zip".*/\1/')"
_gapps_src="https://downloads.sourceforge.net/project/opengapps/x86_64/$_gapps_rel/open_gapps-x86_64-7.1-pico-$_gapps_rel.zip"
_gapps_md5="$(curl -s -L $_gapps_src.md5 | sed -r 's/^([0-9a-z]+).*/\1/')"
_gapps_list=(
'gsfcore-all'
'gsflogin-all'
'gmscore-x86_64'
'vending-x86_64'
)
source=(
"https://build.anbox.io/android-images/${pkgver//./\/}/android_amd64.img"
"https://github.com/redchenjs/aur-packages/raw/master/anbox-image/houdini_y.sfs"
"https://github.com/redchenjs/aur-packages/raw/master/anbox-image/houdini_z.sfs"
"media_codecs.xml"
"media_codecs_google_video.xml"
"media_codecs_google_audio.xml"
"media_codecs_google_telephony.xml"
"$_gapps_src"
)
md5sums=(
'26874452a6521ec2e37400670d438e33'
'7ebf618b1af94a02322d9f2d2610090b'
'5ca37e1629edb7d13b18751b72dc98ad'
'a638728bc2413d908f5eb44a9f09e947'
'599598e70060eb74c119cf7dac0ce466'
'43193761081a04ca18a28d4a6e039950'
'91f5f3e5c31f8e221ae8f318527dcb83'
"$_gapps_md5"
)
build () {
cd "$srcdir"
# unpack anbox image
mkdir -p squashfs-root
rm -rf ./squashfs-root/*
unsquashfs -f -d ./squashfs-root ./android_amd64.img
# load houdini_y
mkdir -p houdini_y
rm -rf ./houdini_y/*
unsquashfs -f -d ./houdini_y ./houdini_y.sfs
mkdir -p ./squashfs-root/system/lib/arm
cp -r ./houdini_y/* ./squashfs-root/system/lib/arm
mv ./squashfs-root/system/lib/arm/libhoudini.so ./squashfs-root/system/lib/libhoudini.so
# load houdini_z
mkdir -p houdini_z
rm -rf ./houdini_z/*
unsquashfs -f -d ./houdini_z ./houdini_z.sfs
mkdir -p ./squashfs-root/system/lib64/arm64
cp -r ./houdini_z/* ./squashfs-root/system/lib64/arm64
mv ./squashfs-root/system/lib64/arm64/libhoudini.so ./squashfs-root/system/lib64/libhoudini.so
# add houdini parser
mkdir -p ./squashfs-root/system/etc/binfmt_misc
echo ':arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P' >> ./squashfs-root/system/etc/binfmt_misc/arm_exe
echo ':arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P' >> ./squashfs-root/system/etc/binfmt_misc/arm_dyn
echo ':arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P' >> ./squashfs-root/system/etc/binfmt_misc/arm64_exe
echo ':arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P' >> ./squashfs-root/system/etc/binfmt_misc/arm64_dyn
# add features
sed -i '/<\/permissions>/d' ./squashfs-root/system/etc/permissions/anbox.xml
sed -i '/<unavailable-feature name=\"android.hardware.wifi\" \/>/d' ./squashfs-root/system/etc/permissions/anbox.xml
sed -i '/<unavailable-feature name=\"android.hardware.bluetooth\" \/>/d' ./squashfs-root/system/etc/permissions/anbox.xml
echo ' <feature name="android.hardware.touchscreen" />
<feature name="android.hardware.audio.output" />
<feature name="android.hardware.camera" />
<feature name="android.hardware.camera.any" />
<feature name="android.hardware.location" />
<feature name="android.hardware.location.gps" />
<feature name="android.hardware.location.network" />
<feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.portrait" />
<feature name="android.hardware.screen.landscape" />
<feature name="android.hardware.wifi" />
<feature name="android.hardware.bluetooth" />' >> ./squashfs-root/system/etc/permissions/anbox.xml
echo '</permissions>' >> ./squashfs-root/system/etc/permissions/anbox.xml
# set processors
sed -i '/^ro.product.cpu.abilist=x86_64,x86/ s/$/,arm64-v8a,armeabi-v7a,armeabi/' ./squashfs-root/system/build.prop
sed -i '/^ro.product.cpu.abilist32=x86/ s/$/,armeabi-v7a,armeabi/' ./squashfs-root/system/build.prop
sed -i '/^ro.product.cpu.abilist64=x86_64/ s/$/,arm64-v8a/' ./squashfs-root/system/build.prop
# enable nativebridge
echo 'persist.sys.nativebridge=1' >> ./squashfs-root/system/build.prop
sed -i 's/ro.dalvik.vm.native.bridge=0/ro.dalvik.vm.native.bridge=libhoudini.so/' ./squashfs-root/default.prop
# enable opengles
echo 'ro.opengles.version=131072' >> ./squashfs-root/system/build.prop
# install media codecs
cp media_codec*.xml ./squashfs-root/system/etc/
# install gapps
for i in ${_gapps_list[*]}; do
mkdir -p $i
rm -rf ./$i/*
tar --lzip -xvf ./Core/$i.tar.lz
cp -r ./$i/nodpi/priv-app/* ./squashfs-root/system/priv-app/
done
}
package() {
cd "$srcdir"
# repack image
mksquashfs ./squashfs-root ./android.img -noappend -b 131072 -comp xz -Xbcj x86
install -Dm 644 ./android.img "$pkgdir/var/lib/anbox/android.img"
}

View File

@@ -1,89 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
<!DOCTYPE MediaCodecs [
<!ELEMENT Include EMPTY>
<!ATTLIST Include href CDATA #REQUIRED>
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
<!ELEMENT Decoders (MediaCodec|Include)*>
<!ELEMENT Encoders (MediaCodec|Include)*>
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
<!ATTLIST MediaCodec name CDATA #REQUIRED>
<!ATTLIST MediaCodec type CDATA>
<!ELEMENT Type EMPTY>
<!ATTLIST Type name CDATA #REQUIRED>
<!ELEMENT Quirk EMPTY>
<!ATTLIST Quirk name CDATA #REQUIRED>
]>
There's a simple and a complex syntax to declare the availability of a
media codec:
A codec that properly follows the OpenMax spec and therefore doesn't have any
quirks and that only supports a single content type can be declared like so:
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
If a codec has quirks OR supports multiple content types, the following syntax
can be used:
<MediaCodec name="OMX.foo.bar" >
<Type name="something/interesting" />
<Type name="something/else" />
...
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="output-buffers-are-unreadable" />
</MediaCodec>
Only the three quirks included above are recognized at this point:
"requires-allocate-on-input-ports"
must be advertised if the component does not properly support specification
of input buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.
"requires-allocate-on-output-ports"
must be advertised if the component does not properly support specification
of output buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.
"output-buffers-are-unreadable"
must be advertised if the emitted output buffers of a decoder component
are not readable, i.e. use a custom format even though abusing one of
the official OMX colorspace constants.
Clients of such decoders will not be able to access the decoded data,
naturally making the component much less useful. The only use for
a component with this quirk is to render the output to the screen.
Audio decoders MUST NOT advertise this quirk.
Video decoders that advertise this quirk must be accompanied by a
corresponding color space converter for thumbnail extraction,
matching surfaceflinger support that can render the custom format to
a texture and possibly other code, so just DON'T USE THIS QUIRK.
-->
<MediaCodecs>
<Settings>
<Setting name="supports-multiple-secure-codecs" value="true" />
<Setting name="supports-secure-with-non-secure-codec" value="true" />
<Setting name="max-video-encoder-input-buffers" value="9" />
</Settings>
<Include href="media_codecs_google_video.xml" />
<Include href="media_codecs_google_audio.xml" />
<Include href="media_codecs_google_telephony.xml" />
</MediaCodecs>

View File

@@ -1,97 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.mp3.decoder" type="audio/mpeg">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<Limit name="bitrate" range="8000-320000" />
</MediaCodec>
<MediaCodec name="OMX.google.amrnb.decoder" type="audio/3gpp">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="4750-12200" />
</MediaCodec>
<MediaCodec name="OMX.google.amrwb.decoder" type="audio/amr-wb">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="16000" />
<Limit name="bitrate" range="6600-23850" />
</MediaCodec>
<MediaCodec name="OMX.google.aac.decoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="7350,8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<Limit name="bitrate" range="8000-960000" />
</MediaCodec>
<MediaCodec name="OMX.google.g711.alaw.decoder" type="audio/g711-alaw">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="64000" />
</MediaCodec>
<MediaCodec name="OMX.google.g711.mlaw.decoder" type="audio/g711-mlaw">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="64000" />
</MediaCodec>
<MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="32000-500000" />
</MediaCodec>
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="6000-510000" />
</MediaCodec>
<MediaCodec name="OMX.google.raw.decoder" type="audio/raw">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="1-10000000" />
</MediaCodec>
<MediaCodec name="OMX.google.flac.decoder" type="audio/flac">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="1-655350" />
<Limit name="bitrate" range="1-21000000" />
</MediaCodec>
</Decoders>
<Encoders>
<MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<!-- also may support 64000, 88200 and 96000 Hz -->
<Limit name="bitrate" range="8000-960000" />
</MediaCodec>
<MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="4750-12200" />
<Feature name="bitrate-modes" value="CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="16000" />
<Limit name="bitrate" range="6600-23850" />
<Feature name="bitrate-modes" value="CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.flac.encoder" type="audio/flac">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="1-655350" />
<Limit name="bitrate" range="1-21000000" />
<Limit name="complexity" range="0-8" default="5" />
<Feature name="bitrate-modes" value="CQ" />
</MediaCodec>
</Encoders>
</Included>

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.gsm.decoder" type="audio/gsm">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="13000" />
</MediaCodec>
</Decoders>
</Included>

View File

@@ -1,122 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es">
<!-- profiles and levels: ProfileSimple : Level3 -->
<Limit name="size" min="2x2" max="352x288" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="12-11880" />
<Limit name="bitrate" range="1-384000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp">
<!-- profiles and levels: ProfileBaseline : Level30, ProfileBaseline : Level45
ProfileISWV2 : Level30, ProfileISWV2 : Level45 -->
<Limit name="size" min="2x2" max="352x288" />
<Limit name="alignment" value="2x2" />
<Limit name="bitrate" range="1-384000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc">
<!-- profiles and levels: ProfileHigh : Level52 -->
<Limit name="size" min="2x2" max="4080x4080" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 equivalent -->
<Limit name="blocks-per-second" range="1-1966080" />
<Limit name="bitrate" range="1-48000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc">
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
<Limit name="size" min="2x2" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="8x8" />
<Limit name="block-count" range="1-196608" /> <!-- max 4096x3072 -->
<Limit name="blocks-per-second" range="1-2000000" />
<Limit name="bitrate" range="1-10000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8">
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-1000000" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9">
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
</Decoders>
<Encoders>
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp">
<!-- profiles and levels: ProfileBaseline : Level45 -->
<Limit name="size" min="176x144" max="176x144" />
<Limit name="alignment" value="16x16" />
<Limit name="bitrate" range="1-128000" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc">
<!-- profiles and levels: ProfileBaseline : Level41 -->
<Limit name="size" min="16x16" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-8192" /> <!-- max 2048x1024 -->
<Limit name="blocks-per-second" range="1-245760" />
<Limit name="bitrate" range="1-12000000" />
<Feature name="intra-refresh" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es">
<!-- profiles and levels: ProfileCore : Level2 -->
<Limit name="size" min="16x16" max="176x144" />
<Limit name="alignment" value="16x16" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="12-1485" />
<Limit name="bitrate" range="1-64000" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8">
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<!-- 2016 devices can encode at about 10fps at this block count -->
<Limit name="block-count" range="1-16384" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.encoder" type="video/x-vnd.on2.vp9">
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<!-- 2016 devices can encode at about 8fps at this block count -->
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
<Limit name="bitrate" range="1-40000000" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
</Encoders>
</Included>

View File

@@ -1,2 +0,0 @@
*
.*

View File

@@ -1,113 +0,0 @@
# Maintainer: Jack Chen <redchenjs@live.com>
pkgname=anbox-image-houdini
pkgver=2018.07.19
pkgrel=5
pkgdesc="Android image for running in Anbox with Houdini"
arch=('x86_64')
url="https://anbox.io/"
license=('custom')
makedepends=(
'squashfs-tools'
)
provides=(
'anbox-image'
)
conflicts=(
'anbox-image'
)
source=(
"https://build.anbox.io/android-images/${pkgver//./\/}/android_amd64.img"
"https://github.com/redchenjs/aur-packages/raw/master/anbox-image/houdini_y.sfs"
"https://github.com/redchenjs/aur-packages/raw/master/anbox-image/houdini_z.sfs"
"media_codecs.xml"
"media_codecs_google_video.xml"
"media_codecs_google_audio.xml"
"media_codecs_google_telephony.xml"
)
md5sums=(
'26874452a6521ec2e37400670d438e33'
'7ebf618b1af94a02322d9f2d2610090b'
'5ca37e1629edb7d13b18751b72dc98ad'
'a638728bc2413d908f5eb44a9f09e947'
'599598e70060eb74c119cf7dac0ce466'
'43193761081a04ca18a28d4a6e039950'
'91f5f3e5c31f8e221ae8f318527dcb83'
)
build () {
cd "$srcdir"
# unpack anbox image
mkdir -p squashfs-root
rm -rf ./squashfs-root/*
unsquashfs -f -d ./squashfs-root ./android_amd64.img
# load houdini_y
mkdir -p houdini_y
rm -rf ./houdini_y/*
unsquashfs -f -d ./houdini_y ./houdini_y.sfs
mkdir -p ./squashfs-root/system/lib/arm
cp -r ./houdini_y/* ./squashfs-root/system/lib/arm
mv ./squashfs-root/system/lib/arm/libhoudini.so ./squashfs-root/system/lib/libhoudini.so
# load houdini_z
mkdir -p houdini_z
rm -rf ./houdini_z/*
unsquashfs -f -d ./houdini_z ./houdini_z.sfs
mkdir -p ./squashfs-root/system/lib64/arm64
cp -r ./houdini_z/* ./squashfs-root/system/lib64/arm64
mv ./squashfs-root/system/lib64/arm64/libhoudini.so ./squashfs-root/system/lib64/libhoudini.so
# add houdini parser
mkdir -p ./squashfs-root/system/etc/binfmt_misc
echo ':arm_exe:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28::/system/lib/arm/houdini:P' >> ./squashfs-root/system/etc/binfmt_misc/arm_exe
echo ':arm_dyn:M::\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x28::/system/lib/arm/houdini:P' >> ./squashfs-root/system/etc/binfmt_misc/arm_dyn
echo ':arm64_exe:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7::/system/lib64/arm64/houdini64:P' >> ./squashfs-root/system/etc/binfmt_misc/arm64_exe
echo ':arm64_dyn:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\xb7::/system/lib64/arm64/houdini64:P' >> ./squashfs-root/system/etc/binfmt_misc/arm64_dyn
# add features
sed -i '/<\/permissions>/d' ./squashfs-root/system/etc/permissions/anbox.xml
sed -i '/<unavailable-feature name=\"android.hardware.wifi\" \/>/d' ./squashfs-root/system/etc/permissions/anbox.xml
sed -i '/<unavailable-feature name=\"android.hardware.bluetooth\" \/>/d' ./squashfs-root/system/etc/permissions/anbox.xml
echo ' <feature name="android.hardware.touchscreen" />
<feature name="android.hardware.audio.output" />
<feature name="android.hardware.camera" />
<feature name="android.hardware.camera.any" />
<feature name="android.hardware.location" />
<feature name="android.hardware.location.gps" />
<feature name="android.hardware.location.network" />
<feature name="android.hardware.microphone" />
<feature name="android.hardware.screen.portrait" />
<feature name="android.hardware.screen.landscape" />
<feature name="android.hardware.wifi" />
<feature name="android.hardware.bluetooth" />' >> ./squashfs-root/system/etc/permissions/anbox.xml
echo '</permissions>' >> ./squashfs-root/system/etc/permissions/anbox.xml
# set processors
sed -i '/^ro.product.cpu.abilist=x86_64,x86/ s/$/,arm64-v8a,armeabi-v7a,armeabi/' ./squashfs-root/system/build.prop
sed -i '/^ro.product.cpu.abilist32=x86/ s/$/,armeabi-v7a,armeabi/' ./squashfs-root/system/build.prop
sed -i '/^ro.product.cpu.abilist64=x86_64/ s/$/,arm64-v8a/' ./squashfs-root/system/build.prop
# enable nativebridge
echo 'persist.sys.nativebridge=1' >> ./squashfs-root/system/build.prop
sed -i 's/ro.dalvik.vm.native.bridge=0/ro.dalvik.vm.native.bridge=libhoudini.so/' ./squashfs-root/default.prop
# enable opengles
echo 'ro.opengles.version=131072' >> ./squashfs-root/system/build.prop
# install media codecs
cp media_codec*.xml ./squashfs-root/system/etc/
}
package() {
cd "$srcdir"
# repack image
mksquashfs ./squashfs-root ./android.img -noappend -b 131072 -comp xz -Xbcj x86
install -Dm 644 ./android.img "$pkgdir/var/lib/anbox/android.img"
}

View File

@@ -1,89 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2012 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
<!DOCTYPE MediaCodecs [
<!ELEMENT Include EMPTY>
<!ATTLIST Include href CDATA #REQUIRED>
<!ELEMENT MediaCodecs (Decoders|Encoders|Include)*>
<!ELEMENT Decoders (MediaCodec|Include)*>
<!ELEMENT Encoders (MediaCodec|Include)*>
<!ELEMENT MediaCodec (Type|Quirk|Include)*>
<!ATTLIST MediaCodec name CDATA #REQUIRED>
<!ATTLIST MediaCodec type CDATA>
<!ELEMENT Type EMPTY>
<!ATTLIST Type name CDATA #REQUIRED>
<!ELEMENT Quirk EMPTY>
<!ATTLIST Quirk name CDATA #REQUIRED>
]>
There's a simple and a complex syntax to declare the availability of a
media codec:
A codec that properly follows the OpenMax spec and therefore doesn't have any
quirks and that only supports a single content type can be declared like so:
<MediaCodec name="OMX.foo.bar" type="something/interesting" />
If a codec has quirks OR supports multiple content types, the following syntax
can be used:
<MediaCodec name="OMX.foo.bar" >
<Type name="something/interesting" />
<Type name="something/else" />
...
<Quirk name="requires-allocate-on-input-ports" />
<Quirk name="requires-allocate-on-output-ports" />
<Quirk name="output-buffers-are-unreadable" />
</MediaCodec>
Only the three quirks included above are recognized at this point:
"requires-allocate-on-input-ports"
must be advertised if the component does not properly support specification
of input buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.
"requires-allocate-on-output-ports"
must be advertised if the component does not properly support specification
of output buffers using the OMX_UseBuffer(...) API but instead requires
OMX_AllocateBuffer to be used.
"output-buffers-are-unreadable"
must be advertised if the emitted output buffers of a decoder component
are not readable, i.e. use a custom format even though abusing one of
the official OMX colorspace constants.
Clients of such decoders will not be able to access the decoded data,
naturally making the component much less useful. The only use for
a component with this quirk is to render the output to the screen.
Audio decoders MUST NOT advertise this quirk.
Video decoders that advertise this quirk must be accompanied by a
corresponding color space converter for thumbnail extraction,
matching surfaceflinger support that can render the custom format to
a texture and possibly other code, so just DON'T USE THIS QUIRK.
-->
<MediaCodecs>
<Settings>
<Setting name="supports-multiple-secure-codecs" value="true" />
<Setting name="supports-secure-with-non-secure-codec" value="true" />
<Setting name="max-video-encoder-input-buffers" value="9" />
</Settings>
<Include href="media_codecs_google_video.xml" />
<Include href="media_codecs_google_audio.xml" />
<Include href="media_codecs_google_telephony.xml" />
</MediaCodecs>

View File

@@ -1,97 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.mp3.decoder" type="audio/mpeg">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<Limit name="bitrate" range="8000-320000" />
</MediaCodec>
<MediaCodec name="OMX.google.amrnb.decoder" type="audio/3gpp">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="4750-12200" />
</MediaCodec>
<MediaCodec name="OMX.google.amrwb.decoder" type="audio/amr-wb">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="16000" />
<Limit name="bitrate" range="6600-23850" />
</MediaCodec>
<MediaCodec name="OMX.google.aac.decoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="7350,8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<Limit name="bitrate" range="8000-960000" />
</MediaCodec>
<MediaCodec name="OMX.google.g711.alaw.decoder" type="audio/g711-alaw">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="64000" />
</MediaCodec>
<MediaCodec name="OMX.google.g711.mlaw.decoder" type="audio/g711-mlaw">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000-48000" />
<Limit name="bitrate" range="64000" />
</MediaCodec>
<MediaCodec name="OMX.google.vorbis.decoder" type="audio/vorbis">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="32000-500000" />
</MediaCodec>
<MediaCodec name="OMX.google.opus.decoder" type="audio/opus">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="48000" />
<Limit name="bitrate" range="6000-510000" />
</MediaCodec>
<MediaCodec name="OMX.google.raw.decoder" type="audio/raw">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="8000-96000" />
<Limit name="bitrate" range="1-10000000" />
</MediaCodec>
<MediaCodec name="OMX.google.flac.decoder" type="audio/flac">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="1-655350" />
<Limit name="bitrate" range="1-21000000" />
</MediaCodec>
</Decoders>
<Encoders>
<MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="8000,11025,12000,16000,22050,24000,32000,44100,48000" />
<!-- also may support 64000, 88200 and 96000 Hz -->
<Limit name="bitrate" range="8000-960000" />
</MediaCodec>
<MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="4750-12200" />
<Feature name="bitrate-modes" value="CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="16000" />
<Limit name="bitrate" range="6600-23850" />
<Feature name="bitrate-modes" value="CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.flac.encoder" type="audio/flac">
<Limit name="channel-count" max="2" />
<Limit name="sample-rate" ranges="1-655350" />
<Limit name="bitrate" range="1-21000000" />
<Limit name="complexity" range="0-8" default="5" />
<Feature name="bitrate-modes" value="CQ" />
</MediaCodec>
</Encoders>
</Included>

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.gsm.decoder" type="audio/gsm">
<Limit name="channel-count" max="1" />
<Limit name="sample-rate" ranges="8000" />
<Limit name="bitrate" range="13000" />
</MediaCodec>
</Decoders>
</Included>

View File

@@ -1,122 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<Included>
<Decoders>
<MediaCodec name="OMX.google.mpeg4.decoder" type="video/mp4v-es">
<!-- profiles and levels: ProfileSimple : Level3 -->
<Limit name="size" min="2x2" max="352x288" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="12-11880" />
<Limit name="bitrate" range="1-384000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.decoder" type="video/3gpp">
<!-- profiles and levels: ProfileBaseline : Level30, ProfileBaseline : Level45
ProfileISWV2 : Level30, ProfileISWV2 : Level45 -->
<Limit name="size" min="2x2" max="352x288" />
<Limit name="alignment" value="2x2" />
<Limit name="bitrate" range="1-384000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.decoder" type="video/avc">
<!-- profiles and levels: ProfileHigh : Level52 -->
<Limit name="size" min="2x2" max="4080x4080" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-32768" /> <!-- max 4096x2048 equivalent -->
<Limit name="blocks-per-second" range="1-1966080" />
<Limit name="bitrate" range="1-48000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.hevc.decoder" type="video/hevc">
<!-- profiles and levels: ProfileMain : MainTierLevel51 -->
<Limit name="size" min="2x2" max="4096x4096" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="8x8" />
<Limit name="block-count" range="1-196608" /> <!-- max 4096x3072 -->
<Limit name="blocks-per-second" range="1-2000000" />
<Limit name="bitrate" range="1-10000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.decoder" type="video/x-vnd.on2.vp8">
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-1000000" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.decoder" type="video/x-vnd.on2.vp9">
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-16384" />
<Limit name="blocks-per-second" range="1-500000" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="adaptive-playback" />
</MediaCodec>
</Decoders>
<Encoders>
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp">
<!-- profiles and levels: ProfileBaseline : Level45 -->
<Limit name="size" min="176x144" max="176x144" />
<Limit name="alignment" value="16x16" />
<Limit name="bitrate" range="1-128000" />
</MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc">
<!-- profiles and levels: ProfileBaseline : Level41 -->
<Limit name="size" min="16x16" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="block-count" range="1-8192" /> <!-- max 2048x1024 -->
<Limit name="blocks-per-second" range="1-245760" />
<Limit name="bitrate" range="1-12000000" />
<Feature name="intra-refresh" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es">
<!-- profiles and levels: ProfileCore : Level2 -->
<Limit name="size" min="16x16" max="176x144" />
<Limit name="alignment" value="16x16" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="12-1485" />
<Limit name="bitrate" range="1-64000" />
</MediaCodec>
<MediaCodec name="OMX.google.vp8.encoder" type="video/x-vnd.on2.vp8">
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<!-- 2016 devices can encode at about 10fps at this block count -->
<Limit name="block-count" range="1-16384" />
<Limit name="bitrate" range="1-40000000" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
<MediaCodec name="OMX.google.vp9.encoder" type="video/x-vnd.on2.vp9">
<!-- profiles and levels: ProfileMain : Level_Version0-3 -->
<Limit name="size" min="2x2" max="2048x2048" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<!-- 2016 devices can encode at about 8fps at this block count -->
<Limit name="block-count" range="1-3600" /> <!-- max 1280x720 -->
<Limit name="bitrate" range="1-40000000" />
<Feature name="bitrate-modes" value="VBR,CBR" />
</MediaCodec>
</Encoders>
</Included>

View File

@@ -1,16 +0,0 @@
# Maintainer: Iwan Timmer <irtimmer@gmail.com>
pkgname=anbox-image
pkgver=2018.07.19
pkgrel=1
epoch=1
pkgdesc="Android image for running in Anbox"
arch=('x86_64')
url="http://anbox.io/"
license=('custom')
source=("http://build.anbox.io/android-images/${pkgver//./\/}/android_amd64.img")
sha256sums=('6b04cd33d157814deaf92dccf8a23da4dc00b05ca6ce982a03830381896a8cca')
package() {
install -Dm 644 $srcdir/android_amd64.img $pkgdir/var/lib/anbox/android.img
}

View File

@@ -1,35 +0,0 @@
# Maintainer: Zhang Hai <dreaming.in.code.zh@gmail.com>
pkgname=android-emulator
pkgver=29.0.11
pkgrel=1
pkgdesc='Google Android Emulator'
arch=('x86_64')
url='https://developer.android.com/studio/releases/emulator.html'
license=('custom')
depends=('libpulse' 'libx11' 'libxcb' 'libxdamage' 'libxext'
'libxfixes' 'ncurses5-compat-libs' 'zlib')
install="${pkgname}.install"
source=('https://dl.google.com/android/repository/emulator-linux-5598178.zip'
"${pkgname}.sh"
"${pkgname}.csh")
sha1sums=('aecaf5cc0648460575d352207515b400ec913a00'
'4537a7ce30bedf87cedafc2020822219ad58310d'
'2fb371b5774b67143f0610dfbec4963a4e2f11cc')
package() {
install -Dm755 "${pkgname}.sh" "${pkgdir}/etc/profile.d/${pkgname}.sh"
install -Dm755 "${pkgname}.csh" "${pkgdir}/etc/profile.d/${pkgname}.csh"
install -d "${pkgdir}/opt/android-sdk/"
cp -a emulator "${pkgdir}/opt/android-sdk/"
# Fix broken permissions
chmod -R o=g "${pkgdir}/opt/android-sdk/emulator"
find "${pkgdir}/opt/android-sdk/emulator" -perm 744 -exec chmod 755 {} +
}
# getver: https://developer.android.com/studio/releases/emulator.html
# see https://dl.google.com/android/repository/repository2-1.xml for new versions
# vim:set ts=2 sw=2 et:

View File

@@ -1,2 +0,0 @@
setenv ANDROID_HOME /opt/android-sdk
setenv PATH "${PATH}:${ANDROID_HOME}/emulator"

View File

@@ -1,3 +0,0 @@
post_install() {
echo You need to source /etc/profile or relogin to add the Android Emulator to your path.
}

View File

@@ -1,2 +0,0 @@
export ANDROID_HOME=/opt/android-sdk
export PATH="${PATH}:${ANDROID_HOME}/emulator"

View File

@@ -1,50 +0,0 @@
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
_pkgname=apfsprogs
pkgname=$_pkgname-git
pkgver=r321.a98a5bf
pkgrel=1
pkgdesc='Experimental APFS tools for linux'
arch=(x86_64)
license=(GPL2)
url='https://github.com/eafer/apfsprogs'
depends=('glibc')
makedepends=('git')
conflicts=("$_pkgname")
provides=("$_pkgname=$pkgver")
source=('git+https://github.com/eafer/apfsprogs'
'add-ldflags.patch'
'destdir.patch')
sha256sums=('SKIP'
'30c173d08a6ceeb40ba09f267f3bbacc1486fa51e155fef17456da03bd35d741'
'65c7af8a2538536bcf9e62b152893849b2cd1092040f5bc6ec2a33040027f8ac')
_progs=(apfsck mkapfs)
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $_pkgname
patch -Np1 -i ../add-ldflags.patch
patch -Np1 -i ../destdir.patch
}
build() {
cd $_pkgname
make -C lib
for prog in "${_progs[@]}" ; do
make -C $prog
done
}
package() {
cd $_pkgname
for prog in "${_progs[@]}" ; do
make -C $prog install DESTDIR="$pkgdir" BINDIR=/usr/bin MANDIR=/usr/share/man8
done
}

View File

@@ -1,26 +0,0 @@
diff --git a/apfsck/Makefile b/apfsck/Makefile
index e6d6f84..6f65668 100644
--- a/apfsck/Makefile
+++ b/apfsck/Makefile
@@ -15,7 +15,7 @@ override CFLAGS += -Wall -I$(CURDIR)/../include
apfsck: $(OBJS) $(LIBRARY)
@echo ' Linking...'
- @gcc $(CFLAGS) -o apfsck $(OBJS) $(LIBRARY)
+ @gcc $(CFLAGS) $(LDFLAGS) -o apfsck $(OBJS) $(LIBRARY)
@echo ' Build complete'
# Build the common libraries
diff --git a/mkapfs/Makefile b/mkapfs/Makefile
index 67b39ab..2280615 100644
--- a/mkapfs/Makefile
+++ b/mkapfs/Makefile
@@ -14,7 +14,7 @@ override CFLAGS += -Wall -I$(CURDIR)/../include
mkapfs: $(OBJS) $(LIBRARY)
@echo ' Linking...'
- @gcc $(CFLAGS) -o mkapfs $(OBJS) $(LIBRARY)
+ @gcc $(CFLAGS) $(LDFLAGS) -o mkapfs $(OBJS) $(LIBRARY)
@echo ' Build complete'
# Build the common libraries

View File

@@ -1,40 +0,0 @@
diff --git a/apfsck/Makefile b/apfsck/Makefile
index e6d6f84..3636b2b 100644
--- a/apfsck/Makefile
+++ b/apfsck/Makefile
@@ -37,9 +37,9 @@ endif
clean:
rm -f $(OBJS) $(DEPS) apfsck
install:
- install -d $(BINDIR)
- install -t $(BINDIR) apfsck
- ln -fs -T $(BINDIR)/apfsck $(BINDIR)/fsck.apfs
- install -d $(MANDIR)
- install -m 644 -t $(MANDIR) apfsck.8
- ln -fs -T $(MANDIR)/apfsck.8 $(MANDIR)/fsck.apfs.8
+ install -d $(DESTDIR)$(BINDIR)
+ install -t $(DESTDIR)$(BINDIR) apfsck
+ ln -fs -T $(BINDIR)/apfsck $(DESTDIR)$(BINDIR)/fsck.apfs
+ install -d $(DESTDIR)$(MANDIR)
+ install -m 644 -t $(DESTDIR)$(MANDIR) apfsck.8
+ ln -fs -T $(MANDIR)/apfsck.8 $(DESTDIR)$(MANDIR)/fsck.apfs.8
diff --git a/mkapfs/Makefile b/mkapfs/Makefile
index 67b39ab..bb66dd1 100644
--- a/mkapfs/Makefile
+++ b/mkapfs/Makefile
@@ -36,9 +36,9 @@ endif
clean:
rm -f $(OBJS) $(DEPS) mkapfs
install:
- install -d $(BINDIR)
- install -t $(BINDIR) mkapfs
- ln -fs -T $(BINDIR)/mkapfs $(BINDIR)/mkfs.apfs
- install -d $(MANDIR)
- install -m 644 -t $(MANDIR) mkapfs.8
- ln -fs -T $(MANDIR)/mkapfs.8 $(MANDIR)/mkfs.apfs.8
+ install -d $(DESTDIR)$(BINDIR)
+ install -t $(DESTDIR)$(BINDIR) mkapfs
+ ln -fs -T $(BINDIR)/mkapfs $(DESTDIR)$(BINDIR)/mkfs.apfs
+ install -d $(DESTDIR)$(MANDIR)
+ install -m 644 -t $(DESTDIR)$(MANDIR) mkapfs.8
+ ln -fs -T $(MANDIR)/mkapfs.8 $(DESTDIR)$(MANDIR)/mkfs.apfs.8

View File

@@ -1,47 +0,0 @@
# Maintainer : chrisl echo archlinux@c2h0r1i2s4t5o6p7h8e9r-l3u4n1a.com|sed 's/[0-9]//g'
# Contributor: Margot Xara <xara.margot@gmail.com>
# Contributor Daniel Illgen <daniel.illgen@googlemail.com>
# Contributor: Christer Solskogen <solskogen@carebears.mine.nu>
# Contributor: Giovanni Condello <condellog@gmail.com>
pkgname=aranym
pkgver=1.1.0
pkgrel=2
pkgdesc="Atari Running on Any Machine"
url="https://aranym.github.io"
depends=('gcc-libs' 'bash' 'sdl_image' 'mpfr')
arch=('i686' 'x86_64')
license=('GPL')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/"$pkgname"_"$pkgver".orig.tar.gz)
md5sums=('876eeadc81c16ee30717503a7b4f55b5')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-jit-compiler --enable-nfjpeg
make
mv aranym aranym-jit
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --enable-fullmmu --enable-lilo --enable-fixedvideoram --enable-nfjpeg
make
mv aranym aranym-mmu
make clean
./configure --prefix=/usr --disable-sdl2 --enable-usbhost --mandir=/usr/share/man --disable-nat-debug --disable-nat-debug --enable-nfjpeg
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install aranym-jit "$pkgdir"/usr/bin
install aranym-mmu "$pkgdir"/usr/bin
install aratapif "$pkgdir"/usr/bin
install -D contrib/icon-32.png \
${pkgdir}/usr/share/pixmaps/aranym.png
install -D contrib/aranym.desktop \
${pkgdir}/usr/share/applications/aranym.desktop
}

View File

@@ -1,24 +0,0 @@
# Maintainer: A.T.W.A. <arch.atwa@gmail.com>
# Contributor: Janne Heß <jannehess@gmail.com>
pkgname=archivemount
pkgver=0.8.12
pkgrel=2
pkgdesc="FUSE based filesystem for mounting compressed archives"
arch=('i686' 'x86_64')
url="https://www.cybernoia.de/software/archivemount.html"
license=('GPL2')
depends=('fuse' 'libarchive')
source=("https://www.cybernoia.de/software/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('247e475539b84e6d2a13083fd6df149995560ff1ea92fe9fdbfc87569943cb89')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

View File

@@ -1,29 +0,0 @@
# Maintainer: Foxy <gmail: foxyblackhat@gmail.com>
pkgname=astreamfs-git
pkgver=r154.5186593
pkgrel=1
pkgdesc='Fuse filesystem to read http(s) URL'
arch=(i686 x86_64)
url='https://gitlab.com/BylonAkila/astreamfs'
license=(GPL3)
depends=('fuse')
makedepends=('git')
source=(git+https://gitlab.com/BylonAkila/astreamfs.git)
sha1sums=('SKIP')
pkgver() {
cd astreamfs
echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd astreamfs
make
}
package() {
cd astreamfs
install -Dm755 astreamfs "${pkgdir}/usr/bin/astreamfs"
install -Dm755 1fichier "${pkgdir}/usr/bin/1fichier"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

View File

@@ -1,86 +0,0 @@
# Original: Maxime Poulin <maxpoulin64@gmail.com>
# Maintainer: Trevor Bergeron <aur@sec.gd>
# Build options (yes/no/default)
_large_network=default
_pcre=default
_perl=default
_contrib=default
_cracklib=default
_ldap=default
_pkgname=atheme-services
pkgname=atheme
_pkgver="7.2.12"
pkgrel=1
pkgver="${_pkgver//-/_}"
pkgdesc="IRC services"
arch=("i686" "x86_64")
url="https://atheme.org/atheme.html"
license=('custom:ISC')
# qrencode seems to be optional at build time but with no easy way to disable
# it aside from uninstalling qrencode
depends=('qrencode')
conflicts=('libmowgli' 'xtheme' 'atheme-git')
optdepends=(
'pcre: for pcre support'
'perl: for Perl support'
'cracklib: cracklib support in NickServ'
'libldap: LDAP support'
)
backup=(
'etc/atheme/atheme.conf'
'etc/atheme/atheme.motd'
)
install=atheme.install
source=("https://github.com/atheme/atheme/releases/download/v${_pkgver}/${_pkgname}-v${_pkgver}.tar.xz"
"atheme.service"
)
sha256sums=('600d5ba0e25d80307818021fd9b85e49b07f245932b3c8e04e16fe312dd60fba'
'ee9ad7658434451184872c21c7fd38196d22d1dfb6b1f37bcfaf8c363d50296f')
build() {
cd "$srcdir/$_pkgname-v$_pkgver"
_configure="./configure --prefix=/usr --enable-fhs-paths"
_configure+=" --sysconfdir=/etc/atheme --localstatedir=/var"
# By default, if you have libmowgli-2.so, it doesn't bother to build it.
# So it finds the version installed by atheme, doesn't build it, then when
# you install the new build, it's gone and atheme doesn't start.
# It's then absent from the system for the next build, so it's included.
# I can never get my saturday morning back.
_configure+=" --with-libmowgli=no"
[[ $_large_network = yes ]] && _configure+=" --enable-large-net"
[[ $_contrib = yes ]] && _configure+=" --enable-contrib"
[[ $_pcre = yes ]] && _configure+=" --with-pcre"
[[ $_pcre = no ]] && _configure+=" --without-pcre"
eval $_configure
make
}
package() {
cd "$srcdir/$_pkgname-v$_pkgver"
make DESTDIR="$pkgdir/" install
install -Dm0644 "$srcdir/atheme.service" "$pkgdir/usr/lib/systemd/system/atheme.service"
cd "$pkgdir"
rm -r var
install -dm755 -o142 -g142 var/lib/atheme/
install -d usr/share/licenses/atheme/
mv usr/share/doc/atheme/LICENSE usr/share/licenses/atheme/LICENSE
chmod 0755 etc/atheme/
chmod 0644 etc/atheme/*
install -dm755 usr/share/doc/atheme/config/
mv etc/atheme/atheme.conf.example etc/atheme/atheme.conf
mv etc/atheme/atheme.conf.operserv-example usr/share/doc/atheme/config/
mv etc/atheme/atheme.conf.userserv-example usr/share/doc/atheme/config/
mv etc/atheme/atheme.motd.example etc/atheme/atheme.motd
rm etc/atheme/atheme.cron.example
}

View File

@@ -1,20 +0,0 @@
create_user() {
getent group atheme &>/dev/null \
|| groupadd -g 142 atheme
getent passwd atheme &>/dev/null \
|| useradd atheme -u 142 -g 142 \
-d /var/lib/atheme -s /bin/false
}
post_install() {
create_user
}
post_upgrade() {
create_user
}
post_remove() {
getent passwd atheme &>/dev/null && userdel atheme
}

View File

@@ -1,12 +0,0 @@
[Unit]
Description=Atheme IRC services
[Service]
Type=simple
User=atheme
Group=atheme
ExecStart=/usr/bin/atheme-services -n -p /var/lib/atheme/pid
Restart=always
[Install]
WantedBy=network.target

View File

@@ -1,39 +0,0 @@
From 9c28c606c12b244a1034fbc7693ffe7894d86d7b Mon Sep 17 00:00:00 2001
From: Alad Wenter <alad@mailbox.org>
Date: Fri, 6 Oct 2017 23:03:14 +0200
Subject: [PATCH 1/7] aurbuild: backport fix for #236
---
bin/aurbuild | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/bin/aurbuild b/bin/aurbuild
index 05df8b0..4672372 100755
--- a/bin/aurbuild
+++ b/bin/aurbuild
@@ -110,6 +110,7 @@ root=$(canonicalize_path "${root-$server}")
if [[ -w $root/ && -r $root/ ]]; then
# File: custom.db -> custom.db.tar
db_path=$(readlink -f "$root/$database".db)
+ files_path=$(readlink -f "$root/$database".files)
else
error "$argv0: $root: permission denied"
exit 13
@@ -168,8 +169,13 @@ while read -r -u "$fd" pkg _; do
# https://github.com/vodik/repose/issues/46
if ((sign_pkg)); then
- gpg "${gpg_args[@]}" --output "$var_tmp/${db_path##*/}".sig "$db_path"
- mv -bv "$var_tmp/${db_path##*/}".sig -t "$root"
+ for i in "$db_path" "$files_path"; do
+ # https://github.com/AladW/aurutils/issues/236
+ i_sig=$var_tmp/${i##*/}.sig
+
+ gpg "${gpg_args[@]}" --output "$i_sig" "$i"
+ mv -bv "$i_sig" -t "$root"
+ done
fi
if ((chroot)); then
--
2.11.0

View File

@@ -1,69 +0,0 @@
From 74d0496ad357ca8c65562a028cb5b95888ea71cf Mon Sep 17 00:00:00 2001
From: Alad Wenter <alad@mailbox.org>
Date: Sat, 27 Jan 2018 03:21:37 +0100
Subject: [PATCH 2/7] aursync: make -L optional (#281)
---
bin/aursync | 7 ++++---
man1/aursync.1 | 7 ++++++-
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/bin/aursync b/bin/aursync
index fdf485d..1a96c0d 100755
--- a/bin/aursync
+++ b/bin/aursync
@@ -58,9 +58,9 @@ if getopt -T || (($? != 4)); then
exit 22
fi
-longopts=allan,bind:,chroot,container:,force,help,ignore:,no-confirm,no-ver,no-view,print,rmdeps,sign,tar,temp,repo:,root:,update
+longopts=allan,bind:,chroot,container:,force,help,ignore:,no-confirm,no-ver,no-view,print,rmdeps,sign,tar,temp,repo:,root:,update,log
-if TEMP=$(getopt -o B:cC:fhnprstTu -l "$longopts" -n "$argv0" -- "$@"); then
+if TEMP=$(getopt -o B:cC:fhLnprstTu -l "$longopts" -n "$argv0" -- "$@"); then
eval set -- "$TEMP"
else
usage
@@ -78,6 +78,7 @@ while true; do
-f|--force) local_args+=(-f); shift ;;
-n|--no-confirm) local_args+=(--noconfirm); shift ;;
-r|--rmdeps) local_args+=(-r); shift ;;
+ -L|--log) local_args+=(-L); shift ;;
-p|--print) printonly=1; shift ;;
-t|--tar) snapshot=1; shift ;;
-u|--update) update=1; shift ;;
@@ -103,7 +104,7 @@ fi
if ((chroot)); then
makepkg_args=(-cnu "${chroot_args[@]}")
else
- makepkg_args=(-Lcs "${local_args[@]}")
+ makepkg_args=(-cs "${local_args[@]}")
fi
if ! (($# + update)); then
diff --git a/man1/aursync.1 b/man1/aursync.1
index 5569c36..834afd7 100644
--- a/man1/aursync.1
+++ b/man1/aursync.1
@@ -78,13 +78,18 @@ value of the configured repository.
.RE
.SS makepkg
-The default set of options is \fImakepkg -Lcrs\fR.
+The default set of options is \fImakepkg -cs\fR.
.B \-f, --force
.RS
Overwrite built packages. (\fImakepkg -f\fR)
.RE
+.B \-L, --log
+.RS
+Enable logging to a text file in the build directory. (\fImakepkg -L\fR)
+.RE
+
.B \-n, --no-confirm
.RS
Do not wait for user input. (\fImakepkg --noconfirm\fR)
--
2.11.0

View File

@@ -1,27 +0,0 @@
From 4a7ef4e264162909f3ceb1debccb5cb23aebcba3 Mon Sep 17 00:00:00 2001
From: Alad Wenter <alad@mailbox.org>
Date: Sat, 27 Jan 2018 13:57:37 +0100
Subject: [PATCH 3/7] aurbuild: update default options
Remove gpg --verbose, makepkg -L
---
bin/aurbuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/aurbuild b/bin/aurbuild
index 4672372..f5ca92c 100755
--- a/bin/aurbuild
+++ b/bin/aurbuild
@@ -4,8 +4,8 @@ readonly basedir=$PWD
readonly PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
set -e
-declare -a gpg_args=(--detach-sign --no-armor --verbose --batch)
-declare -a makechrootpkg_args=(-cnu) makepkg_args=(-Lcrs)
+declare -a gpg_args=(--detach-sign --no-armor --batch)
+declare -a makechrootpkg_args=(-cnu) makepkg_args=(-crs)
declare -i chroot=0 sign_pkg=0
conf_chroot() {
--
2.11.0

View File

@@ -1,53 +0,0 @@
From ecc173230584327d74ea2d8899fec30d6ce6340c Mon Sep 17 00:00:00 2001
From: Alad Wenter <AladW@users.noreply.github.com>
Date: Mon, 22 Jan 2018 16:16:16 +0100
Subject: [PATCH 4/7] aurfetch: specify git work-tree/git-dir (#274)
Avoid "Stopping at filesystem boundary" issues with different file
systems.
---
bin/aurfetch | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/bin/aurfetch b/bin/aurfetch
index 95c49c3..0a79287 100755
--- a/bin/aurfetch
+++ b/bin/aurfetch
@@ -8,24 +8,25 @@ declare -i aurball=0
declare logdir=/dev/null
clone() {
- declare -r logdir=$1 startdir=$PWD
+ declare -r logdir=$1
while IFS= read -r; do
+ # Avoid issues with exotic file system layouts (#274)
+ git_wrap() { git --work-tree="$REPLY" --git-dir="$REPLY"/.git "$@"; }
+
if [[ -d $REPLY/.git ]]; then
- cd_safe "$REPLY"
+ # returns 0 even if nothing was fetched
+ git_wrap fetch -v
- git fetch -v # returns 0 even if nothing was fetched
-
- if [[ $(git rev-parse HEAD) != $(git rev-parse '@{upstream}') ]]; then
+ if [[ $(git_wrap rev-parse HEAD) != $(git_wrap rev-parse '@{upstream}') ]]; then
if [[ -d $logdir ]]; then
- git --no-pager log --patch --stat '..@{upstream}' >> "$logdir/$REPLY".patch
+ git_wrap --no-pager log --patch --stat '..@{upstream}' \
+ >> "$logdir/$REPLY".patch
fi
- git reset --hard HEAD
- git merge
+ git_wrap reset --hard HEAD
+ git_wrap merge
fi
-
- cd_safe "$startdir"
else
git clone "$aurweb/$REPLY".git
fi
--
2.11.0

View File

@@ -1,33 +0,0 @@
From 1de27b86ea0cb2076a03167e838374dd6442809b Mon Sep 17 00:00:00 2001
From: rafasc <rafa.almas@gmail.com>
Date: Mon, 26 Mar 2018 19:37:43 +0100
Subject: [PATCH 5/6] specify absolute paths for GIT_DIR & GIT_WORK_TREE
Specifying a relative directory will trigger a regression under some
circumstances.
$ GIT_DIR=spotify/.git GIT_WORK_TREE=spotify git reset HEAD
fatal: couldn't read spotify/.git/packed-refs: Not a directory
$ GIT_DIR=$PWD/spotify/.git GIT_WORK_TREE=$PWD/spotify git reset HEAD
workaround for AladW/aurutils#332
---
bin/aurfetch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/aurfetch b/bin/aurfetch
index 0a79287..4e026fa 100755
--- a/bin/aurfetch
+++ b/bin/aurfetch
@@ -12,7 +12,7 @@ clone() {
while IFS= read -r; do
# Avoid issues with exotic file system layouts (#274)
- git_wrap() { git --work-tree="$REPLY" --git-dir="$REPLY"/.git "$@"; }
+ git_wrap() { git --work-tree="$PWD/$REPLY" --git-dir="$PWD/$REPLY"/.git "$@"; }
if [[ -d $REPLY/.git ]]; then
# returns 0 even if nothing was fetched
--
2.11.0

View File

@@ -1,39 +0,0 @@
From da84181ae5b284557ec4d6afca7c8bcc7e87185a Mon Sep 17 00:00:00 2001
From: Alad Wenter <alad@mailbox.org>
Date: Tue, 27 Mar 2018 00:49:26 +0200
Subject: [PATCH 6/7] aurfetch, aursearch: use aria2 --no-conf
Avoid conflicts when a configuration file is used.
---
bin/aurfetch | 2 +-
bin/aursearch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/aurfetch b/bin/aurfetch
index 4e026fa..2cd5385 100755
--- a/bin/aurfetch
+++ b/bin/aurfetch
@@ -39,7 +39,7 @@ snapshot() {
cd_safe "$gzdir"
if type -P aria2c >/dev/null 2>&1; then
- aria2c --stderr=true -i -
+ aria2c --stderr=true -i --no-conf=true -
elif type -P parallel >/dev/null 2>&1; then
parallel --will-cite -X -j +5 --nice 10 --halt soon,fail=1 \
curl -fLsS --remote-name-all --cert-status {}
diff --git a/bin/aursearch b/bin/aursearch
index 5ff0a5c..dbb339e 100755
--- a/bin/aursearch
+++ b/bin/aursearch
@@ -20,7 +20,7 @@ split_info() {
dl_stdin() {
if type -P aria2c >/dev/null 2>&1; then
- aria2c --download-result=hide --console-log-level=error --stderr=true -d "$tmp"/aria2 -i - && cat "$tmp"/aria2/*
+ aria2c --download-result=hide --console-log-level=error --stderr=true -d "$tmp"/aria2 --no-conf=true -i - && cat "$tmp"/aria2/*
elif type -P parallel >/dev/null 2>&1; then
parallel --will-cite -X -j +8 --nice 10 --halt soon,fail=1 -r curl -fgLsS --compressed --cert-status {}
else
--
2.11.0

View File

@@ -1,31 +0,0 @@
From 5f779d382da346038996b877d320fa26c7d501c7 Mon Sep 17 00:00:00 2001
From: Alad Wenter <alad@mailbox.org>
Date: Tue, 27 Mar 2018 01:26:44 +0200
Subject: [PATCH 7/7] aurchain: do not sort results when appending
https://bbs.archlinux.org/viewtopic.php?pid=1761231#p1761231
---
bin/aurchain | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/bin/aurchain b/bin/aurchain
index 27a0808..e4b82ca 100755
--- a/bin/aurchain
+++ b/bin/aurchain
@@ -42,13 +42,11 @@ chain() {
for ((a = 1; a <= 30; ++a)); do
declare -i sub=$((a-1))
- pair json/$sub > tsv/$sub
+ pair json/$sub | tee -a tsv/n > tsv/$sub
fld 1 tsv/$sub >> pkgname
fld 1 tsv/$sub >> seen
- sort -u tsv/$sub >> tsv/n
-
# Avoid querying duplicates (#4)
readarray -t target < <(fld 2 tsv/$sub | grep -Fxvf seen)
--
2.11.0

View File

@@ -1,36 +0,0 @@
# Maintainer: Alad Wenter <https://github.com/AladW>
pkgname=aurutils
pkgver=3.1.2
pkgrel=1
pkgdesc='helper tools for the arch user repository'
url='https://github.com/AladW/aurutils'
arch=('any')
license=('custom:ISC')
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
"$url/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.signify"
'aurutils.pub')
changelog=aurutils.changelog
sha256sums=('86a80ae8327aeeb4932c7709767b2be5fae19281a5bcc78b2b10197e97c32afb'
'SKIP'
'a2c32b0dba4da40b83ff31cce48a00faed5ed2f663c060a865d31caeb1e4ed39')
depends=('git' 'jq' 'pacutils' 'curl')
makedepends=('signify')
optdepends=('bash-completion: bash completion'
'zsh: zsh completion'
'devtools: aur-chroot'
'vifm: default pager')
prepare() {
signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \
-x "$pkgname-$pkgver".tar.gz.signify
}
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}

View File

@@ -1,31 +0,0 @@
# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
pkgname=b43-firmware
_classic_=${pkgname}-classic
pkgver=6.30.163.46
pkgrel=1
pkgdesc="Firmware for Broadcom B43 wireless networking chips - latest release"
arch=("any")
url="https://wireless.wiki.kernel.org/en/users/Drivers/b43"
license=("unknown")
depends=("linux>=3.2")
makedepends=("b43-fwcutter>=018")
conflicts=(${_classic_})
install=${pkgname}.install
options=(!emptydirs)
source=(http://www.lwfinger.com/${pkgname}/broadcom-wl-${pkgver}.tar.bz2)
package() {
cd "${srcdir}"
# Directories
install -d "${pkgdir}"/usr/lib/firmware/
# Application
b43-fwcutter -w "${pkgdir}"/usr/lib/firmware/ broadcom-wl-${pkgver}.wl_apsta.o
# Messages
#msg "You should add 'b43' to the 'MODULES' array of your '/etc/rc.conf' file."
}
sha1sums=('237d29a7701429054f5c82c000ef2d9aa6f2c3db')

View File

@@ -1,7 +0,0 @@
post_upgrade() {
echo "==> If you encounter problems with v6.30, try the 'b43-firmware-classic' package (v5.100) instead."
}
post_install() {
post_upgrade
}

View File

@@ -1,118 +0,0 @@
# Maintainer: Tilman BLUMENBACH <tilman+aur AT ax86 DOT net>
pkgname=(barrier barrier-headless)
pkgver=2.1.2
pkgrel=2
pkgdesc="Open-source KVM software based on Synergy"
url="https://github.com/debauchee/barrier"
license=("custom:GPL2WithOpenSSLException")
changelog=CHANGELOG.rst
source=(
"https://github.com/debauchee/barrier/archive/v${pkgver?}.tar.gz"
)
arch=(x86_64)
depends=(
# Barrier core dependencies:
curl
avahi
libx11
libxrandr
libxext
libxinerama
xorgproto
libxtst
libxi
libsm
libice
openssl
)
makedepends=(
cmake
# Barrier GUI dependencies:
qt5-base
hicolor-icon-theme
)
prepare() {
cd "barrier-${pkgver?}"
for patch in "${srcdir?}"/*.patch; do
if [ -f "${patch?}" ]; then
patch -Np1 -i "${patch?}"
fi
done
}
build() {
cd "barrier-${pkgver?}"
mkdir -p build
cd build
cmake -G "Unix Makefiles" \
-D CMAKE_BUILD_TYPE:STRING=Release \
-D CMAKE_INSTALL_PREFIX:STRING=/usr \
-D BARRIER_REVISION:STRING=00000000 \
-D BARRIER_VERSION_STAGE:STRING=RELEASE \
..
make
}
_package_common() {
# Install binaries:
cd "barrier-${pkgver?}/build"
DESTDIR="${pkgdir?}" make install
# Install the license:
cd ..
install -m 644 -D LICENSE "${pkgdir?}/usr/share/licenses/${pkgname?}/LICENSE"
# Install the manpages:
mkdir -p "${pkgdir?}/usr/share/man/man1"
install -m 644 doc/*.1 "${pkgdir?}/usr/share/man/man1"
# Install the examples:
mkdir -p "${pkgdir?}/usr/share/doc/${pkgname?}"
install -m 644 doc/barrier.conf* "${pkgdir?}/usr/share/doc/${pkgname?}"
}
package_barrier() {
pkgdesc="Open-source KVM software based on Synergy (GUI)"
depends=(
"barrier-headless=${pkgver?}-${pkgrel?}"
qt5-base
hicolor-icon-theme
)
# Install all the files:
_package_common
# Now go and delete files that are already in
# barrier-headless:
for file in \
/usr/share/doc \
/usr/share/man \
/usr/bin/barrier{s,c} \
;do
rm -rf "${pkgdir:?}/${file:?}"
done
}
package_barrier-headless() {
pkgdesc="Open-source KVM software based on Synergy (client and server CLI binaries)"
# Install all the files:
_package_common
# Now go and delete the GUI-related files:
for file in \
/usr/bin/barrier \
/usr/share/applications \
/usr/share/icons \
;do
rm -rf "${pkgdir:?}/${file:?}"
done
}
sha384sums=('9d3f1e784ca1f1c1622f47be30632f6e0fc2fe07a38ab057df447e96b79a87e3362321ae0f3f5a8de98008bf76d479da')

View File

@@ -1,41 +0,0 @@
# Maintainer: Issam Maghni <me at concati dot me>
pkgname=bearssl
pkgver=0.6
pkgrel=2
pkgdesc='Implementation of the SSL/TLS protocol (RFC 5246) written in C'
arch=('x86_64')
url='https://bearssl.org'
depends=('glibc')
license=('MIT')
source=("$url/$pkgname-$pkgver.tar.gz")
sha256sums=('6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14')
build() {
make -C"$pkgname-$pkgver" CFLAGS="$CFLAGS -fpic" LDFLAGS="$LDFLAGS" D=".so.$pkgver" \
LDDLLFLAGS="$LDFLAGS -shared -Wl,-soname,lib$pkgname.so.${pkgver%%.*}"
}
check() {
cd "$pkgname-$pkgver/build"
./testcrypto all
./testx509
}
package() {
mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/lib" "$pkgdir/usr/include/$pkgname" "$pkgdir/usr/share/licenses/$pkgname"
cd "$pkgname-$pkgver/build"
# fix includes
sed -e 's|"bearssl_|"bearssl/|g' -i ../inc/*
mv ../inc/bearssl.h "$pkgdir/usr/include"
for h in ../inc/*
do mv $h "$pkgdir/usr/include/bearssl/${h#*_}"
done
mv ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname"
mv brssl "$pkgdir/usr/bin"
mv "lib$pkgname.so.$pkgver" "lib$pkgname.a" "$pkgdir/usr/lib"
ln -s "lib$pkgname.so.$pkgver" "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}"
ln -s "lib$pkgname.so.${pkgver%%.*}" "$pkgdir/usr/lib/lib$pkgname.so"
}

View File

@@ -1,62 +0,0 @@
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
_pkgname=biboumi
pkgname="$_pkgname-git"
pkgver=9.0.r27.g2bd91dc
pkgrel=2
pkgdesc="XMPP gateway to IRC"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://biboumi.louiz.org/"
license=('ZLIB')
depends=('expat' 'libidn' 'udns' 'botan2' 'sqlite' 'postgresql-libs')
makedepends=('git' 'cmake' 'ninja' 'python-sphinx' 'python-sphinx_rtd_theme')
backup=("etc/$_pkgname/$_pkgname.cfg")
install="$_pkgname.install"
source=("$_pkgname::git+https://codeberg.org/poezio/biboumi"
'biboumi.install'
'sysuser.conf')
md5sums=('SKIP'
'4d83eb74d68a2328b19c1e8df5cdb5d7'
'07c92af3248861ce94d361e98cfb7f5c')
provides=("$_pkgname")
conflicts=("$_pkgname")
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd $_pkgname
mkdir -p build
}
build() {
cd $_pkgname/build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSERVICE_USER=biboumi \
-DSERVICE_GROUP=jabber \
-Wno-dev \
-G Ninja
ninja
ninja doc
}
package() {
cd $_pkgname/build
DESTDIR="$pkgdir/" ninja install
install -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
cp -r html "$pkgdir"/usr/share/doc/$_pkgname/
cd ..
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg
cd ..
install -Dm644 sysuser.conf "$pkgdir"/usr/lib/sysusers.d/$_pkgname.conf
}

View File

@@ -1,13 +0,0 @@
post_install() {
systemd-sysusers biboumi.conf
install -dm750 -o biboumi -g jabber var/lib/biboumi
install -dm750 -o biboumi -g jabber var/log/biboumi
}
post_upgrade() {
post_install $1
}
post_remove() {
systemd-sysusers biboumi.conf
}

View File

@@ -1,3 +0,0 @@
g jabber 17 - -
u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
m biboumi jabber

View File

@@ -1,52 +0,0 @@
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
pkgname=biboumi
pkgver=9.0
pkgrel=1
pkgdesc="XMPP gateway to IRC"
arch=('x86_64' 'armv7h' 'aarch64')
url="https://biboumi.louiz.org/"
license=('ZLIB')
depends=('expat' 'libidn' 'udns' 'botan' 'sqlite' 'postgresql-libs')
makedepends=('cmake' 'ninja' 'python-sphinx' 'python-sphinx_rtd_theme' 'git')
backup=("etc/$pkgname/$pkgname.cfg")
source=("https://git.louiz.org/biboumi/snapshot/$pkgname-$pkgver.tar.xz"
'biboumi.tmpfiles'
'biboumi.sysusers')
md5sums=('f0a201312454f529bb2a476856264e52'
'3fd509b5cd76cd6c98ddb392957de03b'
'07c92af3248861ce94d361e98cfb7f5c')
prepare() {
mkdir -p build
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSERVICE_USER=biboumi \
-DSERVICE_GROUP=jabber \
-Wno-dev \
-G Ninja
}
build() {
ninja -C build
ninja -C build doc
}
package() {
cd build
DESTDIR="$pkgdir/" ninja install
install -dm755 "$pkgdir"/usr/share/doc/$pkgname/
cp -r html "$pkgdir"/usr/share/doc/$pkgname/
cd ../$pkgname-$pkgver
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$pkgname/$pkgname.cfg
cd ..
install -Dm644 biboumi.sysusers "$pkgdir"/usr/lib/sysusers.d/$pkgname.conf
install -Dm644 biboumi.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/$pkgname.conf
}

View File

@@ -1,3 +0,0 @@
g jabber 17 - -
u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
m biboumi jabber

View File

@@ -1,2 +0,0 @@
d /var/lib/biboumi 0755 biboumi jabber
d /var/log/biboumi 0700 biboumi jabber

View File

@@ -1,17 +0,0 @@
# Maintainer: Katherine J. Cumberbatch <stykers@stykers.moe>
pkgname=binfmt-qemu-static
pkgver=20190112
pkgrel=4
pkgdesc="Register qemu-static interpreters for various binary formats"
arch=('any')
url="http://www.freedesktop.org/software/systemd/man/binfmt.d.html"
license=('GPL')
optdepends=('qemu-user-static')
source=("qemu-static.conf")
md5sums=('6f738b87377817076bd7cf0692069850')
package() {
install -Dm 644 "$srcdir/qemu-static.conf" "$pkgdir/usr/lib/binfmt.d/qemu-static.conf"
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,19 +0,0 @@
:qemu-aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-aarch64-static:CF
:qemu-alpha:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x26\x90:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-alpha-static:CF
:qemu-arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:CF
:qemu-armeb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-armeb-static:CF
:qemu-cris:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x4c\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-cris-static:CF
:qemu-m68k:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x04:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-m68k-static:CF
:qemu-microblaze:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xba\xab:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-microblaze-static:CF
:qemu-mips:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08:\xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-mips-static:CF
:qemu-mipsel:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-mipsel-static:CF
:qemu-ppc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-ppc-static:CF
:qemu-ppc64:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-ppc64-static:CF
:qemu-ppc64abi32:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-ppc64abi32-static:CF
:qemu-s390x:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-s390x-static:CF
:qemu-sh4:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-sh4-static:CF
:qemu-sh4eb:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sh4eb-static:CF
:qemu-sparc:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sparc-static:CF
:qemu-sparc32plus:M::\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x12:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sparc32plus-static:CF
:qemu-sparc64:M::\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2b:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-sparc64-static:CF
:qemu-riscv64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xf3\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-riscv64-static:CF

View File

@@ -1,42 +0,0 @@
# Maintainer: Antoine Viallon <antoine.viallon@gmail.com>
pkgname=binfmt-support
pkgver=2.2.0
_pkgver=2.2.0 # For use with RC releases, to replace the - with _
pkgrel=2
pkgdesc="Arbitraty executable file format kernel extension"
arch=('i686' 'x86_64')
url="https://git.savannah.gnu.org/cgit/binfmt-support.git/"
license=('GPL')
depends=('autoconf' 'automake')
makedepends=('make' 'gcc' 'git' 'libpipeline')
source=("https://git.savannah.gnu.org/cgit/binfmt-support.git/snapshot/$pkgname-$_pkgver.tar.gz")
sha512sums=('b35238fa96f7e3201f7c9a70172ecd2c6b0be66e4735ff96c17ae2167f670a67c856d0fc1b0d50bf3c14f4a35c5e9927a848814791ea9be928dff82426cb0da4')
prepare() {
echo -e '\033[0;31mWARNING : \033[1;33mThis package is deprecated, please use systemd-binfmt instead.\033[0m'
read -p "Do you really want to install it anyway ? " yn
case $yn in
[Nn]* ) exit;;
esac
set -e
cd "${srcdir}/$pkgname-$_pkgver"
./bootstrap
}
build() {
cd "${srcdir}/$pkgname-$_pkgver"
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--disable-upstart
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
#install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # Couldn't find any License !
}

View File

@@ -1,17 +0,0 @@
[Unit]
Description=Enable support for additional binary formats. Java, python, etc.
Documentation=man:update-binfmts(8)
[Service]
Type=oneshot
ExecStart=/usr/bin/update-binfmts --enable
ExecStop=/usr/bin/update-binfmts --disable
KillMode=process
Restart=no
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
# This service file writes "enabled" to /proc/sys/fs/binfmt_misc/status,
# and registers all binfmt specifications in /var/lib/binfmts (default)

View File

@@ -1,83 +0,0 @@
# Maintainer: twa022 <twa022 at gmail dot com>
# Contributor: David Thurstenson <thurstylark@gmail.com>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname='bluez-utils-compat'
_pkgbase='bluez'
pkgver=5.50
pkgrel=6.2
url="http://www.bluez.org/"
arch=('i686' 'x86_64' 'mips64el' 'armv6h' 'armv7h' 'arm' 'aarch64')
license=('GPL2')
pkgdesc="Development and debugging utilities for the bluetooth protocol stack. Includes deprecated tools."
depends=('dbus' 'systemd' 'glib2')
makedepends=('libical' 'alsa-lib' 'ell')
optdepends=('ell: for btpclient')
conflicts=('bluez-hcidump' 'bluez-utils' 'bluez-hcitool')
provides=('bluez-hcidump' 'bluez-utils' 'bluez-hcitool')
replaces=('bluez-hcidump' 'bluez<=4.101')
source=("https://www.kernel.org/pub/linux/bluetooth/${_pkgbase}-${pkgver}.tar."{xz,sign}
'refresh_adv_manager_for_non-LE_devices.diff::https://git.archlinux.org/svntogit/packages.git/plain/trunk/refresh_adv_manager_for_non-LE_devices.diff?h=packages/bluez'
'btpclient_signal.patch')
# see https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc
sha256sums=('5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911'
'SKIP'
'ae195834cdc9d3d1961ae3c49da6381c820883a5af580e61aebed05a3e911d48'
'6bb00213ff4d04b60105ff563df77b91590b22a730eb44de67a005d8e65413ec')
validpgpkeys=('E932D120BC2AEC444E558F0106CA9F5D1DCF2659') # Marcel Holtmann <marcel@holtmann.org>
prepare() {
cd "${_pkgbase}-${pkgver}"
patch -Np1 -i ../refresh_adv_manager_for_non-LE_devices.diff
patch -Np2 -r- -i ../btpclient_signal.patch
}
build() {
cd "${_pkgbase}-${pkgver}"
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib \
--with-dbusconfdir=/usr/share \
--enable-btpclient \
--enable-midi \
--enable-sixaxis \
--enable-mesh \
--enable-experimental \
--enable-library \
--enable-deprecated # to enable deprectated tools
make
}
#check() {
# cd "${_pkgbase}-${pkgver}"
# make check || /bin/true # https://bugzilla.kernel.org/show_bug.cgi?id=196621
#}
package() {
cd "${_pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" \
install-binPROGRAMS \
install-man1
# add missing tools FS#41132, FS#41687, FS#42716
for files in `find tools/ -type f -perm -755`; do
filename="$(basename "$files")"
install -Dm755 "${srcdir}/${_pkgbase}-${pkgver}"/tools/$filename "${pkgdir}"/usr/bin/$filename
done
# add gatttool usefulbdaddr with Bluetooth 4.0LE
install -Dm755 "${srcdir}/${_pkgbase}-${pkgver}"/attrib/gatttool "${pkgdir}"/usr/bin/gatttool
# libbluetooth.so* are part of libLTLIBRARIES and binPROGRAMS targets
#make DESTDIR=${pkgdir} uninstall-libLTLIBRARIES
#rmdir ${pkgdir}/usr/lib
rm -rf "${pkgdir}"/usr/lib
# move the hid2hci man page out
mv "${pkgdir}"/usr/share/man/man1/hid2hci.1 "${srcdir}"/
}

View File

@@ -1,40 +0,0 @@
# Contributor: Sergio Tridente <tioduke (at) gmail (dot) com>
pkgname=bridgedesigner
pkgver=1.16.125
pkgrel=1
pkgdesc="Bridge Design Contest is an Internet-based competition that provides middle school and high school students with a realistic, engaging introduction to engineering"
arch=('any')
url="https://bridgecontest.org/"
license=('GPL')
depends=('jre8-openjdk' "jogl>=2.3.1")
makedepends=('p7zip')
options=(!strip)
source=("Bridge_Designer_2016_Installation_Image.dmg::http://sourceforge.net/projects/wpbdc/files/Current%20Release/jre/Bridge%20Designer%202016%20Installation%20Image.dmg/download"
bridgedesigner
bridgedesigner.desktop
bridgedesigner.png)
sha1sums=('6b0b4f0c7b013b3d2b393eca19271be84955b04c'
'd2ae8edffe8e5babbb627f6b69176fbe40f65c93'
'77e8de95ab519a746902b0b6604bb2dc48873659'
'6d5f09d9b5991e82a534561f918ca489b3c7744c')
noextract=("Bridge_Designer_2015_Installation_Image.dmg")
prepare() {
7z x "Bridge_Designer_2016_Installation_Image.dmg"
}
package() {
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/{applications,java/bridgedesigner,pixmaps}
install -m755 bridgedesigner $pkgdir/usr/bin/
install -m644 bridgedesigner.desktop $pkgdir/usr/share/applications/
install -m644 bridgedesigner.png $pkgdir/usr/share/pixmaps/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/AbsoluteLayout.jar $pkgdir/usr/share/java/bridgedesigner/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/beansbinding-1.2.1.jar $pkgdir/usr/share/java/bridgedesigner/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/bsaf-1.9.1.jar $pkgdir/usr/share/java/bridgedesigner/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/jh.jar $pkgdir/usr/share/java/bridgedesigner/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/swing-layout-1.0.4.jar $pkgdir/usr/share/java/bridgedesigner/
install -m644 "Bridge Designer 2016 (2nd Ed) Installation Image/Bridge Designer 2016.app/Contents/Java"/WPBD.jar $pkgdir/usr/share/java/bridgedesigner/
}

View File

@@ -1,5 +0,0 @@
#!/bin/sh
[ "$1" == "-s" ] && export LIBGL_ALWAYS_SOFTWARE=1
/usr/lib/jvm/java-8-openjdk/jre/bin/java -Djava.library.path=/usr/lib/jogl -Dswing.systemlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -cp /usr/share/java/bridgedesigner/WPBD.jar:/usr/share/java/bridgedesigner/AbsoluteLayout.jar:/usr/share/java/bridgedesigner/bsaf-1.9.1.jar:/usr/share/java/bridgedesigner/jh.jar:/usr/share/java/jogl/gluegen-rt.jar:/usr/share/java/jogl/jogl-all.jar bridgedesigner.BDApp

View File

@@ -1,10 +0,0 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Bridge Designer 2016
Comment=The Bridge Design Contest is an Internet-based competition that provides middle school and high school students with a realistic, engaging introduction to engineering.
Exec=bridgedesigner
Icon=bridgedesigner
Terminal=false
StartupNotify=true
Categories=Game;Simulation;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 B

View File

@@ -1,33 +0,0 @@
# Maintainer: Edward Pacman <edward at edward-p.xyz>
pkgname=broadcom-bt-firmware-git
pkgdesc="Broadcom bluetooth firmware."
conflicts=('bcm4335c0-firmware' 'bcm4350c5-firmware' 'bcm4356a2-firmware' 'bcm20702a1-firmware' 'bcm20702b0-firmware' 'bcm20703a1-firmware' 'bcm43142a0-firmware')
provides=('bcm4335c0-firmware' 'bcm4350c5-firmware' 'bcm4356a2-firmware' 'bcm20702a1-firmware' 'bcm20702b0-firmware' 'bcm20703a1-firmware' 'bcm43142a0-firmware')
pkgver=12.0.1.1011_p1.r4.g632c15f
pkgrel=1
arch=('any')
makedepends=('git')
url="https://github.com/winterheart/broadcom-bt-firmware"
license=('custom')
source=("git+https://github.com/winterheart/broadcom-bt-firmware.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/broadcom-bt-firmware"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
#Install firmwares
cd "${srcdir}/broadcom-bt-firmware/brcm"
for i in *.hcd; do
install -Dm644 "$i" "${pkgdir}/usr/lib/firmware/brcm/$i"
done
#Install LICENSE
cd ..
install -Dm644 LICENSE.MIT.txt "${pkgdir}/usr/license/broadcom-bt-firmware-git/LICENSE.MIT.txt"
install -Dm644 LICENSE.broadcom_bcm20702 "${pkgdir}/usr/license/broadcom-bt-firmware-git/LICENSE.broadcom_bcm20702"
}

View File

@@ -1,63 +0,0 @@
# Maintainer: Mark Mykkanen <quickcougar at gmail dot com>
# Contributor: Mark Mykkanen <quickcougar at gmail dot com>
pkgname="brother-hl2170w"
pkgver="2.0.2_1"
pkgrel=1
pkgdesc="LPR and CUPS driver for the Brother HL2170W"
arch=('i686' 'x86_64')
url="http://solutions.brother.com/linux/en_us/"
license=('custom:brother commercial license')
depends=('cups')
install='brother-hl2170w.install'
source=(
"http://www.brother.com/pub/bsc/linux/dlf/brhl2170wlpr-${pkgver//_/-}.i386.rpm"
"http://www.brother.com/pub/bsc/linux/dlf/cupswrapperHL2170W-${pkgver//_/-}.i386.rpm"
'cupswrapper-license.txt'
'lpr-license.txt'
)
md5sums=('2d7fe5114239b48dad38e08e24c9fca0'
'5d2b95b7c148eabf21866604e6e5cf3a'
'97ad0cffd216059e9d1d3121899d8646'
'5e87a3dc0f3e3438c088eda0f3565f0d')
if test "$CARCH" == x86_64; then
depends+=('lib32-glibc')
fi
prepare() {
# do not install in '/usr/local'
if [ -d $srcdir/usr/local/Brother ]; then
install -d $srcdir/usr/share
mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
rm -rf $srcdir/usr/local
sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
fi
# setup cups-directories
install -d $srcdir/usr/share/cups/model
install -d $srcdir/usr/lib/cups/filter
# go to the cupswrapper directory and find the source file from wich to generate a ppd and
# wrapper-file
cd `find . -type d -name 'cupswrapper'`
if [ -f cupswrapper* ]; then
_wrapper_source=`ls cupswrapper*`
sed -i '/^\/etc\/init.d\/cups/d' $_wrapper_source
sed -i '/^sleep/d' $_wrapper_source
sed -i '/^lpadmin/d' $_wrapper_source
sed -i 's|/usr|$srcdir/usr|g' $_wrapper_source
sed -i 's|/opt|$srcdir/opt|g' $_wrapper_source
sed -i 's|/model/Brother|/model|g' $_wrapper_source
sed -i 's|lpinfo|echo|g' $_wrapper_source
export srcdir=$srcdir
./$_wrapper_source
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*
rm $_wrapper_source
fi
# /etc/printcap is managed by cups
rm `find $srcdir -type f -name 'setupPrintcap*'`
}
package() {
cp -R $srcdir/usr $pkgdir
if [ -d $srcdir/opt ]; then cp -R $srcdir/opt $pkgdir; fi
install -m 644 -D cupswrapper-license.txt \
$pkgdir/usr/share/licenses/${pkgname}/cupswrapper-licence.txt
install -m 644 -D lpr-license.txt $pkgdir/usr/share/licenses/${pkgname}/lpr-licence.txt
}

View File

@@ -1,9 +0,0 @@
post_install() {
post_upgrade;
}
post_upgrade() {
echo "Restart CUPS to load the new files"
echo "You can now register your new printer using the web interface at:"
echo " http://localhost:631/"
}

View File

@@ -1,127 +0,0 @@
This Software may be used in accordance with GNU General Public License (GPL). Please read carefully the following GPL and click on "I Accept" button. If you cannot agree with the following terms, please click "I don't Accept" button. In case of your non-acceptance, you can not use this Software.
Note:
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their rights.
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
NO WARRANTY
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author Gnomovision
comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.

View File

@@ -1,11 +0,0 @@
This Agreement provides terms and conditions for license grant from Brother Industries, Ltd ("Broher"). Brother, who owns all copyrights to the software that is distributed with this Agreement ("Software") to recipients thereof ("User"), for use of the Software. User shall have the right to use the Software only in accordance with the terms and conditions of this Agreement. Any use by User of the Software shall be deemed as its agreement hereto.
Note:
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.
Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.
Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.
The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.

View File

@@ -1,31 +0,0 @@
# Contributor: Mantas Mikulėnas <grawity@gmail.com>
# Contributor: Rémy Oudompheng <remy@archlinux.org>
pkgname=cachefilesd
pkgver=0.10.10
pkgrel=1
pkgdesc="Userspace daemon acting as a backend for FS-Cache"
arch=('i686' 'x86_64')
url="https://people.redhat.com/~dhowells/fscache/"
license=('GPL')
depends=('glibc')
source=(https://people.redhat.com/~dhowells/fscache/${pkgname}-${pkgver}.tar.bz2
cachefilesd.service)
sha256sums=('0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02'
'29a6110608dda5b13549bdf6975307151643d203455c0fd3f3707272df5850ac')
backup=(etc/cachefilesd.conf)
build() {
cd "$pkgname-$pkgver"
make CFLAGS="$CFLAGS"
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
# at least Type=forking provides a ready notification
install -D -m 644 "$srcdir/cachefilesd.service" "$pkgdir/usr/lib/systemd/system/cachefilesd.service"
}
# vim: ts=2:sw=2:et:nowrap

View File

@@ -1,29 +0,0 @@
# Maintainer : Nicolas Perrin <booloki@lokizone.net>
# Contributor: Chris Clonch <chris at theclonchs dot com>
# Contributor: Nathan Owe <ndowens04 at gmail>
# Contributor: Chris Allison <daemon@cca.me.uk>
pkgname=ccextractor
pkgver=0.88
pkgrel=2
pkgdesc="A fast closed captions extractor for MPEG files."
arch=('i686' 'x86_64')
url="https://www.ccextractor.org"
license=('GPL')
depends=('gcc-libs' 'tesseract' 'leptonica' 'ffmpeg')
source=(
https://github.com/CCExtractor/ccextractor/archive/v$pkgver.tar.gz
)
sha512sums=('bb9442905f3c5d095b9b34eb318dc445a0ba484c22c4f061071cc2a1159ec9304b8aab5ea9e95348679e8c5ed378d4b2e471d6f7f933b7fa968f3443f1d5380f')
build() {
cd "$srcdir/$pkgname-$pkgver/linux"
./build_hardsubx
}
package() {
cd "$srcdir/$pkgname-$pkgver/linux"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,24 +0,0 @@
# Maintainer:
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=cd-discid
pkgver=1.4
pkgrel=3
pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc"
arch=('x86_64')
url="http://linukz.org/cd-discid.shtml"
license=('GPL')
depends=('glibc')
source=("http://linukz.org/download/${pkgname}-${pkgver}.tar.gz")
sha512sums=('04f3962f7f3f0780c41b2f361397b54efe9c9748643d83311d63f7476d28f9bd295b96dd81f06df2c1e7d6ef095c6732107101c0fb7375fa521f4db67a3984da')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" PREFIX=/usr STRIP="/usr/bin/true" install
}

View File

@@ -1,38 +0,0 @@
# Thanks to the maintainer(s) of chirp-daily
# Maintainer: WT5A <K5TRP@onlyhams.ca>
# Contributor: 0b100100 <0b100100 at protonmail dot ch>
# Contributor: Ashley Roll (ash@digitalnemesis.com)
# Contributor: Erez Raviv (erezraviv@gmail.com)
pkgname=chirp-next
pkgver=20240911
pkgrel=1
pkgdesc="GUI tool for programming ham radios, built from daily build"
arch=('any')
url="https://chirpmyradio.com/projects/chirp/wiki/Home"
license=('GPL-3.0-or-later')
depends=('python-six' 'python-pyserial' 'python-future' 'python-requests' 'python-suds' 'python-yattag' 'python-wxpython')
optdepends=('hamradio-menus: XDG menus for ham radio software')
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
options=(!emptydirs)
conflicts=('chirp' 'chirp-daily')
provides=(chirp)
install=$pkgname.install
source=("${pkgname}-${pkgver}.tar.gz::https://archive.chirpmyradio.com/chirp_next/next-${pkgver}/chirp-${pkgver}.tar.gz")
# Checksums: https://archive.chirpmyradio.com/chirp_next/next-$pkgver/SHA1SUM
sha1sums=('c8da0c949830f735f18129c471ed765335076a3d')
build() {
cd "chirp-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
_site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
cd "chirp-$pkgver"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -D -m644 "${srcdir}/chirp-${pkgver}/chirp/share/chirpw.1" "${pkgdir}/usr/share/man/man1/chirp.1"
install -D -m644 "${srcdir}/chirp-${pkgver}/chirp/share/chirp.desktop" "${pkgdir}/usr/share/applications/chirp.desktop"
install -D -m644 "${srcdir}/chirp-${pkgver}/chirp/share/chirp.png" "${pkgdir}/usr/share/pixmaps/chirp.png"
cp -dr --preserve=mode,timestamp "${srcdir}/chirp-${pkgver}/chirp/locale/" "${pkgdir}${_site_packages}/chirp/locale"
}

View File

@@ -1,7 +0,0 @@
post_install() {
# serial port permissions
# (https://chirp.danplanet.com/projects/chirp/wiki/Running_Under_Linux#serial-port-permissions)
echo "==> You may need to add your user to the 'uucp' group to access serial ports and devices."
echo -e "==> This can be accomplished with: '\e[32msudo usermod -aG uucp \$USER\e[0m'"
echo "==> Then you will need to log out and back in for it to take effect."
}

View File

@@ -1,5 +0,0 @@
*.pkg.tar*
*.src.tar*
/chocolate-doom/
src
pkg

View File

@@ -1,54 +0,0 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=chocolate-doom-git
pkgdesc="Historically-accurate Doom, Heretic, Hexen, and Strife ports."
pkgver=3.0.0.r979.df1837c1
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.chocolate-doom.org/"
license=('GPL2')
install=chocolate-doom.install
depends=('libpng' 'libsamplerate' 'sdl2_mixer' 'sdl2_net')
makedepends=('git' 'python')
optdepends=('freedm: Free deathmatch game'
'freedoom1: Free Ultimate Doom-compatible game'
'freedoom2: Free Doom II-compatible game')
conflicts=(chocolate-common
chocolate-doom
chocolate-heretic
chocolate-hexen
chocolate-strife)
replaces=(chocolate-common-git
chocolate-heretic-git
chocolate-hexen-git
chocolate-strife-git)
source=(git+https://github.com/chocolate-doom/chocolate-doom.git)
sha512sums=('SKIP')
pkgver() {
cd "${pkgname/-git//}"
local version="$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
printf %s "${version##chocolate.doom.}"
}
build() {
cd "${pkgname/-git//}"
./autogen.sh --prefix=/usr
make
}
package() {
cd "${pkgname/-git//}"
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/games/doom
# dedup all the *setup programs, make desktop file work
rm "${pkgdir}"/usr/bin/chocolate-{heretic,hexen,strife}-setup
mv "${pkgdir}"/usr/bin/chocolate-doom-setup "${pkgdir}"/usr/bin/chocolate-setup
ln -s chocolate-setup "${pkgdir}"/usr/bin/chocolate-doom-setup
ln -s chocolate-setup "${pkgdir}"/usr/bin/chocolate-heretic-setup
ln -s chocolate-setup "${pkgdir}"/usr/bin/chocolate-hexen-setup
ln -s chocolate-setup "${pkgdir}"/usr/bin/chocolate-strife-setup
}

View File

@@ -1,11 +0,0 @@
post_install() {
cat <<EOF
To install game data (*.wad files), there are two main locations for
the engine to easily find them:
* For all users: /usr/share/games/doom
* For a single user: ~/.local/share/games/doom
Files such as doom2.wad, heretic.wad, hexen.wad, and strife1.wad are
appropriate for installation and usage with Chocolate engines.
EOF
}

View File

@@ -1,6 +0,0 @@
*.pkg.tar*
*.src.tar*
*.asc
*.gz
src
pkg

View File

@@ -1,27 +0,0 @@
diff -ur chocolate-doom-3.0.0.orig/man/bash-completion/Makefile.in chocolate-doom-3.0.0/man/bash-completion/Makefile.in
--- chocolate-doom-3.0.0.orig/man/bash-completion/Makefile.in 2017-12-30 13:22:42.000000000 -0800
+++ chocolate-doom-3.0.0/man/bash-completion/Makefile.in 2018-01-27 04:59:41.032103406 -0800
@@ -519,19 +519,19 @@
@HAVE_PYTHON_TRUE@@PROGRAM_PREFIX@doom: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES)
-@HAVE_PYTHON_TRUE@ $(DOCGEN) -g doom -b $(MANDIR)/doom.template \
+@HAVE_PYTHON_TRUE@ $(DOCGEN) -g doom -b doom.template \
@HAVE_PYTHON_TRUE@ $(top_srcdir)/src $(top_srcdir)/src/doom > $@
@HAVE_PYTHON_TRUE@@PROGRAM_PREFIX@heretic: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES)
-@HAVE_PYTHON_TRUE@ $(DOCGEN) -g heretic -b $(MANDIR)/heretic.template \
+@HAVE_PYTHON_TRUE@ $(DOCGEN) -g heretic -b heretic.template \
@HAVE_PYTHON_TRUE@ $(top_srcdir)/src $(top_srcdir)/src/heretic > $@
@HAVE_PYTHON_TRUE@@PROGRAM_PREFIX@hexen: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES)
-@HAVE_PYTHON_TRUE@ $(DOCGEN) -g hexen -b $(MANDIR)/hexen.template \
+@HAVE_PYTHON_TRUE@ $(DOCGEN) -g hexen -b hexen.template \
@HAVE_PYTHON_TRUE@ $(top_srcdir)/src $(top_srcdir)/src/hexen > $@
@HAVE_PYTHON_TRUE@@PROGRAM_PREFIX@strife: $(top_srcdir)/src $(DOCGEN) $(BASH_COMPLETION_TEMPLATES)
-@HAVE_PYTHON_TRUE@ $(DOCGEN) -g strife -b $(MANDIR)/strife.template \
+@HAVE_PYTHON_TRUE@ $(DOCGEN) -g strife -b strife.template \
@HAVE_PYTHON_TRUE@ $(top_srcdir)/src $(top_srcdir)/src/strife > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@@ -1,145 +0,0 @@
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
pkgname=(chocolate-{doom,heretic,hexen,strife,common})
pkgbase=${pkgname[0]}
pkgdesc="Historically-accurate Doom, Heretic, Hexen, and Strife ports."
pkgver=3.0.0
pkgrel=3
arch=('i686' 'x86_64')
url="http://www.chocolate-doom.org/"
license=('GPL2')
depends=('libpng' 'libsamplerate' 'sdl2_mixer' 'sdl2_net')
makedepends=('python')
source=(https://www.chocolate-doom.org/downloads/${pkgver}/${pkgbase}-${pkgver}.tar.gz{,.asc}
0001_fix-bash-completion.patch)
sha512sums=('41f235c0d84ef21070636ad0610e97898dfd366fae7f9244bd2aebf8974db98dcf55f70bcab2f93589b9bf31dd421db32e8af88e0f8e0a655d2b9f1d4ead2afd'
'SKIP'
'5da61fcabd332698b3a8934670195d42f9d9db949fd666c3a670c47252af0376cf8cd0e3f2d78c9d6593446d68dab02b3db14b995a9fa8c973859cd2fd8bc3d0')
validpgpkeys=('6D2C117E0310664497AA9546F6C2EE9C23354344')
prepare() {
cd "${pkgbase}-${pkgver}"
for patch in ../*.patch; do
if [ ! -f "$patch" ]; then
break;
else
patch -p1 -i "$patch"
fi
done
}
build() {
cd "${pkgbase}-${pkgver}"
./configure --prefix=/usr
make
}
package_chocolate-common() {
pkgdesc="Files shared in common with Chocolate Doom-based games."
install=chocolate-doom.install
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/games/doom
cd "${pkgdir}"/usr/bin
mv chocolate-doom-setup chocolate-setup
rm -f chocolate-{doom,heretic,hexen,strife}{,-setup}
cd "${pkgdir}"/usr/share
rm -rf bash-completion doc man/man5
rm -rf applications/chocolate-{doom,heretic,hexen,strife}.desktop \
applications/screensavers
rm -rf appdata
cd man/man6
rm -f chocolate-{doom,heretic,hexen,strife}{,-setup}.6
}
package_chocolate-doom() {
pkgdesc="Doom port accurately reproducing the original DOS EXEs."
depends=(${depends[@]} 'chocolate-common')
optdepends=('freedm: Free deathmatch game'
'freedoom1: Free Ultimate Doom-compatible game (not vanilla compatible, but useful for mods)'
'freedoom2: Free Doom II/Final Doom-compatible game (not vanilla compatible, but useful for mods)')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "${pkgdir}"/usr/bin
rm -f chocolate-{heretic,hexen,strife,server} chocolate*setup
ln -s chocolate{,-doom}-setup
cd "${pkgdir}"/usr/share
rm -rf doc/chocolate-{heretic,hexen,strife}
rm -rf applications/chocolate-{setup,heretic,hexen,strife}.desktop icons
rm -f appdata/chocolate-{heretic,hexen,strife}.appdata.xml
rm -f bash-completion/completions/chocolate-{heretic,hexen,strife}
rm -f man/man?/chocolate-{heretic,hexen,strife,setup,server}* \
man/man5/{heretic,hexen,strife}.cfg*
}
package_chocolate-heretic() {
pkgdesc="Heretic port accurately reproducing the original DOS EXEs."
depends=(${depends[@]} 'chocolate-common')
optdepends=('blasphemer: Free Heretic-compatible game')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "${pkgdir}"/usr/bin
rm -f chocolate-{doom,hexen,strife,server} chocolate*setup
ln -s chocolate{,-heretic}-setup
cd "${pkgdir}"/usr/share
rm -rf doc/chocolate-{doom,hexen,strife}
rm -rf applications/chocolate-{setup,doom,hexen,strife}.desktop \
applications/screensavers icons
rm -f appdata/chocolate-{doom,hexen,strife}.appdata.xml
rm -f bash-completion/completions/chocolate-{doom,hexen,strife}
rm -f man/man?/chocolate-{doom,hexen,strife,setup,server}* \
man/man5/{default,hexen,strife}.cfg*
}
package_chocolate-hexen() {
pkgdesc="Hexen port accurately reproducing the original DOS EXEs."
depends=(${depends[@]} 'chocolate-common')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "${pkgdir}"/usr/bin
rm -f chocolate-{doom,heretic,strife,server} chocolate*setup
ln -s chocolate{,-hexen}-setup
cd "${pkgdir}"/usr/share
rm -rf doc/chocolate-{doom,heretic,strife}
rm -rf applications/chocolate-{setup,doom,heretic,strife}.desktop \
applications/screensavers icons
rm -f appdata/chocolate-{doom,heretic,strife}.appdata.xml
rm -f bash-completion/completions/chocolate-{doom,heretic,strife}
rm -f man/man?/chocolate-{doom,heretic,strife,setup,server}* \
man/man5/{default,heretic,strife}.cfg*
}
package_chocolate-strife() {
pkgdesc="Strife port accurately reproducing the original DOS EXEs."
depends=(${depends[@]} 'chocolate-common')
cd "${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "${pkgdir}"/usr/bin
rm -f chocolate-{doom,heretic,hexen,server} chocolate*setup
ln -s chocolate{,-strife}-setup
cd "${pkgdir}"/usr/share
rm -rf doc/chocolate-{doom,heretic,hexen}
rm -rf applications/chocolate-{setup,doom,heretic,hexen}.desktop \
applications/screensavers icons
rm -f appdata/chocolate-{doom,heretic,hexen}.appdata.xml
rm -f bash-completion/completions/chocolate-{doom,heretic,hexen}
rm -f man/man?/chocolate-{doom,heretic,hexen,setup,server}* \
man/man5/{default,heretic,hexen}.cfg*
}

View File

@@ -1,11 +0,0 @@
post_install() {
cat <<EOF
To install game data (*.wad files), there are two main locations for
the engine to easily find them:
* For all users: /usr/share/games/doom
* For a single user: ~/.local/share/games/doom
Files such as doom2.wad, heretic.wad, hexen.wad, and strife1.wad are
appropriate for installation and usage with Chocolate engines.
EOF
}

View File

@@ -1,45 +0,0 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: BlackEagle <ike.devolder@gmail.com>
# Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
pkgname=clementine
pkgver=1.4.0rc2
pkgrel=6
pkgdesc='A modern music player and library organizer'
url=https://www.clementine-player.org/
license=(GPL)
arch=(x86_64)
depends=(chromaprint gst-plugins-base-libs libcdio libgpod liblastfm-qt5 libmtp libmygpo-qt5
protobuf qt5-x11extras projectm alsa-lib libpulse crypto++ hicolor-icon-theme)
makedepends=(boost cmake qt5-tools sparsehash)
optdepends=(
'gst-plugins-base: "Base" plugin libraries'
'gst-plugins-good: "Good" plugin libraries'
'gst-plugins-bad: "Bad" plugin libraries'
'gst-plugins-ugly: "Ugly" plugin libraries'
'gst-libav: Libav plugin'
'gvfs: Various devices support'
)
source=(https://github.com/clementine-player/Clementine/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('2395efdef013aa65ec8b8521d549bf76dbde4f933867be3953f31553101ead63')
prepare() {
sed -e 's|CRYPTOPP cryptopp|CRYPTOPP libcryptopp|' -i Clementine-${pkgver//+/-}/CMakeLists.txt # Fix crypto++ detection
}
build() {
export LDFLAGS="-Wl,--copy-dt-needed-entries"
cmake -B build -S Clementine-${pkgver//+/-} -Wno-dev \
-DCMAKE_CXX_FLAGS="-fpermissive" \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_PROJECTM=ON \
-DUSE_SYSTEM_TAGLIB=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}

View File

@@ -1,192 +0,0 @@
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott com
# Maintainer: Lone_Wolf <lone_wolf@klaas-de-kat.nl>
# Contributor: Steven She <mintcoffee@gmail.com>
# Contributor: vbPadre <vbPadre@gmail.com>
pkgname='cnrdrvcups-lb'
# The download link changes with every version, try to keep changes in one place
_pkgver='5.10'; _dl='8/0100007658/13'
pkgver="${_pkgver}"
pkgrel='2'
pkgdesc='CUPS Canon UFR II LIPSLX CARPS2 printer driver for LBP iR MF ImageCLASS ImageRUNNER Laser Shot i-SENSYS ImagePRESS ADVANCE printers and copiers'
arch=('x86_64')
# Direct links to the download reference go bad on the next version. We want something that will persist for a while.
url='https://www.canon-europe.com/support/products/imagerunner/imagerunner-1730i.aspx'
license=('GPL2' 'MIT' 'custom')
# parts of the code are GPL or MIT licensed, some parts have a custom license
makedepends=('jbigkit' 'gzip' 'gtk2')
depends=('gcc-libs' 'libxml2' 'libglade')
optdepends=('libjpeg6-turbo: improves printing results for color imageRUNNER/i-SENSYS LBP devices'
'gtk2: for cnsetuputil2')
conflicts=('cndrvcups-lb' 'cndrvcups-common-lb')
options=('!emptydirs' '!strip' '!libtool')
source=( "http://gdlp01.c-wss.com/gds/${_dl}/linux-UFRII-drv-v${_pkgver//\./}-uken-08.tar.gz")
md5sums=('c80793681b666766cedf864a3fd20dd7')
sha512sums=('dbc8b8e600ec29e73afa4ba8a760fd643d58ee2017f6c3c35e63c7f2186cf0cb675adb0ea344b0bd04d0b4fa7f13763b5ce97e8264790356134e6ded3069bf54')
# Canon provides the sourcecode in a tarball within the dowload and we need to extract the code manually
# In order to keep the $srcdir structure tidy we put the extracted files in "extracted-${pkgname}-${_pkgver}" aka _srcdir
# the code itself is spread over many folders.
# "cnrdrvcups-common-${_pkgver}" aka _common_dir & "cnrdrvcups-lb-${_pkgver}" aka _driver_dir
# are used to keep this manageable
_srcdir="extracted-${pkgname}-${_pkgver}"
_common_dir="cnrdrvcups-common-${_pkgver}"
_driver_dir="cnrdrvcups-lb-${_pkgver}"
prepare() {
mkdir "${_srcdir}"
cd "${_srcdir}"
bsdtar -xf "${srcdir}/linux-UFRII-drv-v${_pkgver//\./}-uken/Sources/${pkgname}-${pkgver}-1.tar.gz"
local _specs=(cnrdrvcups-lb.spec)
# cngplp/autogen.sh fails to find several libraries.
# adding these in the right place of the soon to be generated make script is hard,
# so we patch it directly into that autogen.sh
sed -e '2a export LIBS="-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"' -i "cnrdrvcups-common-${_pkgver}/cngplp/autogen.sh"
# the autogen.sh files from canon target an old automake/autoconf version
# autoreconf converts them to a form compatible with archlinux autoconf/automake
pushd "${_common_dir}"
for i in "backend" "buftool" "cngplp" "cnjbig" "rasterfilter"
do
pushd "$i"
autoreconf -i
popd
done
popd
pushd "${_driver_dir}"
for i in "cngplp/files" "cngplp" "cpca" "pdftocpca"
do
pushd "$i"
autoreconf -i
popd
done
popd
# allgen.sh where available is not useful for packaging on archlinux
# Canon provides methods to build deb & rpm packages.
# The debian rules are not suited for archlinux. When the .spec-file is converted to shell the resulting arch package works.
# Chris Severach figured out a way to automate this conversion.
# Generate make from spec %setup, %build
sed -n -e '/^%setup/,/^%install/ p' "${_specs[@]}" | \
grep -v '^%' | \
sed -e '# Convert spec %{VAR} to shell ${VAR}' \
-e 's:%{:${:g' \
-e '# Quote to allow _cflags to have spaces' \
-e 's:${_cflags}:"${_cflags}":g' \
-e '# Some autogen.sh commands in the spec file do not set --prefix. More than one --prefix dont cause problems so we can add it to all of them.' \
-e 's:^./autogen.sh:& --prefix=${_prefix}:g ' \
> 'make.Arch'
# Generate make install from spec %install
sed -n -e '/^%install/,/^%clean/ p' "${_specs[@]}" | \
grep -v '^%' | \
sed -e '# Convert spec %{VAR} to shell ${VAR}' \
-e 's:%{:${:g' \
-e '# Quote to handle path with spaces' \
-e 's:${RPM_BUILD_ROOT}:"&":g' \
-e '# ln -f hides problems so should be avoided' \
-e 's:ln -sf :ln -s :g' \
> 'make.install.Arch'
}
_setvars() {
# variables used by the (generated) make.Arch & make.install.Arch files
# relative paths start at ${srcdir}/${_srcdir}
_vars=(
_builddir="${srcdir}/${_srcdir}"
common_dir="${_common_dir}"
driver_dir="${_driver_dir}"
utility_dir="cnrdrvcups-utility-${_pkgver}"
RPM_BUILD_DIR="${srcdir}/${_srcdir}"
_prefix='/usr'
_machine_type="MACHINETYPE="$CARCH
_cflags="CFLAGS=-march=x86-64 -fcommon -O2 -pipe -fno-plt"
_libdir='/usr/lib'
_bindir='/usr/bin'
locallibs='/usr/lib/'
_includedir='/usr/include'
b_lib_dir="${srcdir}/${_srcdir}/lib"
b_include_dir="${srcdir}/${_srcdir}/include"
_libsarch='libs64'
)
# -fcommon is needed to compile with gcc10 , see https://gcc.gnu.org/gcc-10/porting_to.html
# -O2 -pipe -fno-plt are taken from makepkg.conf default for archlinux
# _libsarch is architecture dependent
}
build() {
cd "${_srcdir}"
local _vars; _setvars
# Bash does not recognize var assigments hidden by array expansion so we use env.
env "${_vars[@]}" \
sh 'make.Arch'
}
package() {
cd "${_srcdir}"
local _vars; _setvars
env "${_vars[@]}" \
RPM_BUILD_ROOT="${pkgdir}" \
sh 'make.install.Arch'
# licensing information is spread over multiple files and folders
pushd "${_common_dir}"
install -Dpm644 "README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/README"
install -Dpm644 "backend/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/backend/LICENSE.txt"
install -Dpm644 "backend/LICENSE.canon.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/backend/LICENSE.canon.txt"
install -Dpm644 "backend/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/backend/README"
install -Dpm644 "buftool/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/buftool/LICENSE.txt"
install -Dpm644 "buftool/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/buftool/README"
install -Dpm644 "cngplp/LICENSE.canon.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/cngplpl/LICENSE.canon.txt"
install -Dpm644 "cngplp/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/cngplpl/README"
install -Dpm644 "cnjbig/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/cnjbig/README"
install -Dpm644 "rasterfilter/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_common_dir}/rasterfilter/README"
popd
pushd "${_driver_dir}"
install -Dpm644 "README" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/README"
install -Dpm644 "cngplp/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/cngplp/README"
install -Dpm644 "cngplp/files/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/cngplp/files/README"
install -Dpm644 "cpca/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/cpca/README"
install -Dpm644 "cpca/cnpklib/LICENSE.canon.txt" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/cpca/cnpklib/LICENSE.canon.txt"
install -Dpm644 "pdftocpca/README" "${pkgdir}/usr/share/licenses/${pkgname}/${_driver_dir}/pdftocpca/README"
popd
# documentation
pushd "$srcdir/linux-UFRII-drv-v${_pkgver//\./}-uken/Documents"
install -Dpm644 "README-ufr2-5.1xUK.html" "${pkgdir}/usr/share/doc/${pkgname}/README-ufr2-5.1xUK.html"
install -Dpm644 "UsersGuide-ufr2-UK.html" "${pkgdir}/usr/share/doc/${pkgname}/UsersGuide-ufr2-UK.html"
install -Dpm644 "LICENSE-EN.txt" "${pkgdir}/usr/share/licenses/${pkgname}/Documents/LICENSE-EN.txt"
popd
}

View File

@@ -1,44 +0,0 @@
# Maintainer Brian Bidulock <bidulock@openss7.org>
pkgname=coda
pkgver=8.1.3
pkgrel=2
pkgdesc="A distributed file system with disconnected operation."
depends=('bash' 'perl' 'python' 'python-attrs' 'python-setuptools')
arch=(i686 x86_64 armv7h)
url="http://coda.cs.cmu.edu/"
source=("http://coda.cs.cmu.edu/coda/source/$pkgname-$pkgver.tar.xz")
sha512sums=('04bae335d4a85e0b0ba5a5577a4c4b424e7ceb0b5f1a7d9346bbae6876b12ebdb53408eeee43d520051df74bc6187c91f1906d569172e60a6e83b6ae16eefde2')
license=("GPL")
prepare() {
cd $pkgname-$pkgver
for f in al/pdbtool.c al/pdbtool.8 al/pdb.h al/Makefile.am auth2/passwd.coda.5 scripts/vice-setup-user.in ; do
sed -i -e 's,pdbtool,cpdbtool,g' coda-src/$f
sed -i -e 's,PDBTOOL,CPDBTOOL,g' coda-src/$f
done
mv coda-src/al/pdbtool.c coda-src/al/cpdbtool.c
mv coda-src/al/pdbtool.8 coda-src/al/cpdbtool.8
sed -i -e 's,^LDFLAGS=,,' lib-src/rpc2/rp2gen/Makefile.am
./bootstrap.sh
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
--libdir=/usr/lib \
--datadir=/usr/share \
--includedir=/usr/include \
--enable-client \
--enable-server
sed -i -e 's/ -shared / -Wl,-O1,--sort-common,--as-needed,-pie,-z,relro,-z,now \0/g' libtool
make V=1
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}

View File

@@ -1,38 +0,0 @@
# Maintainer: Nick Burrett <nick@sqrt.co.uk>
pkgname=comskip
pkgver=0.82.009
pkgrel=2
epoch=1
pkgdesc='Comskip is a free MPEG commercial break detector'.
_gitname='comskip'
url='http://github.com/erikkaashoek/Comskip'
arch=('x86_64' 'i686')
license=('GPL3')
makedepends=('git')
depends=('ffmpeg' 'argtable')
source=("https://github.com/erikkaashoek/Comskip/archive/0.82.009.tar.gz"
"compilation.patch")
sha256sums=('eae287eff75f018d71a92623ffa67529f8dc75fd6165d07f1b299cdf10c2981a'
"5ea83b9e7189b9f320e3890891c0273daa5325b35298a3b921a904e9a357b798")
prepare() {
patch -p1 -i ${srcdir}/compilation.patch
}
build() {
cd "${srcdir}/Comskip-${pkgver}"
./autogen.sh
./configure --prefix=/usr
make clean
make
}
package() {
mkdir -p "$pkgdir/usr/bin"
install -m755 "${srcdir}/Comskip-${pkgver}/comskip" "$pkgdir/usr/bin/comskip"
if [ -e "${srcdir}/Comskip-${pkgver}/comskip-gui" ]; then
install -m755 "${srcdir}/Comskip-${pkgver}/comskip-gui" "$pkgdir/usr/bin/comskip-gui"
fi
}
# vim:set ts=2 sw=2 et:

View File

@@ -1,32 +0,0 @@
# Maintainer: Sergey Kostyuchenko <derfenix@gmail.com>
pkgname=corectrl
pkgver=1.1.0
pkgrel=4
pkgdesc="Core control application"
url="https://gitlab.com/corectrl/corectrl"
license=('GPL3')
arch=('i686' 'x86_64')
depends=('procps-ng' 'hwids' 'karchive' 'kauth' 'qt5-charts' 'qt5-quickcontrols2' 'qt5-base>=5.9' 'botan>=2.2.0' 'qt5-svg' 'qt5-xmlpatterns')
makedepends=('cmake>=3.3' 'qt5-tools' 'karchive' 'gcc>=8' 'extra-cmake-modules')
optdepends=(
'vulkan-tools: For vulkaninfo'
'mesa-demos: For glxinfo',
'util-linux: For lscpu'
)
source=("https://gitlab.com/corectrl/corectrl/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2")
sha512sums=('fdc050a78cbaa7a532b52198aa410d999b4c9a7b477dae35bb55352b0c0cd49fe951b46f3924ff6ef3cd4bb7acdd06eae74faa006c4e5ca6c9a607f2f10a9248')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr/" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF ..
make ${MAKEFLAGS}
}
package() {
cd "${srcdir}/${pkgname}-v${pkgver}/build"
sed -i -- 's/\/usr/${CMAKE_INSTALL_PREFIX}/g' src/helper/cmake_install.cmake
make install
}

View File

@@ -1,61 +0,0 @@
# Original Maintainer: Vladimir Tsanev <tsachev@gmail.com>
# Maintainer: MoeRT09 <https://aur.archlinux.org/account/MoeRT09>
# Maintainer: jlkon13 <internet@devpi.de>
pkgname=coturn
_portname=turnserver
pkgver=4.5.0.8
pkgrel=1
pkgdesc="Free open source implementation of TURN and STUN Server"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/coturn/coturn"
license=('custom:New BSD')
depends=('libevent' 'postgresql-libs' 'libmariadbclient' 'hiredis' 'sqlite')
conflicts=('rfc5766-turn-server')
provides=('rfc5766-turn-server')
install="$_portname.install"
backup=("etc/turnserver.conf")
source=(http://$_portname.open-sys.org/downloads/v$pkgver/$_portname-$pkgver.tar.gz $_portname.service $_portname.tmpfiles.d)
sha256sums=('94a9e67ac7d92c913b5bd8cb6b70ee6e9aa0e9e7cc3c984fc2d8cf381c6edf87'
'319030c1916d353bfc3375626cc7f60d6eeca762fe4fce354f010212902c49dc'
'fe7ed64dc6844aabdfa00b76134b22d69d9097bd3f77120d704d0ee08c036c21')
build() {
cd "$srcdir/$_portname-$pkgver"
./configure --prefix=/usr --manprefix=/usr/share --examplesdir="/usr/share/$_portname/examples" --disable-rpath
make
}
check() {
cd "$srcdir/$_portname-$pkgver"
make check
}
package() {
cd "$srcdir/$_portname-$pkgver"
make DESTDIR="$pkgdir" install
install -D "$pkgdir/usr/share/$_portname/examples/etc/turnserver.conf" "$pkgdir/etc/turnserver.conf"
rm -r "$pkgdir/usr/etc"
chmod 644 "$pkgdir/usr/lib/libturnclient.a"
install -Dm 644 "../$_portname.service" "$pkgdir/usr/lib/systemd/system/$_portname.service"
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
sed \
-e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
-i "$pkgdir/etc/turnserver.conf"
sed \
-e '/^#pidfile="\/var\/run\/turnserver.pid"$/c pidfile="\/var\/run\/turnserver\/turnserver.pid"' \
-i "$pkgdir/etc/turnserver.conf"
install -Dm644 "$srcdir/$_portname.tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/$_portname.conf"
}

View File

@@ -1,20 +0,0 @@
post_install() {
id turnserver &>/dev/null || \
useradd -r -g daemon -d / -s /usr/bin/nologin turnserver
install -dm 755 "/var/log/turnserver"
chown -R turnserver:daemon /var/log/turnserver
systemd-tmpfiles --create turnserver.conf
echo "start server by issuing \"systemctl start turnserver.service\" or calling \"turnserver\""
}
post_upgrade() {
post_install
}
pre_remove() {
userdel turnserver
}

View File

@@ -1,11 +0,0 @@
[Unit]
Description=STUN and TURN Relay Server for VoIP and WebRTC
After=network.target
[Service]
Type=forking
User=turnserver
ExecStart=/usr/bin/turnserver -c /etc/turnserver.conf -o -v
[Install]
WantedBy=multi-user.target

View File

@@ -1 +0,0 @@
d /run/turnserver 0755 turnserver daemon -

View File

@@ -1,43 +0,0 @@
#
# PKGBUILD: cpuid
#
# Maintainer: Uffe Jakobsen <uffe@uffe.org>
# Past Maintainer: Jianing Yang <jianingy.yang @gmail.com>
# Contributor: David Zaragoza <david@zaragoza.com.ve>
pkgname=cpuid
pkgver=20230614
pkgrel=1
pkgdesc="Linux tool to dump x86 CPUID information about the CPU(s)"
url="http://www.etallen.com/cpuid.html"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('perl')
depends=('glibc' 'perl')
groups=('system')
source=("http://www.etallen.com/$pkgname/${pkgname}-${pkgver}.src.tar.gz")
sha256sums=('b1c83045efc26076307751e0662d580277f5f9bf89cf027231a7812003c3a4e8')
#
#
#
build()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
# pod2man: /usr/bin/core_perl/ is not always in path - minimize error reports by setting PATH
PATH=${PATH}:/usr/bin/core_perl/
make || exit 1
}
#
#
#
package()
{
cd "${srcdir}/${pkgname}-${pkgver}" || exit 1
make BUILDROOT=${pkgdir} install || exit 1
}
#
# EOF
#

Some files were not shown because too many files have changed in this diff Show More