diff options
Diffstat (limited to 'libre/linux-libre-firmware/PKGBUILD')
-rw-r--r-- | libre/linux-libre-firmware/PKGBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD index c7712415b..a2d78c816 100644 --- a/libre/linux-libre-firmware/PKGBUILD +++ b/libre/linux-libre-firmware/PKGBUILD @@ -5,14 +5,14 @@ pkgname=linux-libre-firmware pkgver=1.1 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc='Firmware files for Linux-libre' arch=('any') url='https://jxself.org/firmware' -license=('GPL3' 'GPL2' 'MPL' 'BSD3') +license=('GPL3' 'GPL2' 'MPL') depends=('ath9k-htc-firmware') -makedepends=('cmake' 'gmp' 'gperf' 'arm-linux-gnueabi-gcc') +makedepends=('cmake' 'gmp' 'gperf' 'arm-linux-gnueabi-gcc' 'sh-elf-gcc' 'sh-elf-newlib' 'xtensa-unknown-elf-gcc') provides=('linux-firmware') conflicts=('linux-firmware' 'linux-firmware-git' @@ -30,30 +30,38 @@ conflicts=('linux-firmware' 'amd-ucode' 'openfwwf') replaces=(${conflicts[@]}) +options=(!strip) source=("${url}/${pkgname}-${pkgver}.tar.lz"{,.asc} - 'remove-wget.patch' - 'config' # carl9170fw configuration + 'remove-wget.patch' # remove the download of external toolchains + 'config' # carl9170fw configuration ) sha512sums=('4ef111f86e8a87bab31e02be171e09f47d71884f1737f5329e9dd07e9f799436d8ff2de5aa0b2cfb4bc921ed02bb2b59b9a1ea69176dcef5f902364d8725e75a' 'SKIP' - 'b6579a0de9e66dcbeec350172764ebedc06a6056fc3592a040f6447d1806f29d82b8bdc36e33b6012aae2068dc6975e70e0c0d1381c84937317bc763c6f2290f' - '087371c69a8ba394822efa1a41f45ec8f2a7800bcfa63a9e0e492eceaa75b85b6ea5a534e7a37091199d72229c12fe44dc0ad34625ff1c4a09c3725bc09331a3') + 'ed4af53a48efd512809a490f9f558fc94f71950b847547bbec175c3bf805fa2bf7c6fea6cec77f454e37d4650b6339c384f5458b979221490921935bd7c044d1' + '4e596db89f88ed24db3eaff8ed2853d2a07128ba430a26bc63e08f29e4cd4c7093d358df35f580ede563103f0cf720f0f81f517108c79e80d8cf2aee786023f4') validpgpkeys=('F611A908FFA165C699584ED49D0DB31B545A3198') # Jason Self prepare() { cd $srcdir/$pkgname-$pkgver - # Some firmwares download compilers with wget. We don't want that + # Some firmwares download toolchains with wget. We don't want that patch -p1 -i ../remove-wget.patch # Although we still don't use carl9170fw yet, this is a step forward - cp ../config src/carl9170fw/.config - sed '13s|config/conf|config/conf --config|' -i src/carl9170fw/autogen.sh + cp -Tf ../config src/carl9170fw/.config + sed -e '13s|config/conf|config/conf --config|' \ + -i src/carl9170fw/autogen.sh } build() { cd "${srcdir}/${pkgname}-${pkgver}/src" - make cis isci keyspan_pda openfwwf av7110 dsp56k # usbdux carl9170fw ath9k_htc + make ath9k_htc + + # NOTE: usbdux will only build in 32-bits systems/chroots (i686 and armv7h for instance), + # however compiling it manually (without makepkg) on a 64-bits machine works. + # Building with makepkg in a 64-bits system or chroot ends into a segmentation fault. + # Source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887320 +# make cis isci keyspan_pda openfwwf av7110 dsp56k usbdux carl9170fw # ath9k_htc } package() { |