void-packages/srcpkgs/smtube/template

22 lines
745 B
Bash

# Template file for 'smtube'
pkgname=smtube
version=17.1.0
revision=1
build_style=gnu-makefile
hostmakedepends="qt5-host-tools qt5-script-devel qt5-tools-devel qt5-webkit-devel"
makedepends="zlib-devel qt5-script-devel qt5-tools-devel qt5-webkit-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="A small youtube browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.smtube.org/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=c128f52bfb71ca2ba1d4b8178ed1466d1b3befa29b081893876cdb93272ee4cd
pre_build() {
export QMAKE_OPTS="QMAKE_CXXFLAGS=\"${CXXFLAGS}\" QMAKE_LFLAGS=\"${LDFLAGS}\""
}
do_build() {
make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX" LD="$CXX"
}