Compare commits
55 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
874aaf882e | ||
![]() |
d48238b016 | ||
![]() |
e5c4c33909 | ||
![]() |
b5f7d468c1 | ||
![]() |
b49be0254a | ||
![]() |
1aa97b3411 | ||
![]() |
c24dbbec3e | ||
![]() |
fae0f9500a | ||
![]() |
06aaaa1dc0 | ||
![]() |
5ce133cdf5 | ||
![]() |
34421dd345 | ||
![]() |
09e3d9df8c | ||
![]() |
3baefde685 | ||
![]() |
1b96358c5f | ||
![]() |
4771d6bdc6 | ||
![]() |
095fd4f44a | ||
![]() |
d8300a7458 | ||
![]() |
1ccee7c0b3 | ||
![]() |
17846d46ea | ||
![]() |
d8c21f4995 | ||
![]() |
8ea81d1fc0 | ||
![]() |
6c9c3c01a7 | ||
![]() |
adf9d2883d | ||
![]() |
620eac0b2b | ||
![]() |
4952d66104 | ||
![]() |
9549f2b751 | ||
![]() |
d36d20d62d | ||
![]() |
da7fbc3253 | ||
![]() |
c596739b7e | ||
![]() |
0cce47b851 | ||
![]() |
07fb1cfb7d | ||
![]() |
4883b4b1b5 | ||
![]() |
15fd43e88f | ||
![]() |
df219bb870 | ||
![]() |
56a135fb4a | ||
![]() |
45356dff2c | ||
![]() |
5188350a72 | ||
![]() |
812b92fd67 | ||
![]() |
1b86b02c70 | ||
![]() |
60a3bb63c9 | ||
![]() |
2a70177e13 | ||
![]() |
4e37a607a1 | ||
![]() |
069303f73b | ||
![]() |
d25a9c244d | ||
![]() |
4d6e03da28 | ||
![]() |
cdf49457c7 | ||
![]() |
37aa7edf88 | ||
![]() |
a426bfd31f | ||
![]() |
c352852769 | ||
![]() |
51025d95a7 | ||
![]() |
25f60bcc49 | ||
![]() |
d49b5e9f4d | ||
![]() |
c8bddab8fd | ||
![]() |
feb07abc7f | ||
![]() |
1a849f0c3b |
@@ -4,10 +4,9 @@ src_dir="$1"
|
||||
|
||||
#[ "$PKGS_TO_BUILD_IN_ORDER" == "" ] && PKGS_TO_BUILD_IN_ORDER='zpaq'
|
||||
|
||||
# had to remove 'webkitgtk webkitgtk2 truecraft-git' from here because webkitgtk took too many hours to build...
|
||||
# removed 'linux-pf-lts linux-aufs-lts'
|
||||
# removed 'mingw-w64-headers mingw-w64-binutils mingw-w64-headers-bootstrap mingw-w64-gcc-base mingw-w64-crt mingw-w64-winpthreads cloog mingw-w64-gcc'
|
||||
[ "$PKGS_TO_BUILD_IN_ORDER" == "" ] && PKGS_TO_BUILD_IN_ORDER='python-pycares python-pydns python-rtslib-fb python-configshell-fb srb2kart-data srb2-data python2-schedule python2-spotipy python-sleekxmpp glib2-static pcre-static python2-axolotl-curve25519-git python-aiodns python-pyspf pi-hole-ftl libgcj17-bin auracle-git trousers stoken libpcl freeradius-client php-imagick ucspi-tcp perl-sys-virt hivex htmlcxx python2-dulwich evdi osl isl ncurses5-compat-libs zpaq zelda-roth xboxdrv wireguard-module-arch wide-dhcpv6 webhook wallabag visual-studio-code-bin vdfuse ttf-oxygen ttf-ms-fonts ts-spooler ternimal-git targetcli-fb systemd-cron-next srb2kart srb2 spotify-ripper spotify sonarr sendxmpp-rs-git sendxmpp-rs sendxmpp-py searx-py3 searx scallion rusty-keys-git rusty-keys runescape-launcher rootmp-hook reprepro redis-desktop-manager react-native-cli qt5-webengine-widevine qemu-user-static python2-pyliblzma python2-axolotl-git python-spotify python-slixmpp python-postfix-policyd-spf python-authres prosody-mod-s2s-auth-dane prosody-hg-stable popstation_md popstation pkgsync pi-hole-standalone pi-hole-server php-zmq perl-file-libmagic pdftk-bin pcem panda3d pacaur openhardwaremonitor openconnect-git odamex ocserv nginx-mainline-rtmp nextcloud-app-user-sql nextcloud-app-user-external nextcloud-app-passman nextcloud-app-keeweb mprime movim-git mkinitcpio-utils mkinitcpio-tinyssh mkinitcpio-netconf mkinitcpio-dropbear minecraft memtest86-efi mellowplayer makemkv luaunbound lua51-event lua-zlib libresonic libplatform-legacy libguestfs lib32-libgme lgogdownloader kodi-standalone-socket-activation kodi-standalone-service kiwiirc jitsi jdk6 intellij-idea-ultimate-edition inspircd hg-git-hg gajim-plugin-omemo fuse-zip filebot ffmpeg-omx factorio-demo 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 bitpim-release binfmt-support binfmt-qemu-static biboumi-git biboumi barrier aurutils atheme archivemount android-emulator alt-version-switcher mingw-w64-headers mingw-w64-binutils mingw-w64-headers-bootstrap mingw-w64-gcc-base mingw-w64-crt mingw-w64-winpthreads cloog mingw-w64-gcc'
|
||||
# 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"
|
||||
|
||||
@@ -39,3 +38,5 @@ rm -f "$PKGDEST/"*.tar.gz.old
|
||||
[ "$failed" != '' ] && echo "failed packages: $failed"
|
||||
|
||||
echo -n "$failed" > "$PKGDEST/failed.txt"
|
||||
|
||||
grep -- '---failed---$' "$PKGDEST/build.log"
|
||||
|
@@ -8,7 +8,7 @@ ENV PKGS_TO_BUILD_IN_ORDER=$PKGS_TO_BUILD_IN_ORDER
|
||||
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 sudo base-devel && \
|
||||
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/
|
||||
|
48
arch-chroot-helper
Executable file
48
arch-chroot-helper
Executable file
@@ -0,0 +1,48 @@
|
||||
#!/bin/bash
|
||||
|
||||
# this is meant to be put in /usr/bin and allowed to use for for a user
|
||||
# cp /home/ppa/arch-ppa/arch-chroot-helper /usr/bin/; chown root.root /usr/bin/arch-chroot-helper; chmod 555 /usr/bin/arch-chroot-helper
|
||||
# then add this using visudo:
|
||||
# ppa ALL= NOPASSWD: /usr/bin/arch-chroot-helper
|
||||
|
||||
ccm_root='/scratch/.chroot64'
|
||||
|
||||
prepare() {
|
||||
if [ -d "${ccm_root}/root" ]; then
|
||||
# this exists, so just update it
|
||||
arch-nspawn "${ccm_root}/root" pacman -Syu --noconfirm
|
||||
#yes | arch-nspawn "${ccm_root}/root" pacman -Scc
|
||||
else
|
||||
# does not exist, create it...
|
||||
mkdir -p "${ccm_root}"
|
||||
mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf "${ccm_root}/root" base-devel
|
||||
fi
|
||||
}
|
||||
|
||||
nuke() {
|
||||
rm -rf "${ccm_root}"
|
||||
}
|
||||
|
||||
make() {
|
||||
set -e
|
||||
prepare
|
||||
makechrootpkg -c -u -r "${ccm_root}"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
prepare)
|
||||
prepare
|
||||
exit $?
|
||||
;;
|
||||
nuke)
|
||||
nuke
|
||||
exit $?
|
||||
;;
|
||||
make)
|
||||
make
|
||||
exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Must specify command: prepare, nuke, make"
|
||||
exit 1
|
||||
esac
|
41
ppa
41
ppa
@@ -8,8 +8,6 @@ basedir="$(pwd)"
|
||||
src_dir="${basedir}/src"
|
||||
repo_name=aur
|
||||
pkg_dir="${basedir}/$repo_name"
|
||||
ccm='sudo ccm64'
|
||||
ccm_root='/scratch/chroot64'
|
||||
aurweb='https://aur.archlinux.org'
|
||||
|
||||
if [ `whoami` == 'root' ]; then
|
||||
@@ -76,7 +74,6 @@ sign_packages() {
|
||||
build() {
|
||||
cd "$src_dir"
|
||||
if [ "$#" -gt 0 ]; then
|
||||
$ccm d
|
||||
failed=''
|
||||
# create .SRCINFO, so aurqueue can use it next
|
||||
for dir in "$@"
|
||||
@@ -88,27 +85,31 @@ build() {
|
||||
for dir in $(aurqueue "$@")
|
||||
do
|
||||
cd $dir
|
||||
$ccm s || failed="$failed $dir"
|
||||
# delete any existing packages
|
||||
grep '^pkgname = ' .SRCINFO | sed 's/^pkgname = //' | xargs -I {} sh -c 'rm -f {}*pkg.tar*'
|
||||
sudo arch-chroot-helper make
|
||||
if [ $? -ne 0 ]; then
|
||||
# failed, append to failed string
|
||||
failed="$failed $dir"
|
||||
else
|
||||
#list_of_packages="$(grep '^pkgname = ' .SRCINFO | sed 's/^pkgname = //' | sort -u | tr '\n' ' ')"
|
||||
list_of_package_files="$(grep '^pkgname = ' .SRCINFO | sed 's/^pkgname = //' | xargs -I {} sh -c 'ls {}*pkg.tar*' 2>/dev/null | sort -u | tr '\n' ' ')"
|
||||
mv $list_of_package_files "$pkg_dir"
|
||||
cd "$pkg_dir"
|
||||
sign_packages $list_of_package_files
|
||||
# repose appears to work the same with both $list_of_packages and $list_of_package_files
|
||||
repose -f -z $repo_name $list_of_package_files
|
||||
sign_packages $repo_name.db $repo_name.files
|
||||
fi
|
||||
cd "$src_dir"
|
||||
done
|
||||
|
||||
# save packages
|
||||
cd "$pkg_dir"
|
||||
for pkg in "$ccm_root"/root/repo/*pkg.tar*
|
||||
do
|
||||
mv "$pkg" .
|
||||
sign_packages "$(basename "$pkg")"
|
||||
done
|
||||
repose -f -z $repo_name
|
||||
sign_packages $repo_name.db $repo_name.files
|
||||
|
||||
if [ "$failed" == "" ]
|
||||
then
|
||||
# success!, nuke the chroot
|
||||
echo $ccm n
|
||||
echo sudo arch-chroot-helper nuke
|
||||
else
|
||||
# some failures, just delete the packages
|
||||
$ccm d
|
||||
# some failures
|
||||
echo "failed packages:$failed"
|
||||
fi
|
||||
|
||||
@@ -119,7 +120,7 @@ build() {
|
||||
|
||||
rebuild_db() {
|
||||
cd "$pkg_dir"
|
||||
repose -f -z $repo_name
|
||||
repose -v -f -z $repo_name
|
||||
sign_packages $repo_name.db $repo_name.files
|
||||
}
|
||||
|
||||
@@ -190,6 +191,10 @@ grep_deps() {
|
||||
grep "$1" src/*/PKGBUILD
|
||||
}
|
||||
|
||||
git_add_changes() {
|
||||
git add -f $(git status | grep -E '^.+(modified|deleted):' | sed 's/.* //' | tr '\n' ' ')
|
||||
}
|
||||
|
||||
if [ "$#" -gt 0 ]; then
|
||||
[ -d "$src_dir" ] || mkdir -p "$src_dir"
|
||||
[ -d "$pkg_dir" ] || mkdir -p "$pkg_dir"
|
||||
|
33
src/4nxci-git/PKGBUILD
Normal file
33
src/4nxci-git/PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# 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}"
|
||||
}
|
43
src/abcde/PKGBUILD
Normal file
43
src/abcde/PKGBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
# 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
|
||||
}
|
||||
|
44
src/airsonic/PKGBUILD
Normal file
44
src/airsonic/PKGBUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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')
|
||||
|
1
src/airsonic/airsonic.sysusers
Normal file
1
src/airsonic/airsonic.sysusers
Normal file
@@ -0,0 +1 @@
|
||||
u airsonic - "Airsonic user" /var/lib/airsonic
|
1
src/airsonic/airsonic.tmpfiles
Normal file
1
src/airsonic/airsonic.tmpfiles
Normal file
@@ -0,0 +1 @@
|
||||
d /var/lib/airsonic 0755 airsonic airsonic
|
@@ -1,7 +1,7 @@
|
||||
# Maintainer: moparisthebest <admin dot archlinux AT moparisthebest dot com>
|
||||
pkgname=alt-version-switcher
|
||||
_pkgname=alt
|
||||
pkgver=1.0.2
|
||||
pkgver=1.0.5
|
||||
pkgrel=1
|
||||
pkgdesc='Tool for switching between different versions of commands'
|
||||
arch=('i686' 'x86_64')
|
||||
@@ -11,7 +11,7 @@ depends=()
|
||||
conflicts=('alt' 'alt-git')
|
||||
makedepends=('rust' 'cargo' 'git')
|
||||
source=("$_pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('fb1ff6699d5abd085bea3dc67b8a75aa2c43bc5718c2861bca23cbb5a12dc31006f0591ddb559ff1f3ac3e66ff3a3c18c5030ad1633213a6abbd58d6e53a5efc')
|
||||
sha512sums=('8b7cc468ccfd6fe131815bb205cac6fb5fe6ce2a23cb622284b25ae25b83feca3d8c91a8431fa53cdc69b89bd19feffb3b2730b418d27652e72880f203ed6889')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
|
2
src/anbox-git/99-anbox.rules
Normal file
2
src/anbox-git/99-anbox.rules
Normal file
@@ -0,0 +1,2 @@
|
||||
KERNEL=="binder", MODE="0666"
|
||||
KERNEL=="ashmem", MODE="0666"
|
75
src/anbox-git/PKGBUILD
Normal file
75
src/anbox-git/PKGBUILD
Normal file
@@ -0,0 +1,75 @@
|
||||
# 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
|
||||
}
|
3
src/anbox-git/anbox-bridge.netdev
Normal file
3
src/anbox-git/anbox-bridge.netdev
Normal file
@@ -0,0 +1,3 @@
|
||||
[NetDev]
|
||||
Name=anbox0
|
||||
Kind=bridge
|
7
src/anbox-git/anbox-bridge.network
Normal file
7
src/anbox-git/anbox-bridge.network
Normal file
@@ -0,0 +1,7 @@
|
||||
[Match]
|
||||
Name=anbox0
|
||||
Driver=bridge
|
||||
|
||||
[Network]
|
||||
Address=192.168.250.1/24
|
||||
IPMasquerade=yes
|
8
src/anbox-git/anbox-container-manager.service
Normal file
8
src/anbox-git/anbox-container-manager.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Anbox Container Manager
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
8
src/anbox-git/anbox-session-manager.service
Normal file
8
src/anbox-git/anbox-session-manager.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Anbox Session Manager
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/anbox session-manager
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
2
src/anbox-git/anbox.conf
Normal file
2
src/anbox-git/anbox.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
ashmem_linux
|
||||
binder_linux
|
8
src/anbox-git/anbox.desktop
Normal file
8
src/anbox-git/anbox.desktop
Normal file
@@ -0,0 +1,8 @@
|
||||
[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
|
2
src/anbox-image-gapps/.gitignore
vendored
Normal file
2
src/anbox-image-gapps/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
.*
|
129
src/anbox-image-gapps/PKGBUILD
Normal file
129
src/anbox-image-gapps/PKGBUILD
Normal file
@@ -0,0 +1,129 @@
|
||||
# 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"
|
||||
}
|
89
src/anbox-image-gapps/media_codecs.xml
Normal file
89
src/anbox-image-gapps/media_codecs.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?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>
|
97
src/anbox-image-gapps/media_codecs_google_audio.xml
Normal file
97
src/anbox-image-gapps/media_codecs_google_audio.xml
Normal file
@@ -0,0 +1,97 @@
|
||||
<?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>
|
25
src/anbox-image-gapps/media_codecs_google_telephony.xml
Normal file
25
src/anbox-image-gapps/media_codecs_google_telephony.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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>
|
122
src/anbox-image-gapps/media_codecs_google_video.xml
Normal file
122
src/anbox-image-gapps/media_codecs_google_video.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?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>
|
2
src/anbox-image-houdini/.gitignore
vendored
Normal file
2
src/anbox-image-houdini/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*
|
||||
.*
|
113
src/anbox-image-houdini/PKGBUILD
Normal file
113
src/anbox-image-houdini/PKGBUILD
Normal file
@@ -0,0 +1,113 @@
|
||||
# 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"
|
||||
}
|
89
src/anbox-image-houdini/media_codecs.xml
Normal file
89
src/anbox-image-houdini/media_codecs.xml
Normal file
@@ -0,0 +1,89 @@
|
||||
<?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>
|
97
src/anbox-image-houdini/media_codecs_google_audio.xml
Normal file
97
src/anbox-image-houdini/media_codecs_google_audio.xml
Normal file
@@ -0,0 +1,97 @@
|
||||
<?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>
|
25
src/anbox-image-houdini/media_codecs_google_telephony.xml
Normal file
25
src/anbox-image-houdini/media_codecs_google_telephony.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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>
|
122
src/anbox-image-houdini/media_codecs_google_video.xml
Normal file
122
src/anbox-image-houdini/media_codecs_google_video.xml
Normal file
@@ -0,0 +1,122 @@
|
||||
<?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>
|
16
src/anbox-image/PKGBUILD
Normal file
16
src/anbox-image/PKGBUILD
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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
|
||||
}
|
50
src/apfsprogs-git/PKGBUILD
Normal file
50
src/apfsprogs-git/PKGBUILD
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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
|
||||
}
|
26
src/apfsprogs-git/add-ldflags.patch
Normal file
26
src/apfsprogs-git/add-ldflags.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
40
src/apfsprogs-git/destdir.patch
Normal file
40
src/apfsprogs-git/destdir.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
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
|
47
src/aranym/PKGBUILD
Normal file
47
src/aranym/PKGBUILD
Normal file
@@ -0,0 +1,47 @@
|
||||
# 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
|
||||
}
|
29
src/astreamfs-git/PKGBUILD
Normal file
29
src/astreamfs-git/PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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"
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
# Original: Maxime Poulin <maxpoulin64@gmail.com>
|
||||
# Maintainer: Trevor Bergeron <trevor@sec.gd>
|
||||
# Maintainer: Trevor Bergeron <aur@sec.gd>
|
||||
|
||||
# Build options (yes/no/default)
|
||||
_large_network=default
|
||||
@@ -7,15 +7,16 @@ _pcre=default
|
||||
_perl=default
|
||||
_contrib=default
|
||||
_cracklib=default
|
||||
_ldap=no
|
||||
_ldap=default
|
||||
|
||||
_pkgname=atheme-services
|
||||
pkgname=atheme
|
||||
pkgver=7.2.10_r2
|
||||
_pkgver="7.2.10-r2"
|
||||
_pkgver="7.2.12"
|
||||
pkgrel=1
|
||||
pkgver="${_pkgver//-/_}"
|
||||
pkgdesc="IRC services"
|
||||
arch=("i686" "x86_64")
|
||||
url="http://www.atheme.org/atheme/"
|
||||
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
|
||||
@@ -32,18 +33,15 @@ backup=(
|
||||
'etc/atheme/atheme.motd'
|
||||
)
|
||||
install=atheme.install
|
||||
source=("https://github.com/atheme/atheme/releases/download/v${_pkgver}/atheme-v${_pkgver}.tar.xz"
|
||||
source=("https://github.com/atheme/atheme/releases/download/v${_pkgver}/${_pkgname}-v${_pkgver}.tar.xz"
|
||||
"atheme.service"
|
||||
)
|
||||
sha256sums=('cceceb285283509c9f6dcb20eeb9b816db373a81b55fe49bc11a774b501d687d'
|
||||
sha256sums=('600d5ba0e25d80307818021fd9b85e49b07f245932b3c8e04e16fe312dd60fba'
|
||||
'ee9ad7658434451184872c21c7fd38196d22d1dfb6b1f37bcfaf8c363d50296f')
|
||||
|
||||
pkgver() {
|
||||
echo "$_pkgver" >&2
|
||||
echo "$_pkgver" | tr - _
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgname-v$_pkgver"
|
||||
|
||||
_configure="./configure --prefix=/usr --enable-fhs-paths"
|
||||
_configure+=" --sysconfdir=/etc/atheme --localstatedir=/var"
|
||||
|
||||
@@ -65,6 +63,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgname-v$_pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir/" install
|
||||
install -Dm0644 "$srcdir/atheme.service" "$pkgdir/usr/lib/systemd/system/atheme.service"
|
||||
|
||||
|
@@ -1,22 +1,29 @@
|
||||
# Maintainer: Alad Wenter <alad@archlinux.org>
|
||||
# Co-Maintainer: Cedric Girard <cgirard.archlinux@valinor.fr>
|
||||
# Maintainer: Alad Wenter <https://github.com/AladW>
|
||||
pkgname=aurutils
|
||||
pkgver=2.3.1
|
||||
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=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
|
||||
#"$pkgname-$pkgver.tar.gz.asc::$url/releases/download/$pkgver/$pkgver.tar.gz.asc")
|
||||
install=$pkgname.install
|
||||
depends=('git' 'jq' 'expac' 'diffstat' 'pacutils' 'parallel' 'wget')
|
||||
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: build file interaction'
|
||||
'xdelta3: generate delta files')
|
||||
sha256sums=('c657f2d0878bedeb0f11d2b72f3028d271db0f14d8f23c18b641e3c59134150e')
|
||||
validpgpkeys=('DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A') # Alad Wenter <alad@archlinux.org>
|
||||
'vifm: default pager')
|
||||
|
||||
prepare() {
|
||||
signify -V -p aurutils.pub -m "$pkgname-$pkgver".tar.gz \
|
||||
-x "$pkgname-$pkgver".tar.gz.signify
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
31
src/b43-firmware/PKGBUILD
Normal file
31
src/b43-firmware/PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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')
|
7
src/b43-firmware/b43-firmware.install
Normal file
7
src/b43-firmware/b43-firmware.install
Normal file
@@ -0,0 +1,7 @@
|
||||
post_upgrade() {
|
||||
echo "==> If you encounter problems with v6.30, try the 'b43-firmware-classic' package (v5.100) instead."
|
||||
}
|
||||
|
||||
post_install() {
|
||||
post_upgrade
|
||||
}
|
41
src/bearssl/PKGBUILD
Normal file
41
src/bearssl/PKGBUILD
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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"
|
||||
}
|
@@ -2,17 +2,17 @@
|
||||
|
||||
_pkgname=biboumi
|
||||
pkgname="$_pkgname-git"
|
||||
pkgver=8.2.r85.ga8cd241
|
||||
pkgrel=1
|
||||
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' 'botan' 'sqlite' 'postgresql-libs')
|
||||
makedepends=('git' 'cmake' 'pandoc')
|
||||
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://lab.louiz.org/louiz/biboumi.git"
|
||||
source=("$_pkgname::git+https://codeberg.org/poezio/biboumi"
|
||||
'biboumi.install'
|
||||
'sysuser.conf')
|
||||
md5sums=('SKIP'
|
||||
@@ -38,17 +38,22 @@ build() {
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DSERVICE_USER=biboumi \
|
||||
-DSERVICE_GROUP=jabber
|
||||
make biboumi
|
||||
-DSERVICE_GROUP=jabber \
|
||||
-Wno-dev \
|
||||
-G Ninja
|
||||
ninja
|
||||
ninja doc
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_pkgname/build
|
||||
make DESTDIR="$pkgdir/" install
|
||||
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 -dm755 "$pkgdir"/usr/share/doc/$_pkgname/
|
||||
install -Dm644 doc/*.rst "$pkgdir"/usr/share/doc/$_pkgname/
|
||||
install -Dm644 conf/biboumi.cfg "$pkgdir"/etc/$_pkgname/$_pkgname.cfg
|
||||
|
||||
|
52
src/biboumi/PKGBUILD
Normal file
52
src/biboumi/PKGBUILD
Normal file
@@ -0,0 +1,52 @@
|
||||
# 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
|
||||
}
|
3
src/biboumi/biboumi.sysusers
Normal file
3
src/biboumi/biboumi.sysusers
Normal file
@@ -0,0 +1,3 @@
|
||||
g jabber 17 - -
|
||||
u biboumi - "Biboumi, XMPP gateway to IRC" /var/lib/biboumi
|
||||
m biboumi jabber
|
2
src/biboumi/biboumi.tmpfiles
Normal file
2
src/biboumi/biboumi.tmpfiles
Normal file
@@ -0,0 +1,2 @@
|
||||
d /var/lib/biboumi 0755 biboumi jabber
|
||||
d /var/log/biboumi 0700 biboumi jabber
|
@@ -1,27 +0,0 @@
|
||||
# Contributor: Jose Valecillos <valecillosjg (at) gmail (dot) com>
|
||||
|
||||
pkgname=bitpim-release
|
||||
pkgver=1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="A program to view and manipulate data on many CDMA phones from LG, Samsung, Sanyo, etc."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.bitpim.org/"
|
||||
license=('GPL')
|
||||
depends=('python' 'gtk2' 'libusb' 'libstdc++5' 'gmp' 'libsm' 'libxxf86vm' 'libjpeg6' 'libpng12')
|
||||
makedepends=('rpmextract')
|
||||
options=('!strip')
|
||||
source=(http://downloads.sourceforge.net/bitpim/$pkgver/bitpim-$pkgver-0.i386.rpm)
|
||||
md5sums=('7cb50801f5469ecd77be155cdef34d53')
|
||||
|
||||
package() {
|
||||
cd $srcdir
|
||||
rpmextract.sh bitpim-$pkgver-0.i386.rpm
|
||||
mv usr $pkgdir
|
||||
cd $pkgdir
|
||||
chmod -R 755 $pkgdir/usr
|
||||
chown -R root:root $pkgdir/usr
|
||||
cp -a /usr/lib/libexpat.so ./usr/lib/libexpat.so.0
|
||||
mkdir -p ./usr/share/applications
|
||||
#install -m755 $startdir/bitpim.desktop ./usr/share/applications
|
||||
}
|
||||
|
40
src/bridgedesigner/PKGBUILD
Normal file
40
src/bridgedesigner/PKGBUILD
Normal file
@@ -0,0 +1,40 @@
|
||||
# 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/
|
||||
}
|
5
src/bridgedesigner/bridgedesigner
Normal file
5
src/bridgedesigner/bridgedesigner
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/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
|
10
src/bridgedesigner/bridgedesigner.desktop
Normal file
10
src/bridgedesigner/bridgedesigner.desktop
Normal file
@@ -0,0 +1,10 @@
|
||||
[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;
|
BIN
src/bridgedesigner/bridgedesigner.png
Normal file
BIN
src/bridgedesigner/bridgedesigner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 270 B |
31
src/cachefilesd/PKGBUILD
Normal file
31
src/cachefilesd/PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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
|
@@ -3,17 +3,14 @@
|
||||
# Contributor: Nathan Owe <ndowens04 at gmail>
|
||||
# Contributor: Chris Allison <daemon@cca.me.uk>
|
||||
|
||||
# Current source for PKGBUILD can be found at
|
||||
# https://github.com/cacack/pkgbuilds/tree/master/ccextractor
|
||||
|
||||
pkgname=ccextractor
|
||||
pkgver=0.88
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A fast closed captions extractor for MPEG files."
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.ccextractor.org"
|
||||
url="https://www.ccextractor.org"
|
||||
license=('GPL')
|
||||
depends=('gcc-libs' 'tesseract')
|
||||
depends=('gcc-libs' 'tesseract' 'leptonica' 'ffmpeg')
|
||||
source=(
|
||||
https://github.com/CCExtractor/ccextractor/archive/v$pkgver.tar.gz
|
||||
)
|
||||
@@ -21,7 +18,7 @@ sha512sums=('bb9442905f3c5d095b9b34eb318dc445a0ba484c22c4f061071cc2a1159ec9304b8
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver/linux"
|
||||
./build
|
||||
./build_hardsubx
|
||||
}
|
||||
|
||||
package() {
|
||||
|
24
src/cd-discid/PKGBUILD
Normal file
24
src/cd-discid/PKGBUILD
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
}
|
38
src/chirp-next/PKGBUILD
Normal file
38
src/chirp-next/PKGBUILD
Normal file
@@ -0,0 +1,38 @@
|
||||
# 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"
|
||||
}
|
7
src/chirp-next/chirp-next.install
Normal file
7
src/chirp-next/chirp-next.install
Normal file
@@ -0,0 +1,7 @@
|
||||
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."
|
||||
}
|
@@ -1,140 +1,54 @@
|
||||
# Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
|
||||
|
||||
pkgname=(chocolate-{doom,heretic,hexen,strife,common}-git)
|
||||
_pkgname=${pkgname[0]/-git/}
|
||||
pkgname=chocolate-doom-git
|
||||
pkgdesc="Historically-accurate Doom, Heretic, Hexen, and Strife ports."
|
||||
pkgver=3.0.0.r809.b9d4c04c
|
||||
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}"
|
||||
cd "${pkgname/-git//}"
|
||||
local version="$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
|
||||
printf %s "${version##chocolate.doom.}"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}"
|
||||
cd "${pkgname/-git//}"
|
||||
|
||||
./autogen.sh --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package_chocolate-common-git() {
|
||||
pkgdesc="Files shared in common with Chocolate Doom-based games."
|
||||
conflicts=(chocolate-common)
|
||||
install=chocolate-doom.install
|
||||
package() {
|
||||
cd "${pkgname/-git//}"
|
||||
|
||||
cd "${_pkgname}"
|
||||
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 metainfo
|
||||
cd man/man6
|
||||
rm -f chocolate-{doom,heretic,hexen,strife}{,-setup}.6
|
||||
}
|
||||
|
||||
package_chocolate-doom-git() {
|
||||
pkgdesc="Doom port accurately reproducing the original DOS EXEs."
|
||||
depends=(${depends[@]} 'chocolate-common-git')
|
||||
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)')
|
||||
conflicts=(chocolate-doom)
|
||||
|
||||
cd "${_pkgname}"
|
||||
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 metainfo/chocolate-{heretic,hexen,strife}.appdata.xml \
|
||||
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-git() {
|
||||
pkgdesc="Heretic port accurately reproducing the original DOS EXEs."
|
||||
depends=(${depends[@]} 'chocolate-common-git')
|
||||
optdepends=('blasphemer: Free Heretic-compatible game')
|
||||
conflicts=(chocolate-heretic)
|
||||
|
||||
cd "${_pkgname}"
|
||||
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 metainfo/chocolate-{doom,hexen,strife}.appdata.xml \
|
||||
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-git() {
|
||||
pkgdesc="Hexen port accurately reproducing the original DOS EXEs."
|
||||
depends=(${depends[@]} 'chocolate-common-git')
|
||||
conflicts=(chocolate-hexen)
|
||||
|
||||
cd "${_pkgname}"
|
||||
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 metainfo/chocolate-{doom,heretic,strife}.appdata.xml \
|
||||
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-git() {
|
||||
pkgdesc="Strife port accurately reproducing the original DOS EXEs."
|
||||
depends=(${depends[@]} 'chocolate-common-git')
|
||||
conflicts=(chocolate-strife)
|
||||
|
||||
cd "${_pkgname}"
|
||||
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 metainfo/chocolate-{doom,heretic,hexen}.appdata.xml \
|
||||
bash-completion/completions/chocolate-{doom,heretic,hexen}
|
||||
rm -f man/man?/chocolate-{doom,heretic,hexen,setup,server}* \
|
||||
man/man5/{default,heretic,hexen}.cfg*
|
||||
# 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
|
||||
}
|
||||
|
@@ -1,26 +0,0 @@
|
||||
# Maintainer: graysky <graysky AT archlinux DOT us>
|
||||
|
||||
pkgname=clean-chroot-manager
|
||||
pkgver=2.96
|
||||
pkgrel=1
|
||||
pkgdesc='Wrapper for managing clean chroot builds with local repo therein.'
|
||||
arch=('any')
|
||||
url='https://github.com/graysky2/clean-chroot-manager'
|
||||
license=('MIT')
|
||||
depends=('devtools>=20180528-1' 'rsync' 'libarchive>=3.3.3')
|
||||
conflicts=('clean_chroot_manager')
|
||||
replaces=('clean_chroot_manager')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/clean-chroot-manager/archive/v$pkgver.tar.gz")
|
||||
sha256sums=('3bbe344f92914a490f61c6fcb95189f4c95dacee45da975bf9c530e8fe867806')
|
||||
install=ccm.install
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
## arg 1: the new package version
|
||||
## arg 2: the old package version
|
||||
|
||||
post_upgrade() {
|
||||
for test in 2.92-1 2.87-1 2.81-1 2.73-1 2.72-1 2.55-1 2.17-1 2.22-1 2.69-1 2.93-1; do
|
||||
if [ "$(vercmp $2 $test)" -lt 1 ]; then
|
||||
echo
|
||||
echo '--> Please check ~/.config/clean-chroot-manager.conf against the'
|
||||
echo '--> provided /usr/share/clean-chroot-manager/ccm.skel to ensure it is'
|
||||
echo '--> updated as the script does not do this automatically.'
|
||||
exit 0
|
||||
else
|
||||
/bin/true
|
||||
fi
|
||||
done
|
||||
}
|
45
src/clementine/PKGBUILD
Normal file
45
src/clementine/PKGBUILD
Normal file
@@ -0,0 +1,45 @@
|
||||
# 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
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
pkgbase = cloog
|
||||
pkgdesc = Library that generates loops for scanning polyhedra
|
||||
pkgver = 0.18.1
|
||||
pkgrel = 3
|
||||
url = http://www.bastoul.net/cloog/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = GPL
|
||||
depends = isl
|
||||
source = http://www.bastoul.net/cloog/pages/download/cloog-0.18.1.tar.gz
|
||||
source = cloog-0.18.1-isl-compat.patch
|
||||
md5sums = e34fca0540d840e5d0f6427e98c92252
|
||||
md5sums = 976c999b44c6e364455a670d12523242
|
||||
|
||||
pkgname = cloog
|
||||
|
@@ -1,33 +0,0 @@
|
||||
# Maintainer: Aaron Fischer <mail@aaron-fischer.net>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
|
||||
pkgname=cloog
|
||||
pkgver=0.20.0
|
||||
pkgrel=1
|
||||
pkgdesc="Library that generates loops for scanning polyhedra"
|
||||
arch=('i686' 'x86_64' 'armv7h')
|
||||
url="http://www.bastoul.net/cloog/"
|
||||
license=('GPL')
|
||||
depends=('osl' 'isl')
|
||||
makedepends=('texlive-core' 'texlive-bin')
|
||||
source=(https://github.com/periscop/cloog/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('d00cbefd348b45d9d482320a088f7ae736440046b99469cbdfbb177a38dcef182c3305f0a567a1f5699c23b7108db6fd5ad6dfbc071d63ccca1d6bfc1b198565')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --with-isl=system --with-osl=system
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
# There are certain race conditions on running the tests, so we restrict
|
||||
# it to one job (one CPU core).
|
||||
|
||||
make -j1 check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR=$pkgdir/ install
|
||||
}
|
192
src/cnrdrvcups-lb/PKGBUILD
Normal file
192
src/cnrdrvcups-lb/PKGBUILD
Normal file
@@ -0,0 +1,192 @@
|
||||
# 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
|
||||
|
||||
}
|
44
src/coda/PKGBUILD
Normal file
44
src/coda/PKGBUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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
|
||||
}
|
@@ -1,7 +1,7 @@
|
||||
# Maintainer: Nick Burrett <nick@sqrt.co.uk>
|
||||
pkgname=comskip
|
||||
pkgver=0.82.002
|
||||
pkgrel=1
|
||||
pkgver=0.82.009
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
pkgdesc='Comskip is a free MPEG commercial break detector'.
|
||||
_gitname='comskip'
|
||||
@@ -10,20 +10,17 @@ arch=('x86_64' 'i686')
|
||||
license=('GPL3')
|
||||
makedepends=('git')
|
||||
depends=('ffmpeg' 'argtable')
|
||||
source=("${_gitname}::git+https://github.com/erikkaashoek/Comskip#commit=0bf473cb5be4b754f01f95fb3cffd120f5f1985a"
|
||||
"comskip-version.patch")
|
||||
sha256sums=('SKIP'
|
||||
'7bf06bef3c4d26b6aad1bd0714b2b365bbd0c76bb491bf8ec42d8752ff442cd0')
|
||||
source=("https://github.com/erikkaashoek/Comskip/archive/0.82.009.tar.gz"
|
||||
"compilation.patch")
|
||||
sha256sums=('eae287eff75f018d71a92623ffa67529f8dc75fd6165d07f1b299cdf10c2981a'
|
||||
"5ea83b9e7189b9f320e3890891c0273daa5325b35298a3b921a904e9a357b798")
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
# Fixes version reported by binary.
|
||||
patch -Np1 -i $srcdir/comskip-version.patch
|
||||
patch -p1 -i ${srcdir}/compilation.patch
|
||||
}
|
||||
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
cd "${srcdir}/Comskip-${pkgver}"
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make clean
|
||||
@@ -32,9 +29,9 @@ build() {
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/usr/bin"
|
||||
install -m755 "${srcdir}/${_gitname}/comskip" "$pkgdir/usr/bin/comskip"
|
||||
if [ -e "${srcdir}/${_gitname}/comskip-gui" ]; then
|
||||
install -m755 "${srcdir}/${_gitname}/comskip-gui" "$pkgdir/usr/bin/comskip-gui"
|
||||
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
|
||||
}
|
||||
|
||||
|
@@ -1,8 +0,0 @@
|
||||
--- comskip/configure.ac.orig 2017-05-12 16:57:36.255651925 +0100
|
||||
+++ comskip/configure.ac 2017-05-12 16:57:43.845506928 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-AC_INIT([Comskip], [0.81.089], [https://github.com/erikkaashoek/Comskip/issues])
|
||||
+AC_INIT([Comskip], [0.82.002], [https://github.com/erikkaashoek/Comskip/issues])
|
||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
||||
|
||||
: ${CFLAGS=""}
|
32
src/corectrl/PKGBUILD
Normal file
32
src/corectrl/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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
|
||||
}
|
43
src/cpuid/PKGBUILD
Normal file
43
src/cpuid/PKGBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
#
|
||||
# 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
|
||||
#
|
@@ -2,8 +2,8 @@
|
||||
|
||||
pkgname=crispy-doom
|
||||
pkgdesc="Vanilla-compatible enhanced Doom engine"
|
||||
pkgver=5.6
|
||||
pkgrel=1
|
||||
pkgver=5.9.2
|
||||
pkgrel=2
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://fabiangreffrath.github.io/crispy-doom"
|
||||
license=('GPL2')
|
||||
@@ -11,10 +11,12 @@ depends=('hicolor-icon-theme' 'libpng' 'libsamplerate' 'sdl2_mixer' 'sdl2_net')
|
||||
makedepends=('python')
|
||||
optdepends=('freedm: Free deathmatch game'
|
||||
'freedoom1: Free Ultimate Doom-compatible game'
|
||||
'freedoom2: Free Doom II/Final Doom-compatible game')
|
||||
'freedoom2: Free Doom II-compatible game')
|
||||
install=crispy-doom.install
|
||||
source=(https://github.com/fabiangreffrath/$pkgname/archive/$pkgname-$pkgver.tar.gz)
|
||||
sha512sums=('8b81f170616597cd284298a1286557138be5e026aca5d7da98a55375265a9fdb14d30daa9a4c7d358dba76f1cc4ec92bba940b434b42dd765f0c588d4a3fd088')
|
||||
source=(https://github.com/fabiangreffrath/$pkgname/archive/$pkgname-$pkgver.tar.gz
|
||||
0001-prevent-crashes-with-simultaneous-use-of-record-and-.patch)
|
||||
b2sums=('63d9a89d6099485c79ff4cad69975de790b32a4ece4bded172ebf771a2bf1b4dcd21ab58383ca3c5eea32a4eff72e65ec0e3a283c85f1bc62be680de04f88e52'
|
||||
'b1e77adf37f22f1ef47b614e27e6158ac7c19bf5b7adfa97a434b04f514a1e5cb7f1f77024a373392c836c5456c87b5bb6f7240566389574392a2e5f05d63d5d')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgname-$pkgver"
|
||||
@@ -42,5 +44,6 @@ package() {
|
||||
|
||||
cd "$pkgdir"/usr
|
||||
rm -rf share/man/man5/default.cfg.5 \
|
||||
share/man/man5/heretic.cfg.5 \
|
||||
share/man/man6/chocolate-{server,setup}.6
|
||||
}
|
||||
|
57
src/daloradius/PKGBUILD
Normal file
57
src/daloradius/PKGBUILD
Normal file
@@ -0,0 +1,57 @@
|
||||
# Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
|
||||
|
||||
### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
|
||||
### Please ask support questions about this software in one of:
|
||||
### 1) The AUR comments; OR
|
||||
### 2) Upstream forums/maillist etc; OR
|
||||
### 3) The ArchLinux forums
|
||||
### I do not always know enough about the software itself, or don't have the
|
||||
### time to promptly respond to direct emails.
|
||||
### If you have found a problem with the package/PKGBUILD (as opposed to
|
||||
### the software) then please do email me or post an AUR comment.
|
||||
|
||||
pkgname=daloradius
|
||||
pkgver=1.1.2
|
||||
_pkgver=1.1-2
|
||||
pkgrel=1
|
||||
pkgdesc="An advanced RADIUS web platform aimed at managing Hotspots and general-purpose ISP deployments."
|
||||
arch=('any')
|
||||
url="http://daloradius.com/"
|
||||
# php-pear is required to install the php 'db' module
|
||||
depends=('php-pear')
|
||||
install="$pkgname.install"
|
||||
license=('GPLv2')
|
||||
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$_pkgver.zip")
|
||||
md5sums=('799213d53fb000ffff16de4d932b848b')
|
||||
|
||||
package() {
|
||||
_INST_DIR="usr/share/webapps/$pkgname"
|
||||
_CONF_DIR="etc/webapps/$pkgname"
|
||||
_DOCS_DIR="usr/share/$pkgname"
|
||||
|
||||
# Install webroot files
|
||||
install -dm755 "$pkgdir"/$_INST_DIR
|
||||
cp -r "$srcdir"/$pkgname/* "$pkgdir"/$_INST_DIR
|
||||
|
||||
# Configuration files
|
||||
mkdir -p "$pkgdir"/$_CONF_DIR
|
||||
mv "$pkgdir"/$_INST_DIR/library/daloradius.conf.php.sample "$pkgdir"/$_CONF_DIR/
|
||||
mv "$pkgdir"/$_INST_DIR/library/daloradius.conf.php "$pkgdir"/$_CONF_DIR/
|
||||
ln -sf /$_CONF_DIR/daloradius.conf.php "$pkgdir"/$_INST_DIR/library/daloradius.conf.php
|
||||
|
||||
# Docs
|
||||
install -dm0755 "$pkgdir"/$_DOCS_DIR/
|
||||
for x in README.md LICENSE FAQS INSTALL INSTALL.quick ; do
|
||||
mv "$pkgdir"/$_INST_DIR/$x "$pkgdir"/$_DOCS_DIR/
|
||||
done
|
||||
|
||||
# Fix permissions
|
||||
chown -R 33:33 "$pkgdir"/$_INST_DIR
|
||||
chmod -R u=rwX,g=rX,o= "$pkgdir"/$_INST_DIR
|
||||
chown -R 33:33 "$pkgdir"/$_CONF_DIR
|
||||
chmod -R u=rwX,g=rX,o= "$pkgdir"/$_CONF_DIR
|
||||
chown -R 0:0 "$pkgdir"/$_DOCS_DIR
|
||||
chmod -R a=rX "$pkgdir"/$_DOCS_DIR
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
4
src/daloradius/daloradius.install
Normal file
4
src/daloradius/daloradius.install
Normal file
@@ -0,0 +1,4 @@
|
||||
post_install() {
|
||||
echo "==> Installing the PHP 'db' module using pear"
|
||||
pear install db
|
||||
}
|
43
src/digimend-drivers-git-dkms/PKGBUILD
Normal file
43
src/digimend-drivers-git-dkms/PKGBUILD
Normal file
@@ -0,0 +1,43 @@
|
||||
# Maintainer: Pietro Carrara <pbcarrara@inf.ufrgs.br>
|
||||
|
||||
pkgname=digimend-drivers-git-dkms
|
||||
pkgver=10.r0.gec5c16d
|
||||
pkgrel=1
|
||||
pkgdesc='Linux kernel modules (DKMS) for non-Wacom USB graphics tablets. Git version.'
|
||||
arch=('any')
|
||||
url='https://digimend.github.io'
|
||||
license=('GPL2')
|
||||
depends=('dkms')
|
||||
optdepends=('xf86-input-wacom: for xorg wacom driver support')
|
||||
makedepends=('git')
|
||||
conflicts=(digimend-kernel-drivers digimend-kernel-drivers-dkms)
|
||||
provides=(digimend-kernel-drivers)
|
||||
|
||||
source=('git+https://github.com/DIGImend/digimend-kernel-drivers.git')
|
||||
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd digimend-kernel-drivers
|
||||
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
package() {
|
||||
cd digimend-kernel-drivers
|
||||
|
||||
# Udev rules
|
||||
install -D -m 0755 hid-rebind "$pkgdir"/etc/udev/rules.d/hid-rebind
|
||||
install -D -m 0644 udev.rules "$pkgdir"/etc/udev/rules.d/90-digimend.rules
|
||||
|
||||
# Use wacom drivers with supported tablets
|
||||
install -D -m 0644 xorg.conf "$pkgdir"/usr/share/X11/xorg.conf.d/50-digimend.conf
|
||||
|
||||
# DKMS config
|
||||
install -Dm644 dkms.conf "$pkgdir"/usr/src/digimend-${pkgver}/dkms.conf
|
||||
|
||||
# Depmod config
|
||||
install -D -m 0644 depmod.conf "$pkgdir"/etc/depmod.d/digimend.conf
|
||||
|
||||
# Add source files to the DKMS tree
|
||||
cp -r ./* "$pkgdir/usr/src/digimend-$pkgver"
|
||||
}
|
@@ -2,13 +2,17 @@
|
||||
# Contributor: svalo <me@valo.space>
|
||||
|
||||
pkgname=dino-git
|
||||
pkgver=r498.3ad2891
|
||||
pkgver=v0.4.0.r0.g5568bbc6
|
||||
pkgrel=1
|
||||
pkgdesc="Simple and modern Jabber/XMPP client written in vala"
|
||||
arch=('i686' 'x86_64' 'aarch64')
|
||||
url="https://github.com/dino/dino"
|
||||
url="https://dino.im/"
|
||||
license=('GPL3')
|
||||
depends=('glib2>=2.38' 'glib-networking' 'gtk3>=3.22' 'gpgme' 'libgee>=0.10' 'libgcrypt' 'libsoup' 'sqlite' 'qrencode')
|
||||
depends=('glib2>=2.38' 'glib-networking' 'gtk4' 'gpgme'
|
||||
'libgee>=0.10' 'libgcrypt' 'libsoup3' 'sqlite' 'qrencode'
|
||||
'libsignal-protocol-c' 'gspell' 'gst-plugins-base'
|
||||
'gst-plugins-good' 'gst-plugin-gtk' 'webrtc-audio-processing'
|
||||
'libnice' 'libsrtp' 'libadwaita')
|
||||
makedepends=('git' 'cmake' 'vala>=0.34' 'ninja')
|
||||
optdepends=('libcanberra: audio notification support')
|
||||
provides=("${pkgname%-git}")
|
||||
@@ -18,22 +22,24 @@ sha512sums=('SKIP')
|
||||
|
||||
### Any or all of the following plugin can be disabled: omemo, openpgp, http-files. Populate following string as per your needs and uncomment it.
|
||||
|
||||
# _DISABLE_PLUGINS="--disable-plugin='omemo;openpgp;http-files'"
|
||||
# _DISABLE_PLUGINS="--disable-plugin='omemo;openpgp;http-files;ice'"
|
||||
|
||||
### Any or all of the following plugin can be enabled: notification-sound. Populate the following string as per you needs and uncomment it.
|
||||
### Install any needed optional dependency before
|
||||
|
||||
#_ENABLE_PLUGINS="--enable-plugin='notification-sound'"
|
||||
|
||||
### Since 55b148a0f78c1abef57c21b2a84d97cad32b2290 dino uses by default the shared libsignal library.
|
||||
# To restore the old behaviour add '--with-libsignal-in-tree' flag to configure
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --prefix="/usr" --with-tests CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
|
||||
sed -i '/SrvRecordsTls/d' libdino/src/service/module_manager.vala
|
||||
./configure $_DISABLE_PLUGINS $_ENABLE_PLUGINS --with-tests --prefix="/usr" CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS"
|
||||
make
|
||||
}
|
||||
|
||||
@@ -46,7 +52,4 @@ check() {
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
echo "Executing xmpp-vala-test:"
|
||||
build/xmpp-vala-test
|
||||
echo
|
||||
echo "Executing signal-protocol-vala-test:"
|
||||
build/signal-protocol-vala-test
|
||||
}
|
||||
|
1
src/displaylink/.gitignore
vendored
1
src/displaylink/.gitignore
vendored
@@ -1,6 +1,7 @@
|
||||
*.swp
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.zst
|
||||
*.zip
|
||||
pkg/
|
||||
src/
|
||||
|
@@ -1,30 +1,36 @@
|
||||
# Maintainer: rHermes <teodor_spaeren@riseup.net>
|
||||
# Maintainer: bnavigator <code@bnavigator.de>
|
||||
# Contributor: PlusMinus
|
||||
# Contributor: rhabbachi
|
||||
|
||||
pkgname=displaylink
|
||||
pkgver=5.2.14
|
||||
pkgver=5.4.1
|
||||
_releasedate=2021-09
|
||||
_pkgfullver=5.4.1-55.174
|
||||
pkgrel=1
|
||||
pkgdesc="Linux driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3x00"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.displaylink.com/downloads/ubuntu.php"
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url=""
|
||||
license=('custom' 'GPL2' 'LGPL2.1')
|
||||
depends=('evdi>=1.5.0' 'libusb>=1.0.0')
|
||||
depends=('evdi>=1.9.1'
|
||||
'libusb>=1.0.0')
|
||||
makedepends=('grep' 'gawk' 'wget')
|
||||
install=
|
||||
changelog="release-note.txt"
|
||||
source=(displaylink-driver-$pkgver.zip::https://www.displaylink.com/downloads/file?id=1369
|
||||
udev.sh
|
||||
changelog="displaylink-release-notes-${pkgver}.txt"
|
||||
source=(displaylink-driver-${pkgver}.zip::https://www.synaptics.com/sites/default/files/exe_files/${_releasedate}/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu${pkgver}-EXE.zip
|
||||
displaylink-release-notes-${pkgver}.txt::https://www.synaptics.com/sites/default/files/release_notes/${_releasedate}/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu${pkgver}-Release%20Notes.txt
|
||||
DISPLAYLINK-EULA
|
||||
udev.sh
|
||||
99-displaylink.rules
|
||||
displaylink.service
|
||||
displaylink-sleep.sh)
|
||||
md5sums=('a96ae6fc0d244ec4f9a8e9482f6c1535'
|
||||
'd5de775e41af06edbd8073adc490139d'
|
||||
'20495d81c7d2540910ef86dc437b7fac'
|
||||
'c141a15e973481c7d961f8e135627ca4'
|
||||
'7cbd9ab2ac79ba66e8297689c6e5483e')
|
||||
|
||||
DLAGENTS=('https::/usr/bin/wget -O %o --post-data=fileId=1369&accept_submit=Accept %u')
|
||||
sha256sums=('0cc71807122d7bcafab422d7b4bd707018a2f28005bce4fae9f585f4e5e63aae'
|
||||
'895a2100cdebf217f43873761554cd179e9eaa498649c9eb68f1f007797fbf83'
|
||||
'2f81fea43332a62b2cf1dd47e56ea01caf1e886bcd16c3f82b18bfe148fb21a9'
|
||||
'dc41ae8a2c287fc50fdda65bad8b0ffd76726f7773c25e1b0c5b7de95cecbdb6'
|
||||
'c08a4726cf4e2f92c7cab00168ae9cc8d69d36a67c570609396a4a674934245a'
|
||||
'342e83abfe2a38d5635ea928345e933d2ad127ebd3f7caca476663d4f583684b'
|
||||
'8be4ab7616e38f91746bdd3e7fafe9004322a8be8e6722389746df9868d576e0')
|
||||
|
||||
# Update with > updpkgsums
|
||||
|
||||
@@ -42,33 +48,35 @@ package() {
|
||||
install -d -m755 "$pkgdir/var/log/displaylink"
|
||||
|
||||
echo "Extracting DisplayLink Driver Package"
|
||||
cd $srcdir
|
||||
chmod +x displaylink-driver-$pkgver.run
|
||||
./displaylink-driver-$pkgver.run --target $pkgname-$pkgver --noexec
|
||||
cd "$pkgname-$pkgver"
|
||||
pushd $srcdir
|
||||
chmod +x displaylink-driver-${_pkgfullver}.run
|
||||
./displaylink-driver-${_pkgfullver}.run \
|
||||
--noexec \
|
||||
--target $pkgname-$pkgver \
|
||||
--nox11 \
|
||||
--noprogress
|
||||
test -d $pkgname-$pkgver || (echo "Extracting the driver with the .run installer failed"; exit 1)
|
||||
pushd $pkgname-$pkgver
|
||||
|
||||
if [ "$CARCH" == "i686" ]; then
|
||||
ARCH="x86"
|
||||
elif [ "$CARCH" == "x86_64" ]; then
|
||||
ARCH="x64"
|
||||
fi
|
||||
|
||||
ARCH+="-ubuntu-1604"
|
||||
case $CARCH in
|
||||
i686)
|
||||
ARCH="x86-ubuntu-1604" ;;
|
||||
x86_64)
|
||||
ARCH="x64-ubuntu-1604" ;;
|
||||
arm|armv6h|armv7h|aarch64)
|
||||
ARCH="arm-linux-gnueabihf" ;;
|
||||
esac
|
||||
|
||||
echo "Installing DisplayLink Manager $ARCH"
|
||||
install -D -m755 $ARCH/DisplayLinkManager $COREDIR/DisplayLinkManager
|
||||
|
||||
# I wonder if this is even necessary but I'm too lazy to find out
|
||||
echo "Creating symlinks for evdi and libusb"
|
||||
ln -s $(ldconfig -p | grep libevdi | awk 'NR==1{print $4}') $COREDIR/libevdi.so
|
||||
|
||||
ln -s $(ldconfig -p | grep libusb- | awk 'NR==1{print $4}') $COREDIR/libusb-1.0.so.0.1.0
|
||||
ln -s $(ldconfig -p | grep libusb- | awk 'NR==1{print $4}') $COREDIR/libusb-1.0.so.0
|
||||
ln -s $(ldconfig -p | grep libusb- | awk 'NR==1{print $4}') $COREDIR/libusb-1.0.so
|
||||
|
||||
echo "Installing firmware packages"
|
||||
install -D -m644 *.spkg $COREDIR
|
||||
|
||||
echo "Installing license file"
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
popd
|
||||
popd
|
||||
install -D -m644 DISPLAYLINK-EULA "${pkgdir}/usr/share/licenses/${pkgname}/DISPLAYLINK-EULA"
|
||||
|
||||
}
|
||||
|
@@ -1,112 +0,0 @@
|
||||
=============================================================================
|
||||
=============================================================================
|
||||
|
||||
DisplayLink Ubuntu Software Release Note
|
||||
|
||||
Version: 4.2.29
|
||||
Date: 23th Feb 2018
|
||||
|
||||
DisplayLink DL-3xx0 / DL-5xx0 Firmware Version: 9.5.18.93117
|
||||
DisplayLink DL-41xx Firmware Version: 9.5.20.93215
|
||||
DisplayLink DL-6xxx Firmware Version: 9.5.18.93117
|
||||
Extensible Virtual Display Interface version included: 1.5.0-r2
|
||||
|
||||
=============================================================================
|
||||
=============================================================================
|
||||
|
||||
|
||||
A. Introduction
|
||||
===============
|
||||
|
||||
This is DisplayLink Driver Software 4.2.0 for Ubuntu. It provides production quality support for DisplayLink USB 3.0 devices on specific variants of desktop Ubuntu Linux.
|
||||
|
||||
The driver enables video support for products using DisplayLink USB 3.0 technology. Standard native Ubuntu drivers provide support for DisplayLink audio and Ethernet interfaces.
|
||||
|
||||
|
||||
A1. Important notes about DL-6xxx, DL5xxx, DL-3x00 and DL-41xx Firmware
|
||||
=======================================================================
|
||||
|
||||
This software release contains an embedded firmware image. DL-6xxx, DL-5xxx, DL-3xxx and DL-41xx devices will be automatically upgraded with this firmware upon connection if required.
|
||||
|
||||
The upgrade is silent, therefore screens connected to DL-6xxx, DL-5xxx, DL-3xxx or DL-41xx devices may require a few seconds to appear when devices are connected for the first time, or after devices have been used on other platforms and OSes.
|
||||
|
||||
B. Contents
|
||||
===========
|
||||
|
||||
A. Introduction
|
||||
A1. Important notes about DL-6xxx, DL-5xxx, DL-3xxx and DL-41xx Firmware
|
||||
B. Contents
|
||||
C. Issues fixed
|
||||
D. Supported O/S variants
|
||||
E. Release components
|
||||
F. How to Install
|
||||
G. Supported Features & Hardware
|
||||
H. Limitations & Known issues
|
||||
I. Future Development
|
||||
|
||||
C. Issues fixed
|
||||
===============
|
||||
|
||||
Issues fixed since DisplayLink Driver Software v4.1.0 for Ubuntu (4.1.9)
|
||||
--------------------------------------------------------------------------
|
||||
|
||||
Sometimes PC may become unresponsive when a DisplayLink display is connected. (27139)
|
||||
|
||||
D. Supported O/S variants
|
||||
=========================
|
||||
|
||||
This release has been prepared to be compatible with Ubuntu 17.10 and Ubuntu 16.04. Other variants and editions may be compatible if they meet minimum O/S requirements, but are not supported by DisplayLink.
|
||||
|
||||
The Software contains binaries which work on Intel x86 platform (32 bit and 64 bit).
|
||||
Minimum supported Linux Kernel version is 3.16.
|
||||
Minimum supported Xorg version is 1.16.
|
||||
|
||||
E. Release components
|
||||
=====================
|
||||
The Software consists of an open-source kernel mode driver (EVDI) with an accompanying library (libevdi), and a supporting binary application compatible with Intel x86 platform.
|
||||
Source code for the open-source components can be found at DisplayLink's GitHub, https://github.com/DisplayLink
|
||||
|
||||
F. How to Install
|
||||
=================
|
||||
|
||||
To install the release, from a terminal window, with root permissions use the command:
|
||||
|
||||
sudo ./displaylink-driver-XXXX.run
|
||||
|
||||
Where displaylink-driver-XXXX.run is the name of the extracted DisplayLink driver.
|
||||
|
||||
The dkms framework is required for installation of DisplayLink. This can be installed with the command: sudo apt-get install dkms
|
||||
|
||||
More detailed information on installation can be found at http://support.displaylink.com/knowledgebase/articles/615714#ubuntu
|
||||
|
||||
G. Supported Features & Hardware
|
||||
================================
|
||||
|
||||
This driver will support up to 2 displays connected to DisplayLink devices. More than 2 DisplayLink displays may work, but not supported or tested by DisplayLink.
|
||||
|
||||
Resolutions up to 4K are supported on the appropriate DisplayLink hardware.
|
||||
|
||||
Device families supported:
|
||||
- DL-6xxx
|
||||
- DL-5xxx
|
||||
- DL-41xx
|
||||
- DL-3xxx
|
||||
|
||||
DL-1x5 and DL-1x0 devices use the open source udl driver, which is not developed or maintained by DisplayLink.
|
||||
|
||||
H. Limitations & Known issues
|
||||
=============================
|
||||
|
||||
A list of limitations and known issues can be found here:
|
||||
http://support.displaylink.com/knowledgebase/articles/641668
|
||||
|
||||
I. Future Development
|
||||
======================
|
||||
|
||||
DisplayLink are open to suggestions and feedback on improving the proposed architecture and will gladly review patches or proposals from the developer community. Please find a current list of areas we identify as requiring attention below.
|
||||
|
||||
- In this release, the user mode driver service is running with root permissions. In future versions, we would like to reduce the privilege level required for this process – e.g. by using a separate low-privileged user and a separate group, to ensure the permissions needed for driving DisplayLink screens are as low as possible.
|
||||
|
||||
- The communication between the EVDI kernel module and the wrapper libevdi library is not access-controlled or authenticated. This could be improved in future releases, making it harder to compromise the data EVDI is sending and receiving.
|
||||
|
||||
- EVDI kernel module driver is currently a platform_driver, for multiple reasons; most importantly because virtual displays are not discoverable, i.e. cannot be enumerated at the hardware level. EVDI is also a generic device, not tied to any particular kind of device, transport layer or a bus.
|
53
src/doomsday/PKGBUILD
Normal file
53
src/doomsday/PKGBUILD
Normal file
@@ -0,0 +1,53 @@
|
||||
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
|
||||
# Contributor: Elrond46 <elrond94 lol com>
|
||||
# Contributor: Zohar Malamant <dotfloat gmail com>
|
||||
# Contributor: Arkham <arkham at archlinux dot us>
|
||||
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
|
||||
# Contributor: Dmitry Shilov <stormblast@land.ru>
|
||||
|
||||
pkgname=doomsday
|
||||
pkgver=2.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="An advanced Doom engine that supports DOOM, Heretic and Hexen."
|
||||
url="http://dengine.net/"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL2')
|
||||
conflicts=('doomsday-bin')
|
||||
provides=('assimp')
|
||||
depends=('hicolor-icon-theme' 'qt5-x11extras' 'sdl2_mixer' 'fluidsynth' 'lib32-fluidsynth' 'openal' 'libxrandr' 'minizip')
|
||||
makedepends=('imagemagick' 'cmake' 'xorg-server-devel' 'assimp' 'python')
|
||||
optdepends=('doom1-wad: Doom shareware',
|
||||
'heretic1-wad: Heretic shareware',
|
||||
'hexen1-wad: Hexen shareware'
|
||||
'soundfont-fluid')
|
||||
source=("http://files.dengine.net/archive/doomsday-$pkgver.tar.gz")
|
||||
sha256sums=('116dad77943658097183a0b7ddb92a3354fb3c6996cddfc0517da1b15ce0e806')
|
||||
|
||||
build() {
|
||||
|
||||
# Enter build directory
|
||||
cd $srcdir/$pkgname-$pkgver/$pkgname
|
||||
|
||||
# Generate makefiles using qmake
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$pkgname-$pkgver/$pkgname/build
|
||||
make install DESTDIR="$pkgdir"
|
||||
|
||||
# Delete the contents of /usr/include/assimp as this package already provides it
|
||||
rm -r $pkgdir/usr/include/assimp
|
||||
|
||||
# Look for WADs in /usr/share/games/doom by default
|
||||
mkdir -p "${pkgdir}/etc/doomsday"
|
||||
echo "iwaddir: /usr/share/games/doom" > "${pkgdir}/etc/doomsday/paths"
|
||||
# For Music
|
||||
echo "Do not forget to start fluidsynth service after adding your soundfonts to etc/conf.d/fluidsynth (SOUND_FONT line) if you want to use fluidsynth music output"
|
||||
}
|
||||
|
||||
|
27
src/electrs/PKGBUILD
Normal file
27
src/electrs/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
pkgname=electrs
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="An efficient re-implementation of Electrum Server in Rust"
|
||||
arch=(x86_64)
|
||||
url="https://github.com/romanz/electrs"
|
||||
license=('MIT')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('git' 'clang' 'cmake' 'rust')
|
||||
source=("git+https://github.com/romanz/electrs.git#tag=v$pkgver")
|
||||
md5sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname"
|
||||
cargo test --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
install -Dm755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
@@ -6,7 +6,7 @@ pkgname=emulationstation-git
|
||||
_gitname=EmulationStation
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgver=2.4.1.r433.g723b17ae
|
||||
pkgver=2.4.1.r435.ge6660475
|
||||
pkgdesc="A graphical front-end for emulators with controller navigation. Developed for the Raspbery Pi, but runs on most Linux systems."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://github.com/RetroPie/EmulationStation"
|
||||
|
46
src/emulationstation/PKGBUILD
Normal file
46
src/emulationstation/PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
# Maintainer: Guillaume Hayot <ghayot@postblue.info>
|
||||
pkgname=emulationstation
|
||||
_gitname=EmulationStation
|
||||
pkgver=2.7.6
|
||||
pkgrel=1
|
||||
pkgdesc="Emulation Station is a flexible emulator front-end supporting keyboardless navigation and custom system themes."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://github.com/RetroPie/EmulationStation"
|
||||
license=('MIT')
|
||||
install=emulationstation.install
|
||||
depends=('vlc' 'alsa-lib' 'sdl2' 'boost-libs' 'freeimage' 'curl' 'libraw')
|
||||
makedepends=('cmake' 'boost' 'freetype2' 'eigen' 'curl' 'git')
|
||||
optdepends=('ttf-droid: Fallback fonts for Chinese/Japanese/Korean characters'
|
||||
'dolphin-emu: GameCube and Wii support'
|
||||
'mupen64plus: Nintendo 64 support'
|
||||
'mednafen: NES and GBA support'
|
||||
'zsnes: SNES support'
|
||||
'stella: Atari 2600 support'
|
||||
'ppsspp-headless: PSP support'
|
||||
'steam: Steam support')
|
||||
conflicts=(emulationstation-git)
|
||||
source=("https://github.com/RetroPie/$_gitname/archive/v$pkgver.tar.gz"
|
||||
"emulationstation.desktop"
|
||||
"emulationstation.png")
|
||||
sha256sums=('f56b4301ddd97beb990aed387d34e021ea1df6a2f1256cf361cf2bcefd1b6247'
|
||||
'5564803e0a82e132ab507b9cd341b32d1ce5b8be527996fbe13607d90f1dde2c'
|
||||
'ac589d9da5c258226f8de76e99afe2b07ac86030ced90d284d31b51193057f9c')
|
||||
|
||||
prepare() {
|
||||
cd "$_gitname-$pkgver"
|
||||
rm -rf external/pugixml
|
||||
git clone https://github.com/zeux/pugixml.git external/pugixml
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_gitname-$pkgver"
|
||||
cmake .
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir/$_gitname-$pkgver/emulationstation" "$pkgdir/usr/bin/emulationstation"
|
||||
install -Dm644 "$srcdir/$_gitname-$pkgver/LICENSE.md" "$pkgdir/usr/share/licenses/emulationstation/LICENSE"
|
||||
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
|
||||
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
}
|
25
src/emulationstation/emulationstation.desktop
Normal file
25
src/emulationstation/emulationstation.desktop
Normal file
@@ -0,0 +1,25 @@
|
||||
[Desktop Entry]
|
||||
Name=EmulationStation
|
||||
GenericName=EmulationStation
|
||||
Comment=Front-end for emulators
|
||||
Exec=emulationstation
|
||||
Icon=emulationstation.svg
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
Categories=Game;Emulator;
|
||||
|
||||
[Desktop Action Windowed]
|
||||
Name=Open as window
|
||||
Exec=emulationstation --windowed
|
||||
OnlyShowIn=Unity;GNOME;
|
||||
|
||||
[Desktop Action NoExit]
|
||||
Name=Don't display exit button
|
||||
Exec=emulationstation --no-exit
|
||||
OnlyShowIn=Unity;GNOME;
|
||||
|
||||
[Desktop Action Vsync off]
|
||||
Name=Open in standalone mode
|
||||
Exec=emulationstation -vsync 0
|
||||
OnlyShowIn=Unity;GNOME;
|
11
src/emulationstation/emulationstation.install
Normal file
11
src/emulationstation/emulationstation.install
Normal file
@@ -0,0 +1,11 @@
|
||||
post_install() {
|
||||
echo "An example systems configuration file will be created at ~/.emulationstation/es_systems.cfg on first run."
|
||||
echo "See https://github.com/RetroPie/EmulationStation/blob/master/SYSTEMS.md on how to tell EmulationStation"
|
||||
echo "what systems you have, what platform they correspond to (for scraping), and where the games are located."
|
||||
echo ""
|
||||
echo "See https://github.com/RetroPie/EmulationStation#writing-an-es_systemscfg for a configuration file example."
|
||||
echo ""
|
||||
echo "Default theme is quite ugly, you can clone one like https://github.com/RetroPie/es-theme-carbon"
|
||||
echo "in ~/.emulationstation/themes/{theme name} and select it in the settings."
|
||||
echo "See https://github.com/RetroPie/EmulationStation/blob/master/THEMES.md for documentation."
|
||||
}
|
BIN
src/emulationstation/emulationstation.png
Normal file
BIN
src/emulationstation/emulationstation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
@@ -3,71 +3,85 @@
|
||||
|
||||
# Tested with Kernel 4.16, Dell D3000 SuperSpeed USB 3.0 Docking Station, 17e9:4318 DisplayLink
|
||||
|
||||
set -u
|
||||
pkgname='evdi-git'
|
||||
pkgver=1.6.2.r2.g75536ec
|
||||
pkgver=1.9.1.r48.gd6b2841
|
||||
_pkgver="${pkgver%%.r*}"
|
||||
pkgrel=1
|
||||
pkgdesc='kernel module that enables management of multiple screens, primarily for DisplayLink USB VGA DVI HDMI DisplayPort video'
|
||||
pkgdesc+=' git version.'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/DisplayLink/evdi'
|
||||
license=('GPL')
|
||||
depends=('dkms')
|
||||
makedepends=('git' 'libdrm')
|
||||
makedepends+=('linux-headers')
|
||||
provides=("evdi=${_pkgver}")
|
||||
conflicts=('evdi')
|
||||
install=${pkgname}.install
|
||||
changelog="${pkgname}.Changelog"
|
||||
_srcdir="${pkgname%-git}"
|
||||
source=(
|
||||
'git+https://github.com/DisplayLink/evdi/'
|
||||
'relro.patch'
|
||||
'git+https://github.com/DisplayLink/evdi'
|
||||
)
|
||||
md5sums=('SKIP'
|
||||
'05e64dd295a66c030139d0c8f6f7013b')
|
||||
sha256sums=('SKIP'
|
||||
'ff03b5a804af826e6b0678cd4d821b5ecd2c5bf04ea7c465751f83b28e928786')
|
||||
source[0]+='#branch=devel'
|
||||
md5sums=('SKIP')
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
set -u
|
||||
cd "${_srcdir}"
|
||||
git describe --long --tags | sed -e 's/^v//' -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g'
|
||||
set +u
|
||||
local _modver _rev
|
||||
#_modver="$(awk -F '=' '/MODVER=/ {print $2}' module/Makefile)"
|
||||
_rev="$(git describe --long --tags | sed -e 's/^v//' -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g')"
|
||||
if [ -z "${_modver:-}" ]; then
|
||||
printf '%s\n' "${_rev}"
|
||||
else
|
||||
printf '%s.r%s\n' "${_modver}" "${_rev##*.r}"
|
||||
fi
|
||||
}
|
||||
|
||||
prepare() {
|
||||
set -u
|
||||
cd "${_srcdir}"
|
||||
local _src
|
||||
for _src in "${source[@]}"; do
|
||||
_src="${_src%%::*}"
|
||||
for _src in "${source[@]%%::*}"; do
|
||||
_src="${_src##*/}"
|
||||
if [[ "${_src}" = *.patch ]]; then
|
||||
msg2 "Patch ${_src}"
|
||||
patch -Np1 -i "../${_src}"
|
||||
fi
|
||||
done
|
||||
set +u
|
||||
|
||||
# Fix build for kernel 5.4
|
||||
#sed -E -e 's:SUBDIRS=([^ ]+) :M=\1 &:g' -i 'module/Makefile'
|
||||
|
||||
sed -e 's:-Werror::g' -i 'Makefile'
|
||||
}
|
||||
|
||||
build() {
|
||||
set -u
|
||||
# We only need to build the library in this step, dmks will build the module
|
||||
#cd "${_srcdir}/library"
|
||||
# DKMS builds are hard to debug. We build it here and throw it away.
|
||||
cd "${_srcdir}"
|
||||
# DKMS builds are hard to debug. We can build it here to debug the errors.
|
||||
if :; then
|
||||
# We only need to build the library in this step, dmks will build the module
|
||||
cd 'library'
|
||||
fi
|
||||
CFLAGS="${CFLAGS/-fno-plt/}"
|
||||
make
|
||||
set +u
|
||||
}
|
||||
|
||||
package() {
|
||||
set -u
|
||||
cd "${_srcdir}"
|
||||
install -Dpm755 "library/lib${pkgname%-git}.so" -t "${pkgdir}/usr/lib/"
|
||||
install -Dpm755 "library/lib${pkgname%-git}.so"* -t "${pkgdir}/usr/lib/"
|
||||
|
||||
pushd "${pkgdir}/usr/lib/" > /dev/null
|
||||
local _libs=(*.so.*)
|
||||
if [ "${#_libs[@]}" -ne 1 ]; then
|
||||
echo "Too many libs"
|
||||
false
|
||||
fi
|
||||
_libs="${_libs[0]}"
|
||||
local _libase="${_libs%.so*}.so"
|
||||
ln -sf "${_libs}" "${_libase}"
|
||||
ln -sf "${_libs}" "${_libase}.0" # bad soname
|
||||
popd > /dev/null
|
||||
|
||||
local _DKMS="${pkgdir}/usr/src/${pkgname%-git}-${_pkgver}"
|
||||
install -Dpm644 module/* -t "${_DKMS}/"
|
||||
make -j1 -C "${_DKMS}" clean
|
||||
set +u
|
||||
rm -f "${_DKMS}/evdi.mod"
|
||||
}
|
||||
set +u
|
||||
|
@@ -1,12 +0,0 @@
|
||||
v1.3.43
|
||||
Adding support for indicating an area limit a client that connects to EVDI has.
|
||||
|
||||
v1.3.42
|
||||
Fixes for Kernels 4.9 and 4.10.
|
||||
API change: Extension of evdi_connect function, allowing to register modes that the client supports, regardless of the fact they are not necessarily listed in the EDID of a monitor.
|
||||
|
||||
v1.2.64
|
||||
Highlights: fixes for kernel 4.8.
|
||||
|
||||
v1.2.55
|
||||
Module and library code to be included in DisplayLink USB Graphics Software for Ubuntu, version 1.2.
|
@@ -1,21 +0,0 @@
|
||||
# old version (without -$pkgrel): ${1%%-*}
|
||||
# new version (without -$pkgrel): ${2%%-*}
|
||||
|
||||
post_install() {
|
||||
cat << EOF
|
||||
Steps:
|
||||
|
||||
0. Install this package
|
||||
|
||||
1. Install display driver package
|
||||
|
||||
2. Reboot or
|
||||
|
||||
2a. sudo modprobe evdi
|
||||
2b. dmesg -w # watch for evdi messages
|
||||
2c. Replug USB display device
|
||||
|
||||
3. Enable screen
|
||||
EOF
|
||||
}
|
||||
|
1
src/evdi/.gitignore
vendored
1
src/evdi/.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tar.zst
|
||||
pkg/
|
||||
src/
|
||||
|
@@ -1,15 +1,15 @@
|
||||
# Maintainer: mwawrzyniak
|
||||
# Maintainer: mwawrzyniak <arch at cmstactical dot net>
|
||||
# Contributor: PlusMinus
|
||||
|
||||
pkgname=evdi
|
||||
pkgver=1.6.2
|
||||
pkgver=1.9.1
|
||||
pkgrel=1
|
||||
pkgdesc="A Linux® kernel module that enables management of multiple screens."
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/DisplayLink/evdi"
|
||||
license=('GPL')
|
||||
groups=()
|
||||
depends=(dkms libdrm)
|
||||
depends=(glibc dkms libdrm)
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
provides=()
|
||||
@@ -19,11 +19,9 @@ backup=()
|
||||
options=()
|
||||
install=$pkgname.install
|
||||
changelog=$pkgname.Changelog
|
||||
source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz
|
||||
relro.patch)
|
||||
source=($pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/DisplayLink/evdi/archive/v$pkgver.tar.gz)
|
||||
noextract=()
|
||||
md5sums=('11e968a27f2432d2c50738976b7f847f'
|
||||
'05e64dd295a66c030139d0c8f6f7013b')
|
||||
md5sums=('e56d5acf08d67706e297a9a8c09e0a20')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
@@ -1,3 +1,28 @@
|
||||
v1.9.1
|
||||
- Add support for 5.11 and 5.12 kernels
|
||||
|
||||
v1.9.0
|
||||
- Fix evdi build on v5.10 kernel
|
||||
|
||||
v1.7.2
|
||||
- Add support for kernel 5.9 and 5.10
|
||||
|
||||
v1.8.0
|
||||
- add i2c adapter when creating an EVDI node
|
||||
|
||||
v1.7.0
|
||||
- support for kernels 5.3, 5.4, 5.5, 5.6
|
||||
- drop support for kernels pre-4.15
|
||||
- various crashes fixes
|
||||
- per card hardware cursor option
|
||||
- install/uninstall targets in Makefiles
|
||||
|
||||
v1.6.4
|
||||
- Retry drop drm master when previous attempt failed
|
||||
|
||||
v1.6.3
|
||||
- reset IOCTL on EAGAIN and EINTR
|
||||
|
||||
v1.6.2
|
||||
- support for 5.2 kernel
|
||||
- Intel-IOMMU workaround
|
||||
|
32
src/f3/PKGBUILD
Normal file
32
src/f3/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Kaio Augusto <kaioaugusto.8@gmail.com>
|
||||
# Contributor: Kyle <kyle@free2.ml>
|
||||
# Contributor: mib1982 <Mi.Bentlage@gmail.com>
|
||||
# Contributor: z3ntu <luca.emanuel.weiss@gmail.com>
|
||||
|
||||
pkgname=f3
|
||||
pkgver=7.2
|
||||
pkgrel=1
|
||||
pkgdesc="Utilities to detect and repair counterfeit flash storage, i.e. thumb drives and memory cards with less flash than advertised"
|
||||
arch=('armv7h' 'aarch64' 'i686' 'x86_64')
|
||||
url="http://oss.digirati.com.br/f3/"
|
||||
license=('GPL3')
|
||||
depends=('parted')
|
||||
options=('!buildflags'
|
||||
'!makeflags')
|
||||
conflicts=()
|
||||
provides=()
|
||||
source=(https://github.com/AltraMayor/${pkgname}/archive/v${pkgver}.zip)
|
||||
md5sums=('23026d5463e9ec2b36a00a42ec8f0d5f')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
sed -i -e 's:/usr/local:/usr:g' Makefile
|
||||
make
|
||||
make extra
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=$pkgdir install
|
||||
make DESTDIR=$pkgdir install-extra
|
||||
}
|
@@ -1,52 +0,0 @@
|
||||
# Source: http://www.factorio.com/terms-of-service
|
||||
|
||||
Terms of Service
|
||||
|
||||
The basic rule is: Use common sense. We try to be reasonable, please be too.
|
||||
The Game
|
||||
|
||||
Factorio is in an alpha stage of the development. That means it is an unfinished product so it may contain bugs and unfinished features.
|
||||
The game is still evolving and is subject to changes in the future.
|
||||
We are not liable for any damage that might be caused to you by downloading, installing and using our software.
|
||||
Especially we are not responsible if you stay awake all night long playing Factorio and can't go to school / work in the morning:)
|
||||
You download, install and use Factorio at your own risk.
|
||||
There's always the possibility of a project being discontinued at any time.
|
||||
|
||||
Paid content
|
||||
|
||||
Factorio demo is available to anyone free of charge.
|
||||
All the content listed on our preorder page is paid. This includes, but is not limited to the alpha version of the game, the wallpapers, the scenario packs, the concept art book, etc.
|
||||
You get access to our paid content by buying the appropriate type of the account.
|
||||
Possesion of the account entitles you to all the updates to the digital content associated with this account for free in the future. For instance the lowest tier membership (Transport Belt Repair Man) will receive all the updates to the core game itself in the future.
|
||||
The contents and the price of particular tiers are subject to change in the future. We reserve the right to change the tier prices and add content when we feel it is appropriate.
|
||||
|
||||
Purchase and Refunds
|
||||
|
||||
After the purchase you will receive an electronic invoice from our payment processing service.
|
||||
After the purchase you will also receive a confirmation email from us with the upgrade code to your new tier and instructions on how to use it.
|
||||
There are no additional or hidden fees. You pay once for the product (the membership tier) and that is it.
|
||||
If you would like to cancel the purchase (i.e. when the game is not working) then please contact us by email at support@factorio.com.
|
||||
|
||||
Intellectual Property and Sharing
|
||||
|
||||
You may use Factorio and other paid content for your own personal use.
|
||||
All the content in the game is owned by us. This includes the user provided content that makes it into the game as well (for instance namely translations).
|
||||
Don't sell, copy, transfer or distribute the game, its hacked / altered version, any of its parts or any of our paid content.
|
||||
Ask us for approval to use the game, any of its parts or any materials on our website for any commercial purpose.
|
||||
We encourage users to mod the game within the reasonable boundaries. This includes writing own Lua levels, creating own texture packs, changing properties in the JSON files, etc.
|
||||
|
||||
Use of service
|
||||
|
||||
Children may use an account established by their parent or legal guardian with the approval of such a person.
|
||||
The game doesn't contain explicit violence and we believe it is appropriate for children from 12 years.
|
||||
If you wish to cancel your account please send us an email to support@factorio.com.
|
||||
We reserve the right to suspend accounts of users that will clearly violate the terms of service or our privacy policy. In such a case we will first try to resolve the situation by communicating with the user. Suspending the account is the last resort.
|
||||
|
||||
Other
|
||||
|
||||
Don't do anything that could harm the development of the game or its distribution.
|
||||
The materials appearing on Factorio's website may include technical or typographical errors. We don't warrant that any of the materials on its website are complete, accurate or current
|
||||
There are couple of places where you can share ideas and opinions with other players (our Forum, Twitter, Facebook page). Please behave there appropriately and don’t do anything that gets us into troubles.
|
||||
In case of legal dispute, the governing laws of the Czech Republic will apply.
|
||||
|
||||
We reserve the right to update these terms at any point in time with immediate effect. Last update was on 8th of April 2014.
|
@@ -1,38 +0,0 @@
|
||||
# Maintainer: mickael9 <mickael9@gmail.com>
|
||||
# Contributor: Sebastien Duthil <duthils@free.fr>
|
||||
|
||||
pkgname=factorio-demo
|
||||
pkgver=0.16.51
|
||||
pkgrel=1
|
||||
pkgdesc="A 2D game about building and maintaining factories."
|
||||
arch=('x86_64')
|
||||
url="http://www.factorio.com/"
|
||||
license=('custom: commercial')
|
||||
depends=('libxcursor' 'alsa-lib' 'libxrandr' 'libxinerama' 'mesa')
|
||||
conflicts=('factorio' 'factorio-headless' 'factorio-experimental')
|
||||
makedepends=('xz')
|
||||
source=(factorio.desktop
|
||||
LICENSE
|
||||
factorio_demo_x64_${pkgver}.tar.xz::http://www.factorio.com/get-download/${pkgver}/demo/linux64
|
||||
)
|
||||
sha256sums=('c3bbe51c3c35641d6064ff0f8470294f8a317f0413bb149f6bd47461b03804bf'
|
||||
'67ec2f88afff5d7e0ca5fd3301b5d98655269c161a394368fa0ec49fbc0c0e21'
|
||||
'ca58a5cb40f7e8b3b741bc8f9ab9d587ca0cda930d6799fd45cd9f91d00fc67d')
|
||||
|
||||
# no modifications needed, the executable looks for:
|
||||
# - data in /usr/share/factorio
|
||||
# - config in ~/.factorio
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/factorio"
|
||||
|
||||
install -d "${pkgdir}/usr/bin"
|
||||
install -d "${pkgdir}/usr/share/applications"
|
||||
install -d "${pkgdir}/usr/share/factorio"
|
||||
install -d "${pkgdir}/usr/share/licenses/factorio-demo"
|
||||
|
||||
install -m755 "bin/x64/factorio" "${pkgdir}/usr/bin/factorio"
|
||||
cp -r data/* "${pkgdir}/usr/share/factorio"
|
||||
install -m644 "${srcdir}/factorio.desktop" "${pkgdir}/usr/share/applications/factorio.desktop"
|
||||
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/factorio-demo/LICENSE"
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Factorio (demo)
|
||||
GenericName=Factorio
|
||||
Comment=A 2D game about building and maintaining factories.
|
||||
Exec=factorio
|
||||
Icon=/usr/share/factorio/core/graphics/factorio.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;
|
25
src/ffmpegfs/PKGBUILD
Normal file
25
src/ffmpegfs/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Willem Mulder <14mRh4X0r@gmail.com>
|
||||
pkgname=ffmpegfs
|
||||
pkgver=2.0
|
||||
pkgrel=1
|
||||
pkgdesc="FUSE-based transcoding filesystem with video support from many formats to MP4, WebM, OGG, MP3, OPUS, MOV, ProRes or WAV."
|
||||
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') # Not arch-specific, should work on all
|
||||
url="https://nschlia.github.io/ffmpegfs/"
|
||||
license=('GPL3' 'FDL1.3')
|
||||
makedepends=('asciidoc' 'w3m' 'xxd')
|
||||
depends=('fuse' 'ffmpeg' 'sqlite' 'libbluray' 'libdvdread')
|
||||
source=("https://github.com/nschlia/ffmpegfs/releases/download/v$pkgver/ffmpegfs-$pkgver.tar.gz")
|
||||
sha384sums=('e97a4e030e426c4b5a2bff030ac0b8a45f1d6dade0dcfe456a06ee3d3b9c3f2568ffc2c83131ce6f8c884f1012a5a5e4')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
install -Dm644 README.md "$pkgdir/usr/share/doc/ffmpegfs/README.md"
|
||||
}
|
78
src/fish-git/PKGBUILD
Normal file
78
src/fish-git/PKGBUILD
Normal file
@@ -0,0 +1,78 @@
|
||||
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
|
||||
# Contributor: Eric Belanger <eric@archlinux.org>
|
||||
# Contributor: Jan Fader <jan.fader@web.de>
|
||||
# Contributor: Stephen Drodge <stephen.drodge@gmail.com>
|
||||
# Contributor: Akatsuki Rui <aur@akii.work>
|
||||
# Maintainer: SanskritFritz (gmail)
|
||||
|
||||
pkgname=fish-git
|
||||
_gitname="fish-shell"
|
||||
pkgver=3.7.1.r2517.g31b15405e
|
||||
pkgrel=1
|
||||
epoch=2
|
||||
pkgdesc="User friendly shell intended mostly for interactive use."
|
||||
arch=('i686' 'x86_64' 'arm')
|
||||
url="https://github.com/fish-shell/fish-shell"
|
||||
license=('GPL-2.0-or-later')
|
||||
depends=(
|
||||
'glibc'
|
||||
'ncurses'
|
||||
'pcre2'
|
||||
)
|
||||
optdepends=(
|
||||
'python: man page completion parser / web config tool'
|
||||
'pkgfile: command-not-found hook'
|
||||
)
|
||||
makedepends=(
|
||||
'cargo'
|
||||
'cmake'
|
||||
'git'
|
||||
'python-sphinx'
|
||||
)
|
||||
checkdepends=(
|
||||
'expect'
|
||||
'procps-ng'
|
||||
)
|
||||
options=(!lto)
|
||||
provides=(
|
||||
'fish'
|
||||
'fish-shell'
|
||||
)
|
||||
conflicts=(
|
||||
'fish'
|
||||
'fish-shell'
|
||||
)
|
||||
source=(
|
||||
"git+https://github.com/fish-shell/fish-shell.git"
|
||||
)
|
||||
install='fish.install'
|
||||
backup=(etc/fish/config.fish)
|
||||
b2sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$_gitname"
|
||||
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_gitname"
|
||||
export CXXFLAGS+=" ${CPPFLAGS}"
|
||||
cmake \
|
||||
-B build \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
||||
-DBUILD_DOCS=True \
|
||||
-Wno-dev
|
||||
make -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_gitname"
|
||||
make -C build test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_gitname"
|
||||
make -C build DESTDIR="$pkgdir" install
|
||||
}
|
14
src/fish-git/fish.install
Normal file
14
src/fish-git/fish.install
Normal file
@@ -0,0 +1,14 @@
|
||||
post_install() {
|
||||
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
|
||||
grep -qe '^/bin/fish$' etc/shells || echo '/bin/fish' >> etc/shells
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
sed -ri -e '\|^/usr/bin/fish$|d' -e '\|^/bin/fish$|d' etc/shells
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
46
src/flacon/PKGBUILD
Normal file
46
src/flacon/PKGBUILD
Normal file
@@ -0,0 +1,46 @@
|
||||
# Maintainer: ValHue <vhuelamo at gmail dot com>
|
||||
#
|
||||
# Contributor: satanselbow <igdfpm at gmail dot com>
|
||||
# Contributor: Artem Sereda <overmind88 at gmail dot com>
|
||||
#
|
||||
pkgname="flacon"
|
||||
pkgver="9.0.0"
|
||||
pkgrel="1"
|
||||
pkgdesc="An Audio File Encoder. Extracts audio tracks from an audio CD image to separate tracks."
|
||||
arch=('i686' 'x86_64' 'aarch64')
|
||||
url="https://flacon.github.io/"
|
||||
_url="https://github.com/${pkgname}"
|
||||
license=('LGPL2.1')
|
||||
makedepends=('cmake' 'icu' 'qt5-tools')
|
||||
depends=('hicolor-icon-theme' 'qt5-base' 'uchardet' 'ffmpeg' 'taglib')
|
||||
optdepends=('flac: For FLAC support'
|
||||
'lame: For MP3 support'
|
||||
'mac: For APE support'
|
||||
'mp3gain: For MP3 Replay Gain support'
|
||||
'opus-tools: For OPUS support'
|
||||
'sox: For SoX support'
|
||||
'ttaenc: For TrueAudio support'
|
||||
'vorbis-tools: For OGG support'
|
||||
'vorbisgain: For OGG Replay Gain support'
|
||||
'wavpack: For WavPack support'
|
||||
)
|
||||
|
||||
source=("${pkgname}-${pkgver}.tar.gz::${_url}/${pkgname}/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('a83d5fe297ceb6408b7f63c56a6be336fe1c6d06ebedcc0c84a3f7dd234140e4')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
||||
install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
# vim: set ts=4 sw=4 et syn=sh ft=sh:
|
40
src/force_bind/PKGBUILD
Normal file
40
src/force_bind/PKGBUILD
Normal file
@@ -0,0 +1,40 @@
|
||||
# Maintainer: Kevin MacMartin <prurigro@gmail.com>
|
||||
|
||||
pkgname=force_bind
|
||||
pkgver=0.13
|
||||
pkgrel=1
|
||||
pkgdesc='Force binding on a specific IP and/or port, change TTL/TOS/KA/MSS/REUSEADDR/FWMARK/PRIORITY. Works with both IPv4 and IPv6. Also, you can enforce bandwidth per process or per socket'
|
||||
url='http://kernel.embedromix.ro/us/'
|
||||
license=('GPL3')
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
depends=('glibc')
|
||||
|
||||
source=(
|
||||
"http://kernel.embedromix.ro/us/$pkgname/$pkgname-$pkgver.tar.gz"
|
||||
"$pkgname.1"
|
||||
"${pkgname}_null-to-strcmp-fix.patch"
|
||||
)
|
||||
|
||||
sha512sums=(
|
||||
'37aaac1407118bbeb2ec484318afb1d517979c620ace9eca87b609cf99e7c9cfdc03863d42f017f28567fcbb7f8a23fac33aa70fad379c7841da31be16143da1'
|
||||
'4eac471df6329f09ba4f8e66fbdd12daaff58221fbbfacf37d10d5017d9afcf8dd79d9330ca3044310c7c7cf4106f645fea81329d32f76cc15c8524d2677b0ad'
|
||||
'3e33eb1158dd89737fa62c018ff5af0419a3900315875363f30194c8ae0cceecd943d2c8e1f139127f5b092c428597f1a570ff072c0c29a60082bc6b990f4be9'
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
patch -p1 < ../${pkgname}_null-to-strcmp-fix.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 $pkgname.1 "$pkgdir/usr/share/man/man1/$pkgname.1"
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib"
|
||||
}
|
187
src/force_bind/force_bind.1
Normal file
187
src/force_bind/force_bind.1
Normal file
@@ -0,0 +1,187 @@
|
||||
.TH FORCE_BIND "1"
|
||||
.SH NAME
|
||||
FORCE_BIND
|
||||
.SH AUTHOR
|
||||
Catalin(ux) M. BOIE \- catab at embedromix dot ro
|
||||
.SH DESCRIPTION
|
||||
Force an application to bind on a specific IP and/or port. Plus forcing setsockopt calls on the socket. Works with both IPv4 and IPv6.
|
||||
.TP
|
||||
It is useful if you have a binary application without sources and without the possibility to configure address or port to bind to.
|
||||
.SH LICENSE
|
||||
GPLv3
|
||||
.SH HOW IT WORKS
|
||||
force_bind is a shared object that is loaded with LD_PRELOAD and hooks 'bind' function. Forcing an IP/port to bind to is done with environments variables.
|
||||
.SH EXAMPLES
|
||||
0. Output debug stuff in a log file (for debugging):
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=999
|
||||
.TP
|
||||
\fB export FORCE_NET_LOG="xxx.log"
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
1. Force bind to 127.0.0.1, port 33, verbose operations:
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V4=127.0.0.1
|
||||
.TP
|
||||
\fB export FORCE_BIND_PORT_V4=33
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
2. Force binding to 127.0.0.2, port unchanged
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V4=127.0.0.2
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
3. Force binding to ::1 (IPv6), port unchanged
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V6=::1
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
4. Changing TOS on all sockets to 30
|
||||
.TP
|
||||
\fB export FORCE_NET_TOS=30
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
5. Force Keep alive to 60 seconds:
|
||||
.TP
|
||||
\fB export FORCE_NET_KA=60
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
6. Force MSS to 1400
|
||||
.TP
|
||||
\fB export FORCE_NET_MSS=1400
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
7. Force bandwidth to 1000 bytes/s for _all_ connections, cumulated
|
||||
.TP
|
||||
\fB export FORCE_NET_BW=1000
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
8. Force bandwidth to 20000 bytes/s per socket
|
||||
.TP
|
||||
\fB export FORCE_NET_BW_PER_SOCKET=20000
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
9. Force REUSEADDR
|
||||
.TP
|
||||
\fB export FORCE_NET_REUSEADDR=1
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
10. Force NODELAY
|
||||
.TP
|
||||
\fB export FORCE_NET_NODELAY=1
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
11. Force client connections (for example 'telnet', 'ssh', 'firefox') to connect from a specified address, not the auto selected one:
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V4=127.0.0.2
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
12. Set a FLOWINFO (flow label + class) for a client connection:
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_NET_FLOWINFO=0x7812345 # class 0x78, label 0x12345
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
13. Force FWMARK on a connection (only root can do it):
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_NET_FWMARK=0x1234
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
14. Force priority (between 0 and 6 for non-root users). You can use 'tc' command from iproute to set-up 'prio' qdisc and to assign prio to queues:
|
||||
.TP
|
||||
\fB # 0. setup
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB # 1. Make sure you have a 'prio' qdisc attached to eth0, for example:
|
||||
.TP
|
||||
\fB tc qdisc add ev eth0 root handle 1: prio
|
||||
.TP
|
||||
\fB # 2. Assign applications to classed (bands):
|
||||
.TP
|
||||
\fB export FORCE_NET_PRIO=6 # interactive, band 0
|
||||
.TP
|
||||
\fB your_voip_program_here
|
||||
.TP
|
||||
\fB export FORCE_NET_PRIO=0 # best effort, band 1
|
||||
.TP
|
||||
\fB your_mail_program_here
|
||||
.TP
|
||||
\fB export FORCE_NET_PRIO=2 # bulk, band 2
|
||||
.TP
|
||||
\fB your_remote_backup_program_here
|
||||
.TP
|
||||
\fB # 3. Run tc statistics so you can see the classification:
|
||||
.TP
|
||||
\fB tc -s class show dev eth0
|
||||
.TP
|
||||
15. Deny binding to any IPv4 sockets. The bind syscall will return -1 and errno will be set to EACCES.
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V4=deny
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
||||
.TP
|
||||
16. Silent fake binding to any IPv6 sockets. The bind will return success, but will never accept any connection.
|
||||
.TP
|
||||
\fB export FORCE_NET_VERBOSE=1
|
||||
.TP
|
||||
\fB export FORCE_BIND_ADDRESS_V6=fake
|
||||
.TP
|
||||
\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so
|
||||
.TP
|
||||
\fB your_program_here
|
14
src/force_bind/force_bind_null-to-strcmp-fix.patch
Normal file
14
src/force_bind/force_bind_null-to-strcmp-fix.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff --git a/force_bind.c b/force_bind.c
|
||||
index 644e3a7..5656a05 100644
|
||||
--- a/force_bind.c
|
||||
+++ b/force_bind.c
|
||||
@@ -916,6 +916,9 @@ int bind(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
|
||||
case AF_INET6: force_address = force_address_v6; break;
|
||||
}
|
||||
|
||||
+ if (force_address == NULL)
|
||||
+ break;
|
||||
+
|
||||
/* Test if we should deny the bind */
|
||||
if (strcmp(force_address, "deny") == 0) {
|
||||
xlog(1, "\tDeny binding to %s\n", tmp);
|
33
src/fusee-launcher-git/PKGBUILD
Normal file
33
src/fusee-launcher-git/PKGBUILD
Normal file
@@ -0,0 +1,33 @@
|
||||
# Maintainer: rouhannb <rouhannb@gmail.com>
|
||||
pkgname=fusee-launcher-git
|
||||
pkgver=1.0.r2.g3b1b2bc
|
||||
pkgrel=1
|
||||
pkgdesc='work-in-progress launcher for one of the Tegra X1 bootROM exploits'
|
||||
arch=('any')
|
||||
url="https://github.com/Cease-and-DeSwitch/${pkgname%-git}"
|
||||
license=('GPL2')
|
||||
depends=('python-pyusb')
|
||||
makedepends=('git' 'arm-none-eabi-gcc')
|
||||
provides=("${pkgname%-git}")
|
||||
conflicts=("${pkgname%-git}")
|
||||
source=('git+https://github.com/Cease-and-DeSwitch/fusee-launcher.git' 'runner.sh')
|
||||
md5sums=('SKIP' '1d81a0959d6f81c94caca58d3496ba7b')
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
# This isn't truly necessary, as fusee-launcher comes with a precompiled
|
||||
# intermezzo.bin. Running makepkg with --nobuild should work fine.
|
||||
build() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/${pkgname%-git}"
|
||||
install -Dm644 -t "$pkgdir/opt/${pkgname%-git}" "${pkgname%-git}.py"
|
||||
install -m644 -t "$pkgdir/opt/${pkgname%-git}" 'intermezzo.bin'
|
||||
install -D "$srcdir/runner.sh" "$pkgdir/usr/bin/${pkgname%-git}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user