Date: Thursday, February 23, 2017 @ 07:02:17
  Author: heftig
Revision: 289406

archrelease: copy trunk to testing-any

Added:
  linux-firmware/repos/testing-any/
  linux-firmware/repos/testing-any/PKGBUILD
    (from rev 289405, linux-firmware/trunk/PKGBUILD)

----------+
 PKGBUILD |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 76 insertions(+)

Copied: linux-firmware/repos/testing-any/PKGBUILD (from rev 289405, 
linux-firmware/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD                                (rev 0)
+++ testing-any/PKGBUILD        2017-02-23 07:02:17 UTC (rev 289406)
@@ -0,0 +1,76 @@
+# $Id$
+# Maintainer: Thomas B├Ąchler <tho...@archlinux.org>
+
+pkgname=linux-firmware
+_commit=12987cadb37de28719990dfc2397ec6d09e10566  # master
+pkgver=20170217.12987ca
+pkgrel=2
+pkgdesc="Firmware files for Linux"
+makedepends=('git')
+arch=('any')
+url="http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary";
+license=('GPL2' 'GPL3' 'custom')
+conflicts=('linux-firmware-git'
+           'kernel26-firmware'
+           'ar9170-fw'
+           'iwlwifi-1000-ucode'
+           'iwlwifi-3945-ucode'
+           'iwlwifi-4965-ucode'
+           'iwlwifi-5000-ucode'
+           'iwlwifi-5150-ucode'
+           'iwlwifi-6000-ucode'
+           'rt2870usb-fw'
+           'rt2x00-rt61-fw'
+           'rt2x00-rt71w-fw'
+           'amd-ucode')
+replaces=('kernel26-firmware'
+          'ar9170-fw'
+          'iwlwifi-1000-ucode'
+          'iwlwifi-3945-ucode'
+          'iwlwifi-4965-ucode'
+          'iwlwifi-5000-ucode'
+          'iwlwifi-5150-ucode'
+          'iwlwifi-6000-ucode'
+          'rt2870usb-fw'
+          'rt2x00-rt61-fw'
+          'rt2x00-rt71w-fw'
+          'amd-ucode')
+options=(!strip)
+source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git#commit=${_commit}";)
+md5sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/${pkgname}"
+
+  # Restore old AMD GPU firmware
+  # https://bugs.archlinux.org/task/53042
+  git revert -n 51911f57cda2ce6f290123974bfbe872d1f9dd65
+  git revert -n 7a110b85a46d7f884f4ac712ff52e02ed57234bd
+
+  # Restore old Bluetooth firmware
+  # https://bugzilla.kernel.org/show_bug.cgi?id=190831
+  git checkout 9c71af939b51ce1431087acfb5b0f61c0b491c63 -- 
intel/ibt-11-5.{sfi,ddc}
+}
+
+pkgver() {
+  cd "${srcdir}/${pkgname}"
+
+  # Commit date + short rev
+  echo $(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d 
HEAD).$(git rev-parse --short HEAD)
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+
+  make DESTDIR="${pkgdir}" FIRMWAREDIR=/usr/lib/firmware install
+  rm "${pkgdir}/usr/lib/firmware/"{Makefile,README,configure,GPL-3}
+
+  install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm644 LICEN* WHENCE "${pkgdir}/usr/share/licenses/linux-firmware/"
+
+  # Trigger a microcode reload for configurations not using early updates
+  install -d "${pkgdir}/usr/lib/tmpfiles.d"
+  echo 'w /sys/devices/system/cpu/microcode/reload - - - - 1' \
+    >"${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+}
+# vim:set ts=2 sw=2 et:

Reply via email to