Merge pull request #99 from giresun28/master

marble
This commit is contained in:
Giresun 2016-10-26 20:40:03 +03:00 committed by GitHub
commit 45c00bc250
3 changed files with 52 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Description : This package going install KDE5 Applications # Description : This package going install KDE5 Applications
# URL: https://www.kde.org/ # URL: https://www.kde.org/
# Packager: alihan-ozturk28@hotmail.com # Packager: alihan-ozturk28@hotmail.com
# Depends on: akonadi akonadi-calendar akonadi-search akonadi-contacts akonadi-mime akonadi-notes calendarsupport eventviews ffmpegthumbs grantleetheme incidenceeditor kaccounts-integration kaccounts-providers kalarmcal kblog kcalcore kcalutils kcontacts kdegraphics-thumbnailers kdenlive kdepim kdepim-addons kdepim-apps-libs kdepim-runtime kdgantt2 kdiamond khelpcenter kholidays kidentitymanagement kimap kldap kmahjongg kmailtransport kmbox kmime kmix kontactinterface kpat kpimtextedit ktnef libgravatar libkdcraw libkdegames libkdepim libkexiv2 libkgapi libkipi libkleo libkmahjongg libksane libksieve mailcommon mailimporter messagelib pimcommon signon-kwallet-extension syndication telepathy trojita # Depends on: akonadi akonadi-calendar akonadi-search akonadi-contacts akonadi-mime akonadi-notes calendarsupport eventviews ffmpegthumbs grantleetheme incidenceeditor kaccounts-integration kaccounts-providers kalarmcal kblog kcalcore kcalutils kcontacts kdegraphics-thumbnailers kdenlive kdepim kdepim-addons kdepim-apps-libs kdepim-runtime kdgantt2 kdiamond khelpcenter kholidays kidentitymanagement kimap kldap kmahjongg kmailtransport kmbox kmime kmix kontactinterface kpat kpimtextedit ktnef libgravatar libkdcraw libkdegames libkdepim libkexiv2 libkgapi libkipi libkleo libkmahjongg libksane libksieve mailcommon mailimporter marble messagelib pimcommon signon-kwallet-extension syndication telepathy trojita
name=kde-extra name=kde-extra
release=1 release=1

View File

@ -0,0 +1,19 @@
# Description: A shared library that can be used for location-based services.
# URL: http://sourceforge.net/projects/libwlocate
# Packager: alihan-ozturk28@hotmail.com
# Depends on: wireless-tools
name=libwlocate
version=0.1
release=1
source=( https://github.com/openwifi-su/lwlocate/archive/v$version.tar.gz)
build() {
cd lwlocate-$version/master
make -f Makelib
make
install -Dm644 libwlocate.so $PKG/usr/lib/libwlocate.so
install -Dm644 libwlocate.h $PKG/usr/include/libwlocate.h
install -Dm755 lwtrace $PKG/usr/bin/lwtrace
}

View File

@ -0,0 +1,32 @@
# Description: Desktop Globe
# URL: https://www.kde.org/applications/system/marble
# Packager: alihan-ozturk28@hotmail.com
# Depends on: kf5-extra-cmake-modules qt5 qt5-webkit libwlocate kf5-kdoctools kf5-kio kf5-kparts kf5-knewstuff kf5-kcrash kf5-kcoreaddons kf5-ki18n kf5-kwallet kf5-krunner
name=marble
version=16.08.1
release=1
source=(http://download.kde.org/stable/applications/$version/src/$name-$version.tar.xz)
build() {
mkdir -p build
sed -e '/mobile/d' \
-e '/qt/d' \
-e '/Quick/d' \
-e '/touch/d' \
-i $name-$version/src/apps/CMakeLists.txt
cd build
cmake ../$name-$version \
-DWITH_libshp=OFF \
-DWITH_libgps=OFF \
-DWITH_QextSerialPort=OFF \
-DWITH_liblocation=OFF \
-DBUILD_MARBLE_TOOLS=YES \
-DBUILD_TESTING=OFF \
-DBUILD_MARBLE_EXAMPLES=OFF \
-DBUILD_MARBLE_TESTS=OFF \
-DMOBILE=OFF
make
make DESTDIR=$PKG install
}