From 71382135d5608d2819b6a3c2a8138a2e4aa04bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 7 Jul 2013 18:51:57 -0300 Subject: ath9k-htc-firmware-20130707-1: fix issues on PKGBUILD --- libre/ath9k-htc-firmware/PKGBUILD | 56 +++------------------------------------ 1 file changed, 3 insertions(+), 53 deletions(-) (limited to 'libre/ath9k-htc-firmware/PKGBUILD') diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index d323ef8d2..f79aae173 100644 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ b/libre/ath9k-htc-firmware/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ath9k-htc-firmware pkgver=$(LC_ALL=C date -u +%Y%m%d) -pkgrel=2 +pkgrel=1 pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs' arch=('any') url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc') @@ -25,37 +25,16 @@ build() { cd $srcdir/open-ath9k-htc-firmware - export CBUILD=$CHOST - export CHOST="xtensa-unknown-elf" export CTARGET="xtensa-unknown-elf" export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4" export CXXFLAGS="${CFLAGS}" - export CC=/usr/bin/xtensa-unknown-elf-gcc - export CPP=/usr/bin/xtensa-unknown-elf-cpp - export AR=/usr/bin/xtensa-unknown-elf-ar - export AS=/usr/bin/xtensa-unknown-elf-as - export LD=/usr/bin/xtensa-unknown-elf-ld - export NM=/usr/bin/xtensa-unknown-elf-nm - export OBJCOPY=/usr/bin/xtensa-unknown-elf-objcopy - export OBJDUMP=/usr/bin/xtensa-unknown-elf-objdump - export RANLIB=/usr/bin/xtensa-unknown-elf-ranlib - export STRIP=/usr/bin/xtensa-unknown-elf-strip - cat > target_firmware/build/toolchain.cmake < Date: Sun, 7 Jul 2013 19:35:25 -0300 Subject: ath9k-htc-firmware-1.3.2-1: build from stable version, not git --- libre/ath9k-htc-firmware/PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'libre/ath9k-htc-firmware/PKGBUILD') diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index f79aae173..40bfae1e2 100644 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ b/libre/ath9k-htc-firmware/PKGBUILD @@ -2,28 +2,28 @@ # Maintainer: Márcio Silva pkgname=ath9k-htc-firmware -pkgver=$(LC_ALL=C date -u +%Y%m%d) +pkgver=1.3.2 pkgrel=1 pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs' arch=('any') url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc') license=('BSD') -makedepends=('git' 'cmake' 'xtensa-unknown-elf-binutils' 'xtensa-unknown-elf-gcc') -source=("git://github.com/qca/open-ath9k-htc-firmware" +makedepends=('cmake' 'xtensa-unknown-elf-binutils' 'xtensa-unknown-elf-gcc') +source=("https://github.com/qca/open-ath9k-htc-firmware/archive/$pkgver.tar.gz" 'LICENSE') -md5sums=('SKIP' +md5sums=('73c66751151dd47535cb4142477da480' '5163b2711bc481c77045850610b7dd31') prepare() { - cd $srcdir/open-ath9k-htc-firmware/target_firmware + cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware mkdir -p build/{k2,magpie} } build() { - cd $srcdir/open-ath9k-htc-firmware + cd $srcdir/open-ath9k-htc-firmware-$pkgver export CTARGET="xtensa-unknown-elf" export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4" @@ -39,17 +39,17 @@ SET(CMAKE_FIND_ROOT_PATH /usr/xtensa-unknown-elf) CMAKE_FORCE_C_COMPILER(/usr/bin/xtensa-unknown-elf-gcc GNU) EOF - cd $srcdir/open-ath9k-htc-firmware/target_firmware/build/k2 + cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware/build/k2 - cmake -DCMAKE_TOOLCHAIN_FILE=$srcdir/open-ath9k-htc-firmware/target_firmware/build/toolchain.cmake "$@" -DTARGET_K2=ON ../.. + cmake -DCMAKE_TOOLCHAIN_FILE=$srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware/build/toolchain.cmake "$@" -DTARGET_K2=ON ../.. cd - - cd $srcdir/open-ath9k-htc-firmware/target_firmware/build/magpie + cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware/build/magpie - cmake -DCMAKE_TOOLCHAIN_FILE=$srcdir/open-ath9k-htc-firmware/target_firmware/build/toolchain.cmake "$@" -DTARGET_MAGPIE=ON ../.. + cmake -DCMAKE_TOOLCHAIN_FILE=$srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware/build/toolchain.cmake "$@" -DTARGET_MAGPIE=ON ../.. cd - - cd $srcdir/open-ath9k-htc-firmware/target_firmware + cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware make -C build/k2 make -C build/magpie @@ -61,7 +61,7 @@ package() { # create firmware folder to put the free firmware files there install -d -m755 $pkgdir/usr/lib/firmware - cd $srcdir/open-ath9k-htc-firmware/target_firmware + cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware # move firmware files to firmware folder cp build/{k2,magpie}/htc_*.fw $pkgdir/usr/lib/firmware -- cgit v1.2.3-2-g168b From 6be964b6c688fe9a544df7e5b61d6aaeeb871ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sun, 7 Jul 2013 21:39:08 -0300 Subject: ath9k-htc-firmware: change revision due which previous revision was tested from jxself webpage --- libre/ath9k-htc-firmware/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libre/ath9k-htc-firmware/PKGBUILD') diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD index 40bfae1e2..6aec27967 100644 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ b/libre/ath9k-htc-firmware/PKGBUILD @@ -3,7 +3,7 @@ pkgname=ath9k-htc-firmware pkgver=1.3.2 -pkgrel=1 +pkgrel=3 pkgdesc='Free firmware files for the Qualcomm Atheros AR7010 and AR9271 USB 802.11n NICs' arch=('any') url=('http://wireless.kernel.org/en/users/Drivers/ath9k_htc') -- cgit v1.2.3-2-g168b