83a0a953af
So far, the -x11 subpackage for asus-me176c was used to install the Xorg Intel driver (xf86-video-intel). But these days many distributions actually recommend using the standard Xorg modesetting driver instead, see e.g. - Debian: https://tjaalton.wordpress.com/2016/07/23/intel-graphics-gen4-and-newer-now-defaults-to-modesetting-driver-on-x/ - Fedora: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/AUPYPJMFJZMHPEKN24LBABZKIEOV4NU5/ - KDE: https://community.kde.org/Plasma/5.9_Errata#Intel_GPUs The standard Xorg modesetting driver is included in the main xorg-server package. Not installing xf86-video-intel saves about ~73 MiB of disk space (because it also pulls in many unneeded dependencies). Xfce seems to be working just fine with the modesetting driver. (And most users will probably prefer Wayland anyway...)
56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Mis012 <michael.srba@seznam.cz>
|
|
# Contributor: Minecrell <minecrell@minecrell.net>
|
|
pkgname="device-asus-me176c"
|
|
pkgdesc="ASUS MeMO Pad 7 (ME176C(X))"
|
|
pkgver=1
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="x86_64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-asus-me176c firmware-asus-me176c-acpi intel-ucode $pkgname-factory mesa-dri-classic mesa-vulkan-intel"
|
|
makedepends="devicepkg-dev meson eudev-dev"
|
|
|
|
_commit=3155254999ac36c3051a2118c415de25a072c0f6
|
|
source="
|
|
deviceinfo
|
|
https://github.com/me176c-dev/linux-me176c/archive/$_commit.tar.gz
|
|
"
|
|
subpackages="
|
|
$pkgname-factory
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=release \
|
|
-Dsystemd=false -Dopenrc=true \
|
|
linux-me176c-$_commit/factory build-factory
|
|
ninja -C build-factory
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
factory() {
|
|
pkgdesc="WiFi/BT MAC address loader"
|
|
depends="bluez-btmgmt"
|
|
DESTDIR="$subpkgdir" ninja -C "$srcdir"/build-factory install
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="WiFi, Bluetooth and Sound firmware"
|
|
depends="linux-firmware-intel firmware-asus-me176c"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="3a329f76237c5fcacc194892a32855d6b4b724f8320d0a43594ceafdba8a447706b590b290bc927256365bc65eeeb300579ee000e99ba7c9acb19cbb12ead56f deviceinfo
|
|
75243e3d0bc9a352465683ec8cf8b83566e4131bb7fae0f388267a62bdbf4691c955ed034b30df550f921b771080688123ae8db144b72f786bf1677ef1d83f57 3155254999ac36c3051a2118c415de25a072c0f6.tar.gz"
|