2011-12-23 08:54:39 +00:00
|
|
|
# Template file for 'skypetab-ng'
|
|
|
|
pkgname=skypetab-ng
|
2014-03-09 17:16:42 +00:00
|
|
|
version=20140309
|
2014-03-09 17:37:10 +00:00
|
|
|
revision=2
|
2013-04-14 10:31:59 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libX11-devel qt-devel"
|
2014-03-09 17:16:42 +00:00
|
|
|
depends="skype libskypetab-ng-${version}_${revision}"
|
2011-12-23 08:54:39 +00:00
|
|
|
short_desc="A program that adds tabs to Skype for Linux"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://keks-n.net/skypetab"
|
|
|
|
license="GPL"
|
|
|
|
|
|
|
|
only_for_archs=i686
|
2014-03-09 17:16:42 +00:00
|
|
|
lib32mode="full"
|
2011-12-23 08:54:39 +00: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 10:31:59 +00:00
|
|
|
do_configure() {
|
|
|
|
qmake
|
2011-12-23 08:54:39 +00:00
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
do_build() {
|
2011-12-23 08:54:39 +00:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
do_install() {
|
2011-12-23 08:54:39 +00:00
|
|
|
make ${makejobs} INSTALL_ROOT=${DESTDIR} install
|
|
|
|
chmod +x "${DESTDIR}/usr/share/applications/${pkgname}.desktop"
|
2014-03-09 17:16:42 +00:00
|
|
|
sed -i -e "s|LD_PRELOAD=|LD_PRELOAD=/usr/lib32/|" \
|
|
|
|
"${DESTDIR}/usr/bin/skypetab-ng"
|
|
|
|
}
|
|
|
|
|
|
|
|
libskypetab-ng_package() {
|
2014-03-09 17:37:10 +00:00
|
|
|
# XXX unset this for now, must be fixed properly.
|
|
|
|
unset lib32mode
|
2014-03-09 17:16:42 +00:00
|
|
|
short_desc+=" - shared LD_PRELOAD library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
2011-12-23 08:54:39 +00:00
|
|
|
}
|