From 170b13ba1f08f736011a0b0418f37fb6ffbae982 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Tue, 11 Sep 2012 19:00:20 -0300 Subject: go back to libdrm-git package --- pcr/libdrm-git/COPYING | 48 ++++++++++++++++++ pcr/libdrm-git/PKGBUILD | 106 +++++++++++++++++++++++++++++++++++++++ pcr/libdrm-libre-git/COPYING | 48 ------------------ pcr/libdrm-libre-git/PKGBUILD | 113 ------------------------------------------ 4 files changed, 154 insertions(+), 161 deletions(-) create mode 100644 pcr/libdrm-git/COPYING create mode 100644 pcr/libdrm-git/PKGBUILD delete mode 100644 pcr/libdrm-libre-git/COPYING delete mode 100644 pcr/libdrm-libre-git/PKGBUILD (limited to 'pcr') diff --git a/pcr/libdrm-git/COPYING b/pcr/libdrm-git/COPYING new file mode 100644 index 000000000..6e74c337c --- /dev/null +++ b/pcr/libdrm-git/COPYING @@ -0,0 +1,48 @@ + Copyright 2005 Adam Jackson. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation on the rights to use, copy, modify, merge, + publish, distribute, sub license, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial + portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +------------------------------------------------------------------------ + + Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. + Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. + All Rights Reserved. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice (including the + next paragraph) shall be included in all copies or substantial + portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS + SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. diff --git a/pcr/libdrm-git/PKGBUILD b/pcr/libdrm-git/PKGBUILD new file mode 100644 index 000000000..94b7dca85 --- /dev/null +++ b/pcr/libdrm-git/PKGBUILD @@ -0,0 +1,106 @@ +# Maintainer: Jan de Groot +# Maintainer (Parabola): Márcio Silva + +pkgname=libdrm-git +pkgver=$(LC_ALL=C date -u +%Y%m%d) +_pkgver=2.4.39 +pkgrel=1 +pkgdesc='Userspace interface to kernel DRM services' +arch=( + i686 + x86_64 + mips64el +) +license=( + MIT +) +depends=( + libpciaccess + ) +makedepends=( + cairo + git + valgrind +) +options=( + !libtool +) +url=http://dri.freedesktop.org/ +provides=( + ${pkgname%-git}=$_pkgver + ${pkgname%-git}-nouveau1 +) +conflicts=( + ${pkgname%-git} + ${pkgname%-git}-new + ${pkgname%-git}-nouveau + ${pkgname%-git}-nouveau1 + ${pkgname%-git}-old +) +replaces=( + ${pkgname%-git}-new + ${pkgname%-git}-nouveau +) +source=( + COPYING +) +sha512sums=( + b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660 +) + +_gitroot=git://git.freedesktop.org/git/mesa/drm +_gitname=drm + +build() { + cd $srcdir + msg 'Connecting to GIT server....' + + if [[ -d $_gitname ]]; then + cd $_gitname && git pull origin + msg 'The local files are updated.' + else + git clone $_gitroot $_gitname + fi + + msg 'GIT checkout done or server timeout' + msg 'Starting build...' + + rm -rf $srcdir}/$_gitname-build + git clone $srcdir/$_gitname $srcdir/$_gitname-build + cd $srcdir/$_gitname-build + + sed -i '/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)/d;/AC_SUBST(PTHREADSTUBS_CFLAGS)/d;/AC_SUBST(PTHREADSTUBS_LIBS)/d' \ + configure.ac + sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ + exynos/Makefile.am + sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;/ @PTHREADSTUBS_LIBS@ /d' \ + intel/Makefile.am + sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ + nouveau/Makefile.am + sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ + omap/Makefile.am + sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ + radeon/Makefile.am + + ./autogen.sh --prefix=/usr \ + --enable-exynos-experimental-api \ + --enable-intel \ + --enable-nouveau \ + --enable-omap-experimental-api \ + --enable-radeon \ + --enable-udev \ + --enable-vmwgfx + make V=0 +} + +check() { + cd $srcdir/$_gitname-build + make -k check +} + +package() { + cd $srcdir/$_gitname-build + make DESTDIR=$pkgdir install + install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-git} + install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-git} +} diff --git a/pcr/libdrm-libre-git/COPYING b/pcr/libdrm-libre-git/COPYING deleted file mode 100644 index 6e74c337c..000000000 --- a/pcr/libdrm-libre-git/COPYING +++ /dev/null @@ -1,48 +0,0 @@ - Copyright 2005 Adam Jackson. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation on the rights to use, copy, modify, merge, - publish, distribute, sub license, and/or sell copies of the Software, - and to permit persons to whom the Software is furnished to do so, - subject to the following conditions: - - The above copyright notice and this permission notice (including the - next paragraph) shall be included in all copies or substantial - portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ------------------------------------------------------------------------- - - Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. - Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. - All Rights Reserved. - - Permission is hereby granted, free of charge, to any person obtaining - a copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice (including the - next paragraph) shall be included in all copies or substantial - portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS - SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. diff --git a/pcr/libdrm-libre-git/PKGBUILD b/pcr/libdrm-libre-git/PKGBUILD deleted file mode 100644 index 37c7066fc..000000000 --- a/pcr/libdrm-libre-git/PKGBUILD +++ /dev/null @@ -1,113 +0,0 @@ -# Maintainer: Jan de Groot -# Maintainer (Parabola): Márcio Silva - -pkgname=libdrm-libre-git -pkgver=20120909 -_pkgver=2.4.39 -pkgrel=1 -pkgdesc='Userspace interface to kernel DRM services, without VMWare Graphics KMS API (vmwgfx)' -arch=( - i686 - x86_64 - mips64el -) -license=( - MIT -) -depends=( - libpciaccess - ) -makedepends=( - cairo - git - valgrind -) -options=( - !libtool -) -url=http://dri.freedesktop.org/ -provides=( - ${pkgname%-libre-git}=$_pkgver - ${pkgname%-libre-git}-libre=$_pkgver - ${pkgname%-libre-git}-git - ${pkgname%-libre-git}-nouveau1 -) -conflicts=( - ${pkgname%-libre-git} - ${pkgname%-libre-git}-libre - ${pkgname%-libre-git}-git - ${pkgname%-libre-git}-new - ${pkgname%-libre-git}-nouveau - ${pkgname%-libre-git}-nouveau1 - ${pkgname%-libre-git}-old -) -replaces=( - ${pkgname%-libre-git} - ${pkgname%-libre-git}-git - ${pkgname%-libre-git}-new - ${pkgname%-libre-git}-nouveau -) -source=( - COPYING -) -sha512sums=( - b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660 -) - -_gitroot=git://git.freedesktop.org/git/mesa/drm -_gitname=drm - -build() { - cd $srcdir - msg 'Connecting to GIT server....' - - if [[ -d $_gitname ]]; then - cd $_gitname && git pull origin - msg 'The local files are updated.' - else - git clone $_gitroot $_gitname - fi - - msg 'GIT checkout done or server timeout' - msg 'Starting build...' - - rm -rf $srcdir}/$_gitname-build - git clone $srcdir/$_gitname $srcdir/$_gitname-build - cd $srcdir/$_gitname-build - - sed -i '/PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)/d;/AC_SUBST(PTHREADSTUBS_CFLAGS)/d;/AC_SUBST(PTHREADSTUBS_LIBS)/d' \ - configure.ac - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - exynos/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;/ @PTHREADSTUBS_LIBS@ /d' \ - intel/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - nouveau/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - omap/Makefile.am - sed -i '/ $(PTHREADSTUBS_CFLAGS) /d;s/ @PTHREADSTUBS_LIBS@//' \ - radeon/Makefile.am - - ./autogen.sh - ./configure --prefix=/usr \ - --disable-vmwgfx \ - --enable-exynos-experimental-api \ - --enable-intel \ - --enable-nouveau \ - --enable-omap-experimental-api \ - --enable-radeon \ - --enable-udev - make V=0 -} - -check() { - cd $srcdir/$_gitname-build - make -k check -} - -package() { - cd $srcdir/$_gitname-build - make DESTDIR=$pkgdir install - install -m755 -d $pkgdir/usr/share/licenses/${pkgname%-libre-git} - install -m644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-libre-git} -} -- cgit v1.2.3-54-g00ecf