diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2013-12-28 09:54:08 +0100 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-01-07 11:13:06 -0600 |
commit | 8a3bcb5661f7a9e3f9ef7a2cea64f377dcefe50f (patch) | |
tree | 2fc42411782377edcdbbacfcebe7867195945b34 /desktop | |
parent | 0b86776b36c3fc88d7b5f89c1b49f797cfb44dcf (diff) |
desktop/oxygen-transparent: Added (Transp. vers. of oxygen theme).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/oxygen-transparent/README | 4 | ||||
-rw-r--r-- | desktop/oxygen-transparent/oxygen-transparent.SlackBuild | 96 | ||||
-rw-r--r-- | desktop/oxygen-transparent/oxygen-transparent.info | 10 | ||||
-rw-r--r-- | desktop/oxygen-transparent/slack-desc | 19 |
4 files changed, 129 insertions, 0 deletions
diff --git a/desktop/oxygen-transparent/README b/desktop/oxygen-transparent/README new file mode 100644 index 000000000000..396f17b28078 --- /dev/null +++ b/desktop/oxygen-transparent/README @@ -0,0 +1,4 @@ +Oxygen style and decoration with support for transparency. This is an +official branch of the KDE oxygen style. It is kept in sync with the +official oxygen style, and adds support of full transparency on the +windows. diff --git a/desktop/oxygen-transparent/oxygen-transparent.SlackBuild b/desktop/oxygen-transparent/oxygen-transparent.SlackBuild new file mode 100644 index 000000000000..2158440b1e6c --- /dev/null +++ b/desktop/oxygen-transparent/oxygen-transparent.SlackBuild @@ -0,0 +1,96 @@ +#!/bin/sh + +# Slackware build script for oxygen-transparent + +# Copyright 2013 Heinz Wiesinger, Amsterdam, The Netherlands +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=oxygen-transparent +VERSION=34095be +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +KDEPREF=$(kde4-config --prefix) + +cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX="$KDEPREF" \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + . + +make +make install DESTDIR=$PKG + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/desktop/oxygen-transparent/oxygen-transparent.info b/desktop/oxygen-transparent/oxygen-transparent.info new file mode 100644 index 000000000000..eccbb59d4919 --- /dev/null +++ b/desktop/oxygen-transparent/oxygen-transparent.info @@ -0,0 +1,10 @@ +PRGNAM="oxygen-transparent" +VERSION="34095be" +HOMEPAGE="http://kde-look.org/content/show.php?content=127752" +DOWNLOAD="http://www.liwjatan.at/files/src/oxygen-transparent/oxygen-transparent-34095be.tar.xz" +MD5SUM="ec7fcee0e56021250efa8cce51a4400e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Heinz Wiesinger" +EMAIL="pprkut@liwjatan.at" diff --git a/desktop/oxygen-transparent/slack-desc b/desktop/oxygen-transparent/slack-desc new file mode 100644 index 000000000000..8ba55342a08c --- /dev/null +++ b/desktop/oxygen-transparent/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +oxygen-transparent: oxygen-transparent (Transparent version of the KDE Oxygen style) +oxygen-transparent: +oxygen-transparent: Oxygen style and decoration with support for transparency. This is an +oxygen-transparent: official branch of the KDE oxygen style. It is kept in sync with the +oxygen-transparent: official oxygen style, and adds support of full transparency on the +oxygen-transparent: windows. +oxygen-transparent: +oxygen-transparent: Homepage: http://kde-look.org/content/show.php?content=127752 +oxygen-transparent: +oxygen-transparent: +oxygen-transparent: |