diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/ath9k-htc-firmware/LICENSE | 33 | ||||
-rw-r--r-- | libre/ath9k-htc-firmware/PKGBUILD | 78 | ||||
-rw-r--r-- | libre/openfwwf/PKGBUILD | 36 |
3 files changed, 0 insertions, 147 deletions
diff --git a/libre/ath9k-htc-firmware/LICENSE b/libre/ath9k-htc-firmware/LICENSE deleted file mode 100644 index 7668bcb97..000000000 --- a/libre/ath9k-htc-firmware/LICENSE +++ /dev/null @@ -1,33 +0,0 @@ -Copyright (c) 2013 Qualcomm Atheros, Inc. - -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted (subject to the limitations in the -disclaimer below) provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the - distribution. - - * Neither the name of Qualcomm Atheros nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE -GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT -HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/libre/ath9k-htc-firmware/PKGBUILD b/libre/ath9k-htc-firmware/PKGBUILD deleted file mode 100644 index c9413c531..000000000 --- a/libre/ath9k-htc-firmware/PKGBUILD +++ /dev/null @@ -1,78 +0,0 @@ -# Maintainer: André Silva <emulatorman@hyperbola.info> -# Maintainer: Márcio Silva <coadde@hyperbola.info> - -pkgname=ath9k-htc-firmware -pkgver=1.4.0 -pkgrel=3.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=('BSD3') -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=('503f75163649a7e52a64737991a41ca2' - '5163b2711bc481c77045850610b7dd31') - -prepare() { - - cd $srcdir/open-ath9k-htc-firmware-$pkgver/target_firmware - mkdir -p build/{k2,magpie} - - # fix gcc 4.8 aggressive loop optimizations "-faggressive-loop-optimizations" - #sed -i '\|mPhyCtrlState.validPhyRateIndex| s|= 0|= 0|' wlan/ratectrl_11n_ln.c -} - -build() { - - cd $srcdir/open-ath9k-htc-firmware-$pkgver - - export CTARGET="xtensa-unknown-elf" - export CC="xtensa-unknown-elf" - export CFLAGS="-mtext-section-literals -O2 -pipe --param=ssp-buffer-size=4 -fno-aggressive-loop-optimizations -Wno-implicit-function-declaration" - export CXXFLAGS="${CFLAGS}" - - cat > target_firmware/build/toolchain.cmake <<EOF -INCLUDE(CMakeForceCompiler) - -SET(CMAKE_SYSTEM_PROCESSOR xtensa) -SET(COMPILER_PREFIX "xtensa-unknown-elf") -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-$pkgver/target_firmware/build/k2 - - 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-$pkgver/target_firmware/build/magpie - - 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-$pkgver/target_firmware - - make -C build/k2 - make -C build/magpie - -} - -package() { - - # create firmware folder to put the free firmware files there - install -d -m755 $pkgdir/usr/lib/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 - - # create license folder to put the license file there - install -d -m755 $pkgdir/usr/share/licenses/$pkgname - - # put LICENSE to license folder - install -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname - -} diff --git a/libre/openfwwf/PKGBUILD b/libre/openfwwf/PKGBUILD deleted file mode 100644 index 2197c233c..000000000 --- a/libre/openfwwf/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor (Arch): Jussi Timperi <jussi.timperi at gmail dot com> -# Maintainer: André Silva <emulatorman@hyperbola.info> - -pkgname=openfwwf -pkgver=5.2 -pkgrel=4.1 -pkgdesc="Free firmware for some Broadcom 43xx series WLAN chips" -arch=('any') -url="http://www.ing.unibs.it/openfwwf/" -license=('GPL2') -makedepends=('b43-tools') -source=(http://netweb.ing.unibs.it/~openfwwf/firmware/$pkgname-$pkgver.tar.gz) -md5sums=('e045a135453274e439ae183f8498b0fa') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - sed -i 's|Opensource|Free|' LICENSE -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - - make || return 1 -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make PREFIX="$pkgdir/usr/lib/firmware/b43-open" install - - install -d -m755 $pkgdir/usr/share/licenses/$pkgname - install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname -} - -# vim:set ts=2 sw=2 et: |