[arch-commits] Commit in rss-glx/repos (4 files)

Antonio Rojas arojas at archlinux.org
Mon Dec 4 08:14:29 UTC 2017


    Date: Monday, December 4, 2017 @ 08:14:28
  Author: arojas
Revision: 272093

archrelease: copy trunk to community-staging-x86_64

Added:
  rss-glx/repos/community-staging-x86_64/
  rss-glx/repos/community-staging-x86_64/PKGBUILD
    (from rev 272092, rss-glx/trunk/PKGBUILD)
  rss-glx/repos/community-staging-x86_64/rss-glx-desktops.tar.bz2
    (from rev 272092, rss-glx/trunk/rss-glx-desktops.tar.bz2)
  rss-glx/repos/community-staging-x86_64/rss-glx.install
    (from rev 272092, rss-glx/trunk/rss-glx.install)

-----------------+
 PKGBUILD        |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 rss-glx.install |    7 +++++++
 2 files changed, 56 insertions(+)

Copied: rss-glx/repos/community-staging-x86_64/PKGBUILD (from rev 272092, rss-glx/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-12-04 08:14:28 UTC (rev 272093)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Corrado 'bardo' Primier <corrado.primier at mail.polimi.it>
+# Contributor: Tate "Tatey" Johnson <tatey86 at tpg.com.au>
+
+pkgname=rss-glx
+pkgver=0.9.1
+pkgrel=33
+pkgdesc="The Really Slick Screensavers port to GLX"
+arch=('x86_64')
+url="http://rss-glx.sourceforge.net/"
+license=('GPL')
+depends=('freealut' 'glew' 'libmagick6' 'glu')
+optdepends=('xscreensaver: xscreensaver integration')
+install=rss-glx.install
+source=(http://downloads.sourceforge.net/rss-glx/${pkgname}_${pkgver}.tar.bz2
+        rss-glx-desktops.tar.bz2)
+md5sums=('a772bd143cd8d141edf4d9eff9860ab3'
+         '4211215c9a4918b0dff30a7000647dd9')
+
+build() {
+  cd ${pkgname}_${pkgver}
+
+  [ "$CARCH" = "x86_64" ] && (sed -i -e 's|@LIBS@|@LIBS@ -fopenmp|g' src/Makefile.in)
+
+  PKG_CONFIG_PATH="/usr/lib/imagemagick6/pkgconfig" \
+  ./configure --prefix=/usr \
+    --mandir=/usr/share/man \
+    --program-transform-name='s/plasma/plasma_rss/' \
+    --with-configdir=/usr/share/xscreensaver/config \
+    --with-kdessconfigdir=/usr/share/applnk/System/ScreenSavers \
+    --enable-shared=yes --enable-static=no
+  make CFLAGS="$CFLAGS -I/usr/include/ImageMagick"
+}
+
+package() {
+  cd ${pkgname}_${pkgver}
+  make DESTDIR="${pkgdir}" install
+
+  # FS#18300
+  install -d "${pkgdir}/usr/lib/xscreensaver/"
+  list=$(ls "${pkgdir}/usr/bin" --ignore rss-glx_install.pl)
+  for i in $list; do
+    ln -s "/usr/bin/$i" "$pkgdir/usr/lib/xscreensaver/"
+  done
+
+  install -d "${pkgdir}/usr/share/applications/screensavers"
+  install -m644 "${srcdir}"/${pkgname}-desktops/*.desktop "${pkgdir}/usr/share/applications/screensavers"
+}

Copied: rss-glx/repos/community-staging-x86_64/rss-glx-desktops.tar.bz2 (from rev 272092, rss-glx/trunk/rss-glx-desktops.tar.bz2)
===================================================================
(Binary files differ)

Copied: rss-glx/repos/community-staging-x86_64/rss-glx.install (from rev 272092, rss-glx/trunk/rss-glx.install)
===================================================================
--- community-staging-x86_64/rss-glx.install	                        (rev 0)
+++ community-staging-x86_64/rss-glx.install	2017-12-04 08:14:28 UTC (rev 272093)
@@ -0,0 +1,7 @@
+post_install() {
+  cat << 'EOM'
+  --> If you want to integrate the RSS screen savers with xscreensaver
+  --> for your user, then install the xscreensaver package and launch
+  --> the command "rss-glx_install.pl"
+EOM
+}



More information about the arch-commits mailing list