Verified Commit c33214f0 authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/*: Modernise / fix syntax / deps

parent 33b95bdb
......@@ -7,13 +7,12 @@ pkgdesc="Library to decrypt Advanced Access Content System content"
url="https://www.videolan.org/developers/libaacs.html"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="bison flex libgcrypt-dev libgpg-error-dev"
subpackages="$pkgname-dev"
source="https://download.videolan.org/pub/videolan/libaacs/$pkgver/libaacs-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -26,12 +25,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,22 +8,20 @@ url="https://sourceforge.net/projects/libavc1394/"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="libraw1394-dev libtool automake autoconf"
[ "$CLIBC" != "eglibc" ] && makedepends="$makedepends argp-standalone"
makedepends="libraw1394-dev libtool automake autoconf argp-standalone"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/libavc1394/libavc1394-$pkgver.tar.gz
automake.patch
argp.patch"
argp.patch
"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
update_config_sub
libtoolize && aclocal && autoconf && automake --add-missing
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -36,12 +34,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,6 +8,7 @@ url="https://www.videolan.org/developers/libbluray.html"
arch="all"
options="!check" # Test requires an actual BD-ROM to play
license="LGPL-2.1+"
depends=""
makedepends="fontconfig-dev libxml2-dev"
subpackages="$pkgname-dev"
source="https://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2"
......
......@@ -15,7 +15,6 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/libdc1394/libdc1394-2/$pkgver/libdc1394-$pkgver.tar.gz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,7 +27,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,11 +8,11 @@ url="https://www.videolan.org/developers/libdca.html"
arch="all"
license="GPL-2.0+"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.videolan.org/pub/videolan/libdca/$pkgver/libdca-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -24,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -8,24 +8,23 @@ url="https://www.matroska.org/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
makedepends="libebml-dev>=1.3.3"
depends=""
makedepends="cmake libebml-dev>=1.3.3"
subpackages="$pkgname-dev"
source="https://dl.matroska.org/downloads/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS"
-DCMAKE_C_FLAGS="$CFLAGS" .
make
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
......
......@@ -6,8 +6,10 @@ pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams"
url="http://libmpeg2.sourceforge.net/"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+"
depends=""
makedepends="libx11-dev libice-dev libsm-dev libxext-dev libxv-dev
autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc mpeg2dec"
makedepends="libx11-dev libice-dev libsm-dev libxext-dev libxv-dev"
source="http://distfiles.gentoo.org/distfiles/libmpeg2-$pkgver.tar.gz
arm-private-symbols.patch
arm-textrel.patch
......@@ -15,8 +17,8 @@ source="http://distfiles.gentoo.org/distfiles/libmpeg2-$pkgver.tar.gz
"
prepare() {
update_config_sub
default_prepare
update_config_sub
autoreconf -vif
}
......
......@@ -13,13 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/linux-diag/$pkgname-$pkgver.tar.gz"
prepare() {
cd "$builddir"
update_config_sub
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -29,7 +27,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir"/ install
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment