From 5b3474881a154216b47c6e154552ee5f9c68c509 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Jul 2012 00:02:30 +0000 Subject: Tue Jul 31 00:02:29 UTC 2012 --- community-testing/rss-glx/PKGBUILD | 49 +++++++++++++++++++++ community-testing/rss-glx/rss-glx-desktops.tar.bz2 | Bin 0 -> 2204 bytes community-testing/rss-glx/rss-glx.install | 12 +++++ 3 files changed, 61 insertions(+) create mode 100644 community-testing/rss-glx/PKGBUILD create mode 100644 community-testing/rss-glx/rss-glx-desktops.tar.bz2 create mode 100644 community-testing/rss-glx/rss-glx.install (limited to 'community-testing/rss-glx') diff --git a/community-testing/rss-glx/PKGBUILD b/community-testing/rss-glx/PKGBUILD new file mode 100644 index 000000000..1d106b1ff --- /dev/null +++ b/community-testing/rss-glx/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 74520 2012-07-29 21:16:20Z ebelanger $ +# Maintainer : Ionut Biru +# Contributor: Corrado 'bardo' Primier +# Contributor: Tate "Tatey" Johnson + +pkgname=rss-glx +pkgver=0.9.1 +pkgrel=9 +pkgdesc="The Really Slick Screensavers port to GLX" +arch=('i686' 'x86_64') +url="http://rss-glx.sourceforge.net/" +license=('GPL') +depends=('desktop-file-utils' 'freealut' 'glew' 'imagemagick') +optdepends=('xscreensaver: xscreensaver integration') +install=rss-glx.install +options=('!libtool') +source=(http://downloads.sourceforge.net/rss-glx/${pkgname}_${pkgver}.tar.bz2 + rss-glx-desktops.tar.bz2) +md5sums=('a772bd143cd8d141edf4d9eff9860ab3' + '4211215c9a4918b0dff30a7000647dd9') + +build() { + cd ${srcdir}/${pkgname}_${pkgver} + + [ "$CARCH" = "x86_64" ] && (sed -i -e 's|@LIBS@|@LIBS@ -fopenmp|g' src/Makefile.in) + + ./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 ${srcdir}/${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 +} diff --git a/community-testing/rss-glx/rss-glx-desktops.tar.bz2 b/community-testing/rss-glx/rss-glx-desktops.tar.bz2 new file mode 100644 index 000000000..940fd5277 Binary files /dev/null and b/community-testing/rss-glx/rss-glx-desktops.tar.bz2 differ diff --git a/community-testing/rss-glx/rss-glx.install b/community-testing/rss-glx/rss-glx.install new file mode 100644 index 000000000..758642618 --- /dev/null +++ b/community-testing/rss-glx/rss-glx.install @@ -0,0 +1,12 @@ +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 + update-desktop-database -q +} + +post_remove() { + update-desktop-database -q +} -- cgit v1.2.3-54-g00ecf