diff options
-rw-r--r-- | multimedia/spek/spek.SlackBuild | 18 | ||||
-rw-r--r-- | multimedia/spek/spek.info | 8 |
2 files changed, 14 insertions, 12 deletions
diff --git a/multimedia/spek/spek.SlackBuild b/multimedia/spek/spek.SlackBuild index b349f5933298..95bf344500b1 100644 --- a/multimedia/spek/spek.SlackBuild +++ b/multimedia/spek/spek.SlackBuild @@ -25,13 +25,14 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spek -VERSION=${VERSION:-0.8.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.8.3_07c13da27d} +GITVER=${GITVER:-07c13da27d9c2acfc713c63c21d123cae4b5ce65} +BUILD=${BUILD:-1} 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 @@ -42,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" @@ -61,9 +62,9 @@ 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 +rm -rf $PRGNAM-$GITVER +unzip $CWD/$PRGNAM-$GITVER.zip +cd $PRGNAM-$GITVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -71,6 +72,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/spek/spek.info b/multimedia/spek/spek.info index d5a75cceea68..1a8e8fe8880f 100644 --- a/multimedia/spek/spek.info +++ b/multimedia/spek/spek.info @@ -1,10 +1,10 @@ PRGNAM="spek" -VERSION="0.8.2" +VERSION="0.8.3_07c13da27d" HOMEPAGE="http://spek.cc" -DOWNLOAD="https://spek.googlecode.com/files/spek-0.8.2.tar.xz" -MD5SUM="57348e197e800f3f013ea393776b5396" +DOWNLOAD="https://github.com/alexkay/spek/archive/07c13da27d9c2acfc713c63c21d123cae4b5ce65/spek-07c13da27d9c2acfc713c63c21d123cae4b5ce65.zip" +MD5SUM="01d2fedeb747602d9da9bba2480bb220" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxPython ffmpeg" +REQUIRES="wxGTK3 ffmpeg" MAINTAINER="Eric Fernandes Ferreira" EMAIL="candelabrus@gmail.com" |