Commit 8e6aad53 authored by AlmAck's avatar AlmAck
Browse files

Removed hotot, qtwitter and qtweetlib FS#1417

parent 3e713a05
# Maintainer: <franzmari[at]chakra-project[dot]it>
pkgname=hotot
pkgver=0.9.8.16
pkgrel=4
epoch=1
pkgdesc="A lightweight & open source microblogging software (twitter identi.ca)"
arch=('x86_64')
url="http://www.hotot.org/"
license=('LGPL3')
depends=('hicolor-icon-theme' 'kde-runtime' 'qt5-base')
makedepends=('cmake' 'intltool' 'python2')
install="hotot.install"
source=("https://github.com/ManiacTwister/Hotot/archive/${pkgver}.tar.gz")
md5sums=('5cae5f3b757dfdd476f68697959121f2')
build() {
cd ${srcdir}/Hotot-${pkgver}
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_GTK=OFF \
-DWITH_GIR=OFF \
-DWITH_QT=ON \
-DWITH_KDE=ON \
-DWITH_CHROME=OFF \
-DPYTHON_EXECUTABLE=/usr/bin/python2
make
}
package() {
cd Hotot-$pkgver/build
make DESTDIR="$pkgdir/" install
# remove google analytics tracking
find "$pkgdir" -name hotot.js -exec \
sed -i '/\/\/ 7. run track code/,+12d' {} \;
# fix user retweets error
find "$pkgdir" -name lib.twitter.js -exec \
sed -i 's/1\/statuses\/retweeted_by/1.1\/statuses\/retweets_of/' {} \;
find "$pkgdir" -name lib.twitter.js -exec \
sed -i 's/1\/statuses\/retweeted_to_me/1.1\/statuses\/retweets_of_me/' {} \;
# remove double entry:
rm $pkgdir/usr/share/applications/hotot.desktop
}
post_install() {
update-desktop-database -q
echo '##############################'
echo 'Retweets by others and Retweets by me were removed in Twitter
API v1.1'
echo 'You will only see your tweets retweeted'
echo '##############################'
echo 'To see your local Trending Topic in Twitter'
echo 'edit your /usr/share/hotot/js/lib.twitter.js following this
thread:'
echo 'http://chakraos.org/forum/viewtopic.php?pid=77820#p77820'
echo '##############################'
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
#
# Apps SC Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor kote martini438[at]gmail.com
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
# What type of build do you want?
# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
# Default is RelWithDebInfo to help with debugging.
_buildtype="RelWithDebInfo"
##############################################################
pkgname=qtweetlib
pkgver=0.5
pkgrel=1
pkgdesc="C++ Qt based Twitter library"
arch=('i686' 'x86_64')
url="https://github.com/minimoog/QTweetLib"
license=('GPL2')
depends=('qjson')
makedepends=('cmake')
provides=('qtweetlib')
conflicts=('qtweetlib-git')
options=(!strip)
source=(https://github.com/downloads/minimoog/QTweetLib/QTweetLib-$pkgver.tar.gz)
md5sums=('bf1a7cf45eb63479bf5d81d807b0d518')
# Clean options array to strip pkg if release buildtype is chosen
if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
options=()
fi
build(){
msg "Starting build..."
rm -rf ${srcdir}/${pkgname}-build
mv ${srcdir}/QTweetLib-${pkgver} ${srcdir}/${pkgname}-build
cd ${srcdir}/${pkgname}-build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_buildtype}
make
}
package() {
cd ${srcdir}/${pkgname}-build
make DESTDIR=${pkgdir} install
}
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Brett Murch <brettmurch[at]gmail[dot]com>
pkgname=qtwitter
pkgver=0.10.0
pkgrel=3
pkgdesc="Twitter Client for KDE"
arch=('i686' 'x86_64')
url=("http://qtwitter.ahoy.net")
license=('LGPL3')
depends=('qca-ossl' 'qoauth' 'qt>=4.5.0')
categories=('communication')
source=(http://files.ayoy.net/qtwitter/release/$pkgver/src/qtwitter-$pkgver-src.tar.gz)
md5sums=('cf91c87e29ab87d1043056a263c3af56')
build() {
cd $srcdir/qtwitter-$pkgver
sed -i s,"LIB_SUFFIX = 64","LIB_SUFFIX = ",g common.pri
qmake PREFIX=/usr
#qmake PLUGINS_DIR=/usr/lib/qtwitter/plugins PREFIX=/usr
make || return 1
make INSTALL_ROOT=$pkgdir install || return 1
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment