[arch-commits] Commit in xf86-video-sisusb/repos (4 files)

Andreas Radke andyrtr at archlinux.org
Tue Sep 5 18:06:49 UTC 2017


    Date: Tuesday, September 5, 2017 @ 18:06:48
  Author: andyrtr
Revision: 304704

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  xf86-video-sisusb/repos/testing-i686/
  xf86-video-sisusb/repos/testing-i686/PKGBUILD
    (from rev 304703, xf86-video-sisusb/trunk/PKGBUILD)
  xf86-video-sisusb/repos/testing-x86_64/
  xf86-video-sisusb/repos/testing-x86_64/PKGBUILD
    (from rev 304703, xf86-video-sisusb/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: xf86-video-sisusb/repos/testing-i686/PKGBUILD (from rev 304703, xf86-video-sisusb/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-09-05 18:06:48 UTC (rev 304704)
@@ -0,0 +1,36 @@
+# $Id$
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-sisusb
+pkgver=0.9.7
+pkgrel=1
+pkgdesc="X.org SiS USB video driver"
+arch=(i686 x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
+conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('f4400416b920cd1136d60d36b99d33f245cdeaf2ad6c1340936c7c0987761424')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+  # With them, module fail to load with undefined symbol.
+  # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
+  export CFLAGS=${CFLAGS/-fno-plt}
+  export CXXFLAGS=${CXXFLAGS/-fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}

Copied: xf86-video-sisusb/repos/testing-x86_64/PKGBUILD (from rev 304703, xf86-video-sisusb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-09-05 18:06:48 UTC (rev 304704)
@@ -0,0 +1,36 @@
+# $Id$
+#Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=xf86-video-sisusb
+pkgver=0.9.7
+pkgrel=1
+pkgdesc="X.org SiS USB video driver"
+arch=(i686 x86_64)
+url="https://xorg.freedesktop.org/"
+license=('custom')
+depends=('glibc')
+makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=23')
+conflicts=('xorg-server<1.19' 'X-ABI-VIDEODRV_VERSION<23' 'X-ABI-VIDEODRV_VERSION>=24')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('f4400416b920cd1136d60d36b99d33f245cdeaf2ad6c1340936c7c0987761424')
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+  # With them, module fail to load with undefined symbol.
+  # See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
+  export CFLAGS=${CFLAGS/-fno-plt}
+  export CXXFLAGS=${CXXFLAGS/-fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list