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

user/*: Modernise / fix syntax / deps

Also move freedreno to the ARM-only depends.
parent b11dd705
......@@ -6,10 +6,10 @@ pkgdesc="X.Org generic input driver"
url="https://www.X.Org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-dev"
depends=""
makedepends="libxkbfile-dev xorg-server-dev libxi-dev libxrandr-dev
eudev-dev mtdev-dev libevdev-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-input-joystick-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-input-keyboard-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-input-mouse-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-input-void-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,7 +13,6 @@ subpackages=""
source="https://www.x.org/releases/individual/driver/xf86-video-ast-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -7,15 +7,14 @@ url="https://www.X.Org/"
arch="all"
options="!check" # No test suite.
license="MIT"
subpackages="$pkgname-doc"
depends="mesa-dri-ati"
makedepends="eudev-dev libdrm-dev libxi-dev mesa-dev pixman-dev util-macros
xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
--host=$CHOST \
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-video-cirrus-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -6,13 +6,12 @@ pkgdesc="Framebuffer video driver for X11"
url="https://www.X.Org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=""
makedepends="libxi-dev util-macros xorgproto-dev xorg-server-dev"
subpackages="$pkgname-doc"
source="https://www.X.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
build() {
cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
......@@ -22,12 +21,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
......
......@@ -16,7 +16,6 @@ source="https://www.x.org/releases/individual/driver/xf86-video-geode-$pkgver.ta
"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,12 +27,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -9,11 +9,11 @@ url="https://xorg.freedesktop.org"
arch="pmmx x86_64"
options="!check" # No test suite.
license="MIT"
subpackages="$pkgname-doc"
depends="mesa-dri-intel"
makedepends="xorg-server-dev libxi-dev libdrm-dev mesa-dev libxvmc-dev
xcb-util-dev eudev-dev util-macros autoconf automake libtool xorgproto
"
subpackages="$pkgname-doc"
source="https://dev.sick.bike/$pkgname-$pkgver.tar.gz
pmmx.patch
"
......@@ -21,13 +21,11 @@ giturl="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git"
reporev="3d395062ce73f85e8340218df01c2ebf4bc25023"
prepare() {
cd "$builddir"
default_prepare
autoreconf -vif
}
build() {
cd "$builddir"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \
......@@ -40,7 +38,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
rm "$pkgdir"/usr/libexec/xf86-video-intel-backlight-helper
......
......@@ -13,7 +13,6 @@ subpackages=""
source="https://www.x.org/releases/individual/driver/xf86-video-mach64-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,7 +13,6 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-video-mga-$pkgver.tar.bz2"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -25,12 +24,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,13 +13,11 @@ subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/driver/xf86-video-openchrome-$pkgver.tar.bz2"
prepare() {
cd "$builddir"
default_prepare
update_config_sub
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -31,12 +29,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -14,7 +14,6 @@ subpackages=""
source="https://www.x.org/releases/individual/driver/xf86-video-qxl-$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
}
......
......@@ -15,7 +15,6 @@ source="https://www.x.org/releases/individual/driver/xf86-video-r128-$pkgver.tar
"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -27,12 +26,10 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
......
......@@ -13,11 +13,11 @@ depends="xf86-input-evdev xf86-input-joystick xf86-input-keyboard
xf86-input-void xf86-input-wacom
xf86-video-amdgpu xf86-video-ast xf86-video-ati xf86-video-cirrus
xf86-video-dummy xf86-video-fbdev xf86-video-freedreno xf86-video-glint
xf86-video-mach64 xf86-video-mga xf86-video-nouveau
xf86-video-openchrome xf86-video-qxl xf86-video-r128
xf86-video-rendition xf86-video-sis xf86-video-sisusb xf86-video-tdfx
xf86-video-trident xf86-video-v4l xf86-video-vboxvideo xf86-video-vesa"
xf86-video-dummy xf86-video-fbdev xf86-video-glint xf86-video-mach64
xf86-video-mga xf86-video-nouveau xf86-video-openchrome xf86-video-qxl
xf86-video-r128 xf86-video-rendition xf86-video-sis xf86-video-sisusb
xf86-video-tdfx xf86-video-trident xf86-video-v4l xf86-video-vboxvideo
xf86-video-vesa"
case $CTARGET_ARCH in
pmmx)
depends="$depends xf86-video-geode xf86-video-intel" ;;
......@@ -28,7 +28,7 @@ case $CTARGET_ARCH in
esac
case $CTARGET_ARCH in
aarch64*|arm*)
;;
depends="$depends xf86-video-freedreno";;
*)
depends="$depends xf86-video-siliconmotion xf86-video-vmware";;
esac
......
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