pmaports/device/device-samsung-i927/APKBUILD

93 lines
3.4 KiB
Text
Raw Normal View History

# Reference: <https://postmarketos.org/devicepkg>
pkgname="device-samsung-i927"
pkgdesc="Samsung Captivate Glide"
pkgver=0.2
pkgrel=2
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base
linux-samsung-i927
mkbootimg
alsa-utils
setxkbmap
pm-utils
libdrm-grate
mesa-grate
mesa-grate-gl
mesa-grate-gles
mesa-grate-egl
mesa-grate-gbm
mesa-grate-glapi
mesa-grate-osmesa
mesa-grate-dri-swrast
mesa-grate-dri-tegra
xf86-video-opentegra
mesa-demos
libvdpau-tegra"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo
modules-load.conf
HiFi.conf
2019-02-27 08:17:40 +00:00
Voice.conf
wm8994aif1.conf
40-samsung-i927.conf
Xkbmap
i927
i927_rules
i927_rules.lst
i927-pm-conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/modules-load.conf \
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
install -D -m644 "$srcdir"/HiFi.conf \
"$pkgdir"/usr/share/alsa/ucm/wm8994aif1/HiFi.conf
2019-02-27 08:17:40 +00:00
install -D -m644 "$srcdir"/Voice.conf \
"$pkgdir"/usr/share/alsa/ucm/wm8994aif1/Voice.conf
install -D -m644 "$srcdir"/wm8994aif1.conf \
"$pkgdir"/usr/share/alsa/ucm/wm8994aif1/wm8994aif1.conf
install -D -m644 "$srcdir"/Xkbmap \
"$pkgdir"/etc/X11/Xkbmap
install -D -m644 "$srcdir"/i927_rules \
"$pkgdir"/usr/share/X11/xkb/rules/i927_rules
install -D -m644 "$srcdir"/i927_rules.lst \
"$pkgdir"/usr/share/X11/xkb/rules/i927_rules.lst
install -D -m644 "$srcdir"/i927 \
"$pkgdir"/usr/share/X11/xkb/symbols/i927
install -D -m755 "$srcdir"/i927-pm-conf \
"$pkgdir"/etc/pm/config.d/i927-pm-conf
install -D -m644 "$srcdir"/40-samsung-i927.conf \
"$pkgdir"/etc/X11/xorg.conf.d/40-samsung-i927.conf
}
nonfree_firmware() {
pkgdesc="bcm4330 wifi firmware"
depends="firmware-samsung-i927"
mkdir "$subpkgdir"
}
sha512sums="f766baaedddad320bb0ae3f54a0a369ae7cda6cef77bcf8a5d45c9b86ea655f05fac9bee2c72b2391fe5740e36c8117cbabf574c99ef3e5ad1c163993fb2a36e deviceinfo
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
761a53c000fbca43d613d42f8f991e593828ae508b1ad1e0c157eebe42175da28adf468121af4974cdadea4a80af544c215284a05a5c65ee3a4fd5d924dc5ed9 HiFi.conf
2019-02-27 08:17:40 +00:00
cbe74051ac81a3a8878dc804cd42fd27959da4460fa531ba4d57f2f2bc6504c28a913fe3f5bef1e8dd351950696a64e84f9e56c77300fd736cdfe50b9b827a05 Voice.conf
6fa188b7756edc28f7cfa7dd6a6d2eacb828b55c4a989673321d82ef0802d8c1dd44d0aa40ba9bdb05843fd96c73325380c8bdcd41e35b269c4655196c888d99 wm8994aif1.conf
000e5400c552daa83b40d211cba78d034cd7430eb98d039190a71cf7df8a5921d78a0abfae824129284650748ab939e60cdbbe41841c43ae86d229c39f7fe1c0 40-samsung-i927.conf
607d8631a4ced6b727f93f8ffbcf906c0c216c71bbd026cb2538d1b25f94c9f09c06531da5a0bbbd40b064c5b15b8fa693deec9fe683ad009ca80f7afbb12c6b Xkbmap
5f6e51d51e0392fa25626554673a751d9bdee19c503eadf2f3a4e30b6cf8ff8d99b0ddf436dc2e496a3701c1969aca165eebc368fa6bbfb9cb3554dcf627f75d i927
49aad2429c0fa7a0dcc99a57c6372d1223661ec0ecf5fcb1ede28992138dbc2a1b8e18ca265ad7e9bc2f389b8f2cd7ec57598c1dbb2d8de0ee4a277fb3d79957 i927_rules
22b470480d100b9e59a6d2fa69b742c53800a77cac872ac699e7d8bbce7578f15d78b862a8bcafb8b9c38f6db6abd50cbec19b88694f8a7ca9caf7b2b75f43f4 i927_rules.lst
56c068417135940db46de2bc8438cf858e58fbd84b8cac85a763304aaa61b4506cb8c15e236354c09182f4a797df72d3ec0178c1a6d85b007ab6d1c8926a4d89 i927-pm-conf"