2011-12-23 09:54:39 +01:00
|
|
|
# Template file for 'skypetab-ng'
|
|
|
|
pkgname=skypetab-ng
|
2014-06-14 17:50:37 +02:00
|
|
|
version=20140614
|
|
|
|
revision=1
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="pkg-config git"
|
2013-04-14 12:31:59 +02:00
|
|
|
makedepends="libX11-devel qt-devel"
|
2014-03-09 18:16:42 +01:00
|
|
|
depends="skype libskypetab-ng-${version}_${revision}"
|
2011-12-23 09:54:39 +01:00
|
|
|
short_desc="A program that adds tabs to Skype for Linux"
|
2014-06-08 11:52:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-12-23 09:54:39 +01:00
|
|
|
homepage="http://keks-n.net/skypetab"
|
|
|
|
license="GPL"
|
|
|
|
|
|
|
|
only_for_archs=i686
|
2014-03-09 18:16:42 +01:00
|
|
|
lib32mode="full"
|
2014-06-14 17:50:37 +02:00
|
|
|
lib32depends="skype-32bit>=0 libskypetab-ng-${version}_${revision}"
|
2011-12-23 09:54:39 +01:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://github.com/kekekeks/${pkgname}.git"
|
|
|
|
msg_normal " Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
do_configure() {
|
|
|
|
qmake
|
2011-12-23 09:54:39 +01:00
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
do_build() {
|
2011-12-23 09:54:39 +01:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2013-04-14 12:31:59 +02:00
|
|
|
do_install() {
|
2011-12-23 09:54:39 +01:00
|
|
|
make ${makejobs} INSTALL_ROOT=${DESTDIR} install
|
|
|
|
chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
|
2014-03-09 18:16:42 +01:00
|
|
|
sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \
|
|
|
|
"${DESTDIR}/usr/bin/skypetab-ng"
|
|
|
|
}
|
|
|
|
|
|
|
|
libskypetab-ng_package() {
|
|
|
|
short_desc+=" - shared LD_PRELOAD library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
2011-12-23 09:54:39 +01:00
|
|
|
}
|