From 24d4ccb82736d1f62717667c0804347fd3a07c3c Mon Sep 17 00:00:00 2001
From: Minecrell <minecrell@minecrell.net>
Date: Mon, 9 Mar 2020 11:14:11 +0100
Subject: [PATCH] asus-me176c: add alsa-ucm-conf to dependencies (!1042)

This is needed for audio to work properly.

Also change meson buildtype to "plain", see
https://lists.alpinelinux.org/~alpine/devel/%3C2896c13070c508a49cbaa72c8fb7f34ea947358b.camel%40cogitri.dev%3E
---
 device/device-asus-me176c/APKBUILD | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/device/device-asus-me176c/APKBUILD b/device/device-asus-me176c/APKBUILD
index 710bf2583..89c8e1ca2 100644
--- a/device/device-asus-me176c/APKBUILD
+++ b/device/device-asus-me176c/APKBUILD
@@ -1,15 +1,23 @@
 # Reference: <https://postmarketos.org/devicepkg>
 # Contributor: Mis012 <michael.srba@seznam.cz>
 # Contributor: Minecrell <minecrell@minecrell.net>
+# Maintainer: Minecrell <minecrell@minecrell.net>
 pkgname="device-asus-me176c"
 pkgdesc="ASUS MeMO Pad 7 (ME176C(X))"
-pkgver=1
-pkgrel=6
+pkgver=2
+pkgrel=0
 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"
+depends="
+	postmarketos-base
+	linux-asus-me176c
+	firmware-asus-me176c-acpi intel-ucode
+	$pkgname-factory
+	mesa-dri-classic mesa-vulkan-intel
+	alsa-ucm-conf
+"
 makedepends="devicepkg-dev meson eudev-dev"
 
 _commit=3155254999ac36c3051a2118c415de25a072c0f6
@@ -30,7 +38,7 @@ build() {
 		--sysconfdir=/etc \
 		--mandir=/usr/share/man \
 		--localstatedir=/var \
-		--buildtype=release \
+		--buildtype=plain \
 		-Dsystemd=false -Dopenrc=true \
 		linux-me176c-$_commit/factory build-factory
 	ninja -C build-factory