Added mpv
This commit is contained in:
parent
4e68361184
commit
a55e2671b8
2 changed files with 53 additions and 0 deletions
27
pkgs/ffmpeg/build.sh
Normal file
27
pkgs/ffmpeg/build.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
pkgname=ffmpeg
|
||||
pkgver=4.3.2
|
||||
|
||||
fetch() {
|
||||
curl "https://ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--cc=cc
|
||||
|
||||
gmake
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
gmake install DESTDIR=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
26
pkgs/mpv/build.sh
Normal file
26
pkgs/mpv/build.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
pkgname=mpv
|
||||
pkgver=0.33.1
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/mpv-player/mpv/archive/refs/tags/v0.33.1.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./bootstrap.py
|
||||
./waf configure --prefix=/usr --confdir=/etc/mpv --enable-libmpv-shared
|
||||
|
||||
./waf build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
./waf install --destdir=$pkgdir
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue