Projekty/Wsparcie > POLAUR

QMapShack

<< < (2/3) > >>

pavbaranov:
QMapShack dorobił się pierwszej bety wydania 1.0: http://kde-apps.org/content/show.php/QMapShack?content=166972&PHPSESSID=297118e9ad263d27e605da12398e8acb
PKGBUILD

--- Kod: ---# Maintainer: pavbaranov

pkgname=qmapshack
pkgver=1.0.beta1
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('8ba738a7a97620a8ecda5b687bd5ee0e'
         '5cd70770f14c9f17869570a347abfb1d')

build() {
  cd ${pkgname}-${pkgver}
#  lrelease resources/translations/*.ts
  cmake -DCMAKE_INSTALL_PREFIX="/usr"
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
--- Koniec kodu ---

pavbaranov:
Ukazała się właśnie pierwsza, zatem przez autora uznana za stabilną, wersja QMapShack (zob.: http://kde-apps.org/content/show.php/QMapShack?content=166972&PHPSESSID=bb224cad07f09948289834655bc0d610)
Przedstawiam zatem PKGBUILD (pozostałe pliki z pierwszego postu nie podlegają zmianie):

--- Kod: ---# Maintainer: pavbaranov

pkgname=qmapshack
pkgver=1.0.0
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('abd3e2c31c83a10750f5c0e61dd508e6'
         '5cd70770f14c9f17869570a347abfb1d')

build() {
  cd ${pkgname}-${pkgver}
  cmake -DCMAKE_INSTALL_PREFIX="/usr"
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
--- Koniec kodu ---

pavbaranov:
Ukazała się wersja 1.0.1 tej aplikacji. Zmiany, jakie w niej znajdziemy, to przede wszystkim poprawki dostrzeżonych błędów. Więcej: http://kde-apps.org/content/show.php/QMapShack?content=166972. Nowa wersja, to nowy PKGBUILD prezentowany poniżej, który został dość znacznie zresztą przemodelowany w sekcji build.

--- Kod: ---# Maintainer: pavbaranov

pkgname=qmapshack
pkgver=1.0.1
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('6cff04de8a701b48ef251c9aa4796288'
         '5cd70770f14c9f17869570a347abfb1d')

build() {
  cd ${pkgname}-${pkgver}
#  lrelease resources/translations/*.ts
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
--- Koniec kodu ---

pavbaranov:
Kolejna wersja aplikacji nosi numer 1.1.0 i przynosi nieco zmian: http://kde-apps.org/content/show.php/QMapShack?content=166972
PKGBUILD

--- Kod: ---# Maintainer: pavbaranov

pkgname=qmapshack
pkgver=1.1.0
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('647e7cd249c568dd4cfdec94ca5d301c'
         '5cd70770f14c9f17869570a347abfb1d')

build() {
  cd ${pkgname}-${pkgver}
#  lrelease resources/translations/*.ts
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
--- Koniec kodu ---

pavbaranov:
Kolejna wersja, oznaczona nr 1.2.0 i jej PKGBUILD; reszta plików umożliwiających jej budowę pozostaje bez zmian.

--- Kod: ---# Maintainer: pavbaranov

pkgname=qmapshack
pkgver=1.2.0
pkgrel=1
pkgdesc="Online and offline maps applications"
arch=('i686' 'x86_64')
url="http://kde-apps.org/content/show.php/QMapShack"
license=('GPL')
depends=('qt5-base' 'qt5-script' 'qt5-webkit' 'hicolor-icon-theme' 'desktop-file-utils' 'gdal')
makedepends=('cmake' 'qt5-tools')
conflicts=()
install=qmapshack.install
source=("https://bitbucket.org/maproom/qmapshack/downloads/${pkgname}-${pkgver}.tar.gz"
        "https://github.com/proj4js/proj4js/releases/download/2.3.3/proj4.js")
md5sums=('0eb23e8ed00d69f5d016a01e133689e9'
         '5cd70770f14c9f17869570a347abfb1d')

build() {
  cd ${pkgname}-${pkgver}
#  lrelease resources/translations/*.ts
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR=$pkgdir install
}
--- Koniec kodu ---

Nawigacja

[0] Indeks wiadomości

[#] Następna strona

[*] Poprzednia strona

Idź do wersji pełnej