From 455295fdb5009a8cd7b033a93e01f7450fd3087b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 30 Oct 2012 01:38:24 -0700 Subject: Tue Oct 30 01:38:05 PDT 2012 --- libre/linux-libre-kmod-alx/PKGBUILD | 4 +- libre/linux-libre-lts/PKGBUILD | 8 +- libre/linux-libre-lts/linux-libre-lts.install | 2 +- libre/linux-libre/PKGBUILD | 8 +- libre/linux-libre/linux-libre.install | 2 +- libre/lirc-libre/PKGBUILD | 4 +- libre/ogre-libre/PKGBUILD | 131 ++++++++++++++++++++++++++ libre/ogre-libre/ogre.install | 4 + libre/virtualbox-libre-modules/PKGBUILD | 2 +- 9 files changed, 150 insertions(+), 15 deletions(-) create mode 100644 libre/ogre-libre/PKGBUILD create mode 100644 libre/ogre-libre/ogre.install (limited to 'libre') diff --git a/libre/linux-libre-kmod-alx/PKGBUILD b/libre/linux-libre-kmod-alx/PKGBUILD index 7dc94ab41..64b57eed5 100644 --- a/libre/linux-libre-kmod-alx/PKGBUILD +++ b/libre/linux-libre-kmod-alx/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: André Silva -_kernver=3.6.3 +_kernver=3.6.4 _kernrel=1 pkgname=('linux-libre-kmod-alx') _pkgver=2012-10-03 pkgver=20121003 -pkgrel=2 +pkgrel=3 pkgdesc='Atheros alx ethernet device driver for linux-libre kernel' arch=('i686' 'x86_64') url='http://linuxwireless.org/' diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 79a5a3478..1a0d031c1 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -7,10 +7,10 @@ pkgbase=linux-libre-lts # Build stock -LIBRE-LTS kernel #pkgbase=linux-libre-custom # Build kernel with a different name _basekernel=3.0 -_sublevel=48 +_sublevel=49 pkgver=${_basekernel}.${_sublevel} pkgrel=1 -_lxopkgver=${_basekernel}.47 # nearly always the same as pkgver +_lxopkgver=${_basekernel}.48 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -32,7 +32,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn 'module-init-wait-3.0.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('5f64180fe7df4e574dac5911b78f5067' - 'f3c64c1baf467178872287842d98008c' + '29c9749f200e1679f52118b239fa4491' 'aed25ab047e1c0b020a1516c235c6a74' '7d37e8ce0f4bd5a957172b12ae742ea0' 'c072b17032e80debc6a8626299245d46' @@ -44,7 +44,7 @@ md5sums=('5f64180fe7df4e574dac5911b78f5067' 'f36222e7ce20c8e4dc27376f9be60f6c' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' - '38e4df6e10a2f47243155ccf3313c46f') + 'e584ba40e137198ed196e58772838262') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. unset source[${#source[@]}-1] diff --git a/libre/linux-libre-lts/linux-libre-lts.install b/libre/linux-libre-lts/linux-libre-lts.install index 257356678..e718a1f5f 100644 --- a/libre/linux-libre-lts/linux-libre-lts.install +++ b/libre/linux-libre-lts/linux-libre-lts.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME=-lts -KERNEL_VERSION=3.0.48-1-LIBRE-LTS +KERNEL_VERSION=3.0.49-1-LIBRE-LTS # set a sane PATH to ensure that critical utils like depmod will be found export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 7749728a3..c48d12472 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -10,10 +10,10 @@ pkgbase=linux-libre # Build stock -LIBRE kernel #pkgbase=linux-libre-custom # Build kernel with a different name _basekernel=3.6 -_sublevel=3 +_sublevel=4 pkgver=${_basekernel}.${_sublevel} pkgrel=1 -_lxopkgver=${_basekernel}.3 # nearly always the same as pkgver +_lxopkgver=${_basekernel}.4 # nearly always the same as pkgver arch=('i686' 'x86_64' 'mips64el') url="http://linux-libre.fsfla.org/" license=('GPL2') @@ -33,7 +33,7 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn 'module-init-wait-3.6.patch' "http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2") md5sums=('a2312edd0265b5b07bd4b50afae2b380' - '844bd14e9f58225274e096c31bbb8a8f' + '71451d3fdb67db17581393a061bf9516' 'e4a3a4677e1fac6ecf0e0fb44c41ca08' '68fc36a4efb6ade0eca409b9444fef0c' 'e49ac236dfeef709f91a3d993ea7b62c' @@ -43,7 +43,7 @@ md5sums=('a2312edd0265b5b07bd4b50afae2b380' '9d3c56a4b999c8bfbd4018089a62f662' '670931649c60fcb3ef2e0119ed532bd4' '8a71abc4224f575008f974a099b5cf6f' - '656c0ceb21fe98a3d18e35201755efd1') + 'ba95fd06943438f0cf54d1818e034fcc') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. unset source[${#source[@]}-1] diff --git a/libre/linux-libre/linux-libre.install b/libre/linux-libre/linux-libre.install index e327cd7ea..681b322af 100644 --- a/libre/linux-libre/linux-libre.install +++ b/libre/linux-libre/linux-libre.install @@ -2,7 +2,7 @@ # arg 2: the old package version KERNEL_NAME= -KERNEL_VERSION=3.6.3-1-LIBRE +KERNEL_VERSION=3.6.4-1-LIBRE # set a sane PATH to ensure that critical utils like depmod will be found export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' diff --git a/libre/lirc-libre/PKGBUILD b/libre/lirc-libre/PKGBUILD index 2eb06442a..2d7f3be5f 100644 --- a/libre/lirc-libre/PKGBUILD +++ b/libre/lirc-libre/PKGBUILD @@ -6,7 +6,7 @@ _pkgbase=lirc pkgbase=lirc-libre pkgname=('lirc-libre' 'lirc-utils-libre') pkgver=0.9.0 -pkgrel=33 +pkgrel=34 epoch=1 _extramodules=extramodules-3.6-LIBRE arch=('i686' 'x86_64' 'mips64el') @@ -121,4 +121,4 @@ md5sums=('b232aef26f23fe33ea8305d276637086' 'dab8a73bcc5fd5479d8750493d8d97dc' 'c2e20fe68b034df752dba2773db16ebe' '07131d117fcfe9dcd50c453c3a5e9531' - 'febf25c154a7d36f01159e84f26c2d9a') \ No newline at end of file + 'febf25c154a7d36f01159e84f26c2d9a') diff --git a/libre/ogre-libre/PKGBUILD b/libre/ogre-libre/PKGBUILD new file mode 100644 index 000000000..673ee8435 --- /dev/null +++ b/libre/ogre-libre/PKGBUILD @@ -0,0 +1,131 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase +# Maintainer (Parabola): Márcio Silva + +pkgbase=ogre +pkgname=( + ogre-libre + #ogre-docs +) +pkgver=1.8.1 +pkgrel=2 +pkgdesc='A scene-oriented, flexible 3D engine written in C++, without nonfree nvidia-cg-toolkit support' +arch=( + i686 + x86_64 + mips64el +) +url="http://www.${pkgbase}3d.org" +license=( + 'custom:MIT' +) +depends=( + boost-libs + freeimage + freetype2 + libxaw + libxrandr + zziplib + ois + glu +) +makedepends=( + boost + cmake + doxygen + graphviz + ttf-dejavu + mesa +) +install=$pkgbase.install +source=( + "https://downloads.sourceforge.net/$pkgbase/${pkgbase}_src_v${pkgver//./-}.tar.bz2" +) +sha512sums=( + 0bbce593e5a9ebf51e3cb53661f6447d99ae28a53365d7f518c6d408216690527ef7552385160cff8d5c3ef15d3ab5c2520ef2c1f51fda5541d5d4dca4663ae2 +) + +build() { + cd $srcdir/${pkgbase}_src_v${pkgver//./-} + + # get a clean build dir + [[ -d build ]] && rm -rf build + mkdir build && cd build + + # generate CMake Makefile + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -D${pkgbase^^}_INSTALL_PLUGINS_HEADERS=TRUE \ + -D${pkgbase^^}_INSTALL_SAMPLES=TRUE \ + -D${pkgbase^^}_INSTALL_DOCS=TRUE \ + -D${pkgbase^^}_INSTALL_MEDIA=TRUE \ + -D${pkgbase^^}_INSTALL_SAMPLES_SOURCE=TRUE \ + -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version + + # compile + make + + # generate docs + if [[ $(which dot) && $(which doxygen) ]]; then + make doc + fi +} + +package_ogre-libre() { + optdepends=( + 'cppunit: unit testing' + 'intel-tbb: better threading support' + 'poco: portability' + "boost: for developing using $pkgbase" + "$pkgbase-docs: documentation" + ) + provides=( + $pkgbase=$pkgver + ) + conflicts=( + $pkgbase + ) + replaces=( + $pkgbase + ) + + cd $srcdir/${pkgbase}_src_v${pkgver//./-}/build + + # install the bugger + make DESTDIR=$pkgdir install + + # fix up samples + install -dm775 -o root -g users $pkgdir/opt/${pkgbase^^}/samples + mv $pkgdir/usr/share/${pkgbase^^}/*.cfg $pkgdir/opt/${pkgbase^^}/samples + mv $pkgdir/usr/bin/SampleBrowser $pkgdir/opt/${pkgbase^^}/samples + + # make sample launcher + echo '#!/bin/bash' > $pkgdir/usr/bin/${pkgbase^}SampleBrowser + echo 'cd /opt/${pkgbase^^}/samples && ./SampleBrowser' >> $pkgdir/usr/bin/${pkgbase^}SampleBrowser + chmod +x $pkgdir/usr/bin/${pkgbase^}SampleBrowser + + # install license + install -Dm644 ../Docs/License.html $pkgdir/usr/share/licenses/$pkgbase/license.html + + # move docs out of this package + mv $pkgdir/usr/share/${pkgbase^^}/docs $srcdir/docs +} + +package_ogre-docs() { + pkgdesc="Documentation for $pkgbase" + depends=( + ) + + cd $srcdir/${pkgbase}_src_v${pkgver//./-}/build + + # move docs into this package + install -dm755 $pkgdir/usr/share/doc + mv $srcdir/docs $pkgdir/usr/share/doc/${pkgbase^^} + + # symlink for docs + install -dm755 $pkgdir/usr/share/${pkgbase^^} + cd $pkgdir/usr/share + ln -s doc/${pkgbase^^} ${pkgbase^^}/docs +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/ogre-libre/ogre.install b/libre/ogre-libre/ogre.install new file mode 100644 index 000000000..5db668d9e --- /dev/null +++ b/libre/ogre-libre/ogre.install @@ -0,0 +1,4 @@ +post_install() { + echo "To view the OGRE samples just run OgreSampleBrowser or launch" + echo "it directly in /opt/OGRE/samples/" +} diff --git a/libre/virtualbox-libre-modules/PKGBUILD b/libre/virtualbox-libre-modules/PKGBUILD index d48e9d9ab..1ecee7b2c 100644 --- a/libre/virtualbox-libre-modules/PKGBUILD +++ b/libre/virtualbox-libre-modules/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=virtualbox-libre-modules pkgname=('virtualbox-libre-host-modules' 'virtualbox-libre-guest-modules') pkgver=4.2.4 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://virtualbox.org' license=('GPL') -- cgit v1.2.3-54-g00ecf