summaryrefslogtreecommitdiff
path: root/multimedia/plex-home-theater
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 03:06:59 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:23 +0000
commitc2bcf861ff6ed4eb95f23f93c8f1523b24da83dd (patch)
tree99e5a7e58167413759ac21e2aaedd4caca6d0c55 /multimedia/plex-home-theater
parent9fc07c4028d780708fcbbcf3c6898752c64941bf (diff)
downloadslackbuilds-c2bcf861ff6ed4eb95f23f93c8f1523b24da83dd.tar.gz
multimedia/plex-home-theater: Make .desktop validate, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/plex-home-theater')
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.SlackBuild7
-rw-r--r--multimedia/plex-home-theater/plex-home-theater.desktop3
2 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/plex-home-theater/plex-home-theater.SlackBuild b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
index b13f2e9a9c..ed7ca38074 100644
--- a/multimedia/plex-home-theater/plex-home-theater.SlackBuild
+++ b/multimedia/plex-home-theater/plex-home-theater.SlackBuild
@@ -32,7 +32,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -129,6 +129,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/multimedia/plex-home-theater/plex-home-theater.desktop b/multimedia/plex-home-theater/plex-home-theater.desktop
index 988ab8ae89..b0f6879153 100644
--- a/multimedia/plex-home-theater/plex-home-theater.desktop
+++ b/multimedia/plex-home-theater/plex-home-theater.desktop
@@ -1,10 +1,9 @@
[Desktop Entry]
Name=Plex Home Theater
GenericName=Media Center
-Comment=Plex Home Theater
Exec=plex-home-theater
StartupNotify=true
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/plex-home-theater_512x512.png
-Categories=Audio;Music;Video;Player;Media;
+Categories=Audio;Music;Video;Player;AudioVideo;