diff options
author | Luis Henrique <lmello.009@gmail.com> | 2013-01-03 17:47:23 +0100 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-01-09 18:52:19 -0500 |
commit | 965310a0d54f6925c04e3e27e1d675515628e1ce (patch) | |
tree | 42a010fd783c22206b6c892360a43678f7109eaa /desktop | |
parent | 1c58865758e8b5f0005fa44eb0048a8cad22fc6d (diff) |
desktop/oxygen-gtk3: Added (GTK3 oxygen theme).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/oxygen-gtk3/README | 1 | ||||
-rw-r--r-- | desktop/oxygen-gtk3/oxygen-gtk3.SlackBuild | 72 | ||||
-rw-r--r-- | desktop/oxygen-gtk3/oxygen-gtk3.info | 10 | ||||
-rw-r--r-- | desktop/oxygen-gtk3/slack-desc | 19 |
4 files changed, 102 insertions, 0 deletions
diff --git a/desktop/oxygen-gtk3/README b/desktop/oxygen-gtk3/README new file mode 100644 index 000000000000..eb5b7b80a182 --- /dev/null +++ b/desktop/oxygen-gtk3/README @@ -0,0 +1 @@ +KDE's Oxygen widget theme, ported to GTK 3.X applications. diff --git a/desktop/oxygen-gtk3/oxygen-gtk3.SlackBuild b/desktop/oxygen-gtk3/oxygen-gtk3.SlackBuild new file mode 100644 index 000000000000..3d78b2540d26 --- /dev/null +++ b/desktop/oxygen-gtk3/oxygen-gtk3.SlackBuild @@ -0,0 +1,72 @@ +#!/bin/sh + +# Slackware build script for kde-gtk-config + +# Written by Luis Henrique <lmello.009@gmail.com> + +PRGNAM=oxygen-gtk3 +VERSION=${VERSION:-1.1.1} +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 -fr $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +mkdir -p build +cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=$LIBDIRSUFFIX .. + make VERBOSE=1 + make install DESTDIR=$PKG +cd .. + +find $PKG | xargs 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 AUTHORS COPYING INSTALL README TODO $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-gtk3/oxygen-gtk3.info b/desktop/oxygen-gtk3/oxygen-gtk3.info new file mode 100644 index 000000000000..53e7df222dd8 --- /dev/null +++ b/desktop/oxygen-gtk3/oxygen-gtk3.info @@ -0,0 +1,10 @@ +PRGNAM="oxygen-gtk3" +VERSION="1.1.1" +HOMEPAGE="https://projects.kde.org/projects/oxygen-gtk" +DOWNLOAD="ftp://ftp.kde.org/pub/kde/stable/oxygen-gtk3/1.1.1/src/oxygen-gtk3-1.1.1.tar.bz2" +MD5SUM="284139caf8a95a94bac1d82900745b4f" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="" +MAINTAINER="Luis Henrique" +EMAIL="lmello.009@gmail.com" diff --git a/desktop/oxygen-gtk3/slack-desc b/desktop/oxygen-gtk3/slack-desc new file mode 100644 index 000000000000..522e7e077ddc --- /dev/null +++ b/desktop/oxygen-gtk3/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 ':'. + + |-----handy-ruler------------------------------------------------------| +oxygen-gtk3: oxygen-gtk3 (GTK3 oxygen theme) +oxygen-gtk3: +oxygen-gtk3: This is the port of KDE oxygen theme for GTK3. +oxygen-gtk3: +oxygen-gtk3: homepage: https://projects.kde.org/projects/oxygen-gtk +oxygen-gtk3: +oxygen-gtk3: +oxygen-gtk3: +oxygen-gtk3: +oxygen-gtk3: +oxygen-gtk3: |