mirror of
https://github.com/Phantop/solus-stuff
synced 2024-11-21 22:33:12 +00:00
clean up
This commit is contained in:
parent
50ed12337f
commit
40a998cc10
25
addrepo
25
addrepo
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
mkdir $@
|
||||
echo include ../Makefile.common > $@/Makefile
|
||||
cat <<EOF > $@/package.yml
|
||||
name :
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git| : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(example)
|
||||
setup : |
|
||||
%configure
|
||||
%cmake
|
||||
%meson_configure
|
||||
build : |
|
||||
%make
|
||||
%ninja_build
|
||||
install : |
|
||||
%make_install
|
||||
%ninja_install
|
||||
EOF
|
60
aur2solus
60
aur2solus
|
@ -1,60 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -eo pipefail
|
||||
IFS=$'\n\t'
|
||||
version=1
|
||||
|
||||
rm -rf aur-source $1
|
||||
|
||||
git clone https://aur.archlinux.org/$1 aur-source
|
||||
|
||||
mkdir $1
|
||||
echo include ../Makefile.common > $1/Makefile
|
||||
|
||||
yml=$1/package.yml
|
||||
src=aur-source/.SRCINFO
|
||||
pkg=aur-source/PKGBUILD
|
||||
|
||||
grep -m1 "pkgbase" $src | sed 's/pkgbase =/name :/' | sed 's/^[ \t]*//;s/[ \t]*$//' >> $yml
|
||||
grep -m1 "pkgver" $src | sed 's/pkgver =/version :/' | sed 's/^[ \t]*//;s/[ \t]*$//' >> $yml
|
||||
echo "release : 1" >> $yml
|
||||
echo "source :" >> $yml
|
||||
|
||||
sourcebase=$(grep -m1 "source =" $src | sed 's/^[ \t]*//;s/[ \t]*$//')
|
||||
echo $sourcebase
|
||||
if echo $sourcebase | grep "::"
|
||||
then
|
||||
source=$(echo $sourcebase | grep -Po '::\K.*')
|
||||
sum=$(grep -m1 "sha256sums =" $src | sed 's/sha256sums =//' | sed 's/^[ \t]*//;s/[ \t]*$//')
|
||||
elif echo $sourcebase | grep "git+"
|
||||
then
|
||||
source='git|'$(echo $sourcebase | grep -Po 'git\+\K.*')
|
||||
sum=master
|
||||
else
|
||||
source=$(echo $sourcebase | grep -Po 'source = \K.*')
|
||||
sum=$(grep -m1 "sha256sums =" $src | sed 's/sha256sums =//' | sed 's/^[ \t]*//;s/[ \t]*$//')
|
||||
fi
|
||||
echo " - $source : $sum" >> $yml
|
||||
|
||||
grep -m1 "license =" $src | sed 's/license =/license :/' | sed 's/^[ \t]*//;s/[ \t]*$//' >> $yml
|
||||
grep -m1 "pkgdesc" $src | sed 's/pkgdesc =/summary :/' | sed 's/^[ \t]*//;s/[ \t]*$//' >> $yml
|
||||
grep -m1 "pkgdesc" $src | sed 's/pkgdesc =/description:/' | sed 's/^[ \t]*//;s/[ \t]*$//' >> $yml
|
||||
|
||||
if grep "makedepends" $src
|
||||
then
|
||||
echo "builddeps :" >> $yml
|
||||
grep "makedepends" $src | sed 's/makedepends =/-/' >> $yml
|
||||
fi
|
||||
|
||||
if grep -w "depends =" $src
|
||||
then
|
||||
echo "rundeps :" >> $yml
|
||||
grep -w "depends =" $src | sed 's/depends =/-/' >> $yml
|
||||
fi
|
||||
|
||||
compile="$(sed -n '/build() {/,/\n}\n/p' $pkg)"
|
||||
compile="$(echo "$compile" | sed 's/build() {/build : |/;s/package() {/install : |/;s/prepare() {/setup : |/' | sed '/^}/d')"
|
||||
compile="$(echo "$compile" | sed 's/${pkgname}/'$1'/g;s/${pkgver}/%version%/g;s/${pkgdir}/$installdir/g')"
|
||||
compile="$(echo "$compile" | sed 's/make/%make/g;s/c%make/%cmake/g')"
|
||||
echo "$compile" >> $yml
|
||||
|
||||
rm -rf aur-source
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,31 +0,0 @@
|
|||
name : bcml
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- https://github.com/NiceneNerd/BCML/archive/v3.0.0b18.tar.gz : 5ee09ad49e3b21b24ba56108f96dbc5574c4a3defe1772e969e994a1538c7530
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
networking : yes
|
||||
builddeps :
|
||||
- pkgconfig(yaml-0.1)
|
||||
- nodejs
|
||||
- pyyaml
|
||||
- python-xxhash
|
||||
- python-wheel
|
||||
- python-requests
|
||||
setup : |
|
||||
pushd bcml/assets
|
||||
npm install
|
||||
! timeout 5s npm test
|
||||
pushd ../..
|
||||
build : |
|
||||
%python3_setup
|
||||
install : |
|
||||
%python3_install
|
||||
cat <<EOF > $installdir/usr/bin/bcml
|
||||
#!/bin/bash
|
||||
python3 -m bcml
|
||||
EOF
|
||||
chmod +x $installdir/usr/lib/python3.7/site-packages/bcml/helpers/msyt
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,21 +0,0 @@
|
|||
name : ddccontrol
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/ddccontrol/ddccontrol.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(gtk+-2.0)
|
||||
- pkgconfig(libpci)
|
||||
rundeps :
|
||||
- pciutils
|
||||
setup : |
|
||||
./autogen.sh
|
||||
%configure --sysconfdir=/etc
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,13 +0,0 @@
|
|||
name : debootstrap
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://salsa.debian.org/installer-team/debootstrap.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,18 +0,0 @@
|
|||
name : dxvk
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/Joshua-Ashton/dxvk-native.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(sdl2)
|
||||
- pkgconfig(vulkan)
|
||||
- glslang-devel
|
||||
setup : |
|
||||
%meson_configure
|
||||
build : |
|
||||
%ninja_build
|
||||
install : |
|
||||
%ninja_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,13 +0,0 @@
|
|||
name : earlyoom
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/rfjakob/earlyoom.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
build : |
|
||||
%make PREFIX=/usr SYSTEMDUNITDIR=%libdir%/systemd/system earlyoom
|
||||
install : |
|
||||
%make_install PREFIX=/usr SYSTEMDUNITDIR=%libdir%/systemd/system earlyoom
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,22 +0,0 @@
|
|||
name : joycond
|
||||
version : 0.3.0
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/DanielOgorchock/joycond.git : master
|
||||
license : GPL-3.0-or-later
|
||||
summary : joycond is a linux daemon which uses the evdev devices provided by hid-nintendo
|
||||
(formerly known as hid-joycon) to implement joycon pairing.
|
||||
description: |
|
||||
joycond is a linux daemon which uses the evdev devices provided by hid-nintendo (formerly known as hid-joycon) to implement joycon pairing.
|
||||
builddeps :
|
||||
- pkgconfig(libevdev)
|
||||
setup : |
|
||||
%cmake
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
||||
|
||||
# Enable by default, users can disable now with systemctl mask tlp
|
||||
install -Ddm 00755 $installdir/etc/systemd/system/multi-user.target.wants
|
||||
ln -sv ../joycond.service $installdir/etc/systemd/system/multi-user.target.wants
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,15 +0,0 @@
|
|||
name : mpv-mpris
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/hoyon/mpv-mpris.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(mpv)
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
install -D -m 755 mpris.so $installdir/usr/share/mpv/scripts/mpris.so
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,23 +0,0 @@
|
|||
name : musickube
|
||||
version : 0.96.10
|
||||
release : 1
|
||||
source :
|
||||
- https://github.com/clangen/musikcube/archive/0.96.10.tar.gz : 91fd984e68b6ef66f1be1ecdf0c84607453ec6ec80632ece688ac745c7719ea5
|
||||
license : BSD
|
||||
summary : a cross-platform, terminal-based audio engine, library, player and server written in c++.
|
||||
description: a cross-platform, terminal-based audio engine, library, player and server written in c++.
|
||||
builddeps :
|
||||
- pkgconfig(alsa)
|
||||
- pkgconfig(libavformat)
|
||||
- pkgconfig(libcurl)
|
||||
- pkgconfig(libmicrohttpd)
|
||||
- pkgconfig(libpulse)
|
||||
- lame-devel
|
||||
- libboost-devel
|
||||
- libev-devel
|
||||
setup : |
|
||||
%cmake
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,16 +0,0 @@
|
|||
name : nextdns
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/nextdns/nextdns.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
networking : yes
|
||||
description: |
|
||||
Insert description here
|
||||
builddeps :
|
||||
- golang
|
||||
build : |
|
||||
go build
|
||||
install : |
|
||||
install -Dm00755 nextdns $installdir/usr/bin/nextdns
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,15 +0,0 @@
|
|||
name : ninfs
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/ihaveamac/ninfs.git : 2.0
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(python3)
|
||||
build : |
|
||||
%python3_setup
|
||||
install : |
|
||||
%python3_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,18 +0,0 @@
|
|||
name : torsocks
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/dgoulet/torsocks.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
rundeps :
|
||||
- tor
|
||||
setup : |
|
||||
%autogen
|
||||
%configure
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,28 +0,0 @@
|
|||
name : vivarium
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- https://github.com/inclement/vivarium/archive/refs/heads/main.zip : d26a0d604389f0d97474673552c28e098c986565d72c331cd5a577f8bd98df73
|
||||
license : GPL-3.0-or-later
|
||||
component : desktop
|
||||
summary : A dynamic tiling Wayland compositor using wlroots
|
||||
networking : yes
|
||||
description: |
|
||||
A dynamic tiling Wayland compositor using wlroots, with desktop semantics inspired by xmonad.
|
||||
builddeps :
|
||||
- pkgconfig(ImageMagick)
|
||||
- pkgconfig(cairo)
|
||||
- pkgconfig(gdk-pixbuf-2.0)
|
||||
- pkgconfig(json-c)
|
||||
- pkgconfig(libavcodec)
|
||||
- pkgconfig(libevdev)
|
||||
- pkgconfig(libcap)
|
||||
- pkgconfig(pango)
|
||||
- pkgconfig(wlroots)
|
||||
- git
|
||||
setup : |
|
||||
%meson_configure
|
||||
build : |
|
||||
%ninja_build
|
||||
install : |
|
||||
%ninja_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,24 +0,0 @@
|
|||
name : waifu2x
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/DeadSix27/waifu2x-converter-cpp.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
builddeps :
|
||||
- pkgconfig(ocl-icd)
|
||||
- pkgconfig(opencv)
|
||||
rundeps :
|
||||
- ocl-icd
|
||||
- opencl-headers
|
||||
- opencv
|
||||
patterns :
|
||||
- converter-cpp : /usr
|
||||
setup : |
|
||||
%cmake
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
|
@ -1 +0,0 @@
|
|||
include ../Makefile.common
|
|
@ -1,13 +0,0 @@
|
|||
name : zerotier
|
||||
version : 1
|
||||
release : 1
|
||||
source :
|
||||
- git|https://github.com/zerotier/ZeroTierOne.git : master
|
||||
license : GPL-2.0-or-later
|
||||
summary : Insert summary here
|
||||
description: |
|
||||
Insert description here
|
||||
build : |
|
||||
%make
|
||||
install : |
|
||||
%make_install
|
Loading…
Reference in a new issue