[arch-commits] Commit in subsurface/repos (6 files)

Gaetan Bisson bisson at archlinux.org
Thu Feb 5 03:20:06 UTC 2015


    Date: Thursday, February 5, 2015 @ 04:20:05
  Author: bisson
Revision: 127140

archrelease: copy trunk to community-i686, community-x86_64

Added:
  subsurface/repos/community-i686/PKGBUILD
    (from rev 127139, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-i686/install
    (from rev 127139, subsurface/trunk/install)
  subsurface/repos/community-x86_64/PKGBUILD
    (from rev 127139, subsurface/trunk/PKGBUILD)
  subsurface/repos/community-x86_64/install
    (from rev 127139, subsurface/trunk/install)
Deleted:
  subsurface/repos/community-i686/PKGBUILD
  subsurface/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  130 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   27 ---------
 community-i686/install    |   11 +++
 community-x86_64/PKGBUILD |   27 ---------
 community-x86_64/install  |   11 +++
 5 files changed, 152 insertions(+), 54 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2015-02-05 03:19:32 UTC (rev 127139)
+++ community-i686/PKGBUILD	2015-02-05 03:20:05 UTC (rev 127140)
@@ -1,27 +0,0 @@
-# $Id$
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=subsurface
-_pkgname=Subsurface
-pkgver=4.3
-pkgrel=2
-pkgdesc='Divelog program'
-url='http://subsurface.hohndel.org/'
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('qt4' 'kdeedu-marble' 'libzip' 'libxml2' 'libxslt' 'sqlite' 'libusbx'
-         'libgit2' 'libdivecomputer')
-source=("http://subsurface.hohndel.org/downloads/${_pkgname}-${pkgver}.tgz")
-sha1sums=('29f27537ef2ee91234244b0d984ddb30253fc69a')
-
-build() {
-	cd "${srcdir}/${_pkgname}-${pkgver}"
-	qmake-qt4 -config release
-	make
-}
-
-package() {
-	cd "${srcdir}/${_pkgname}-${pkgver}"
-	make INSTALL_ROOT="${pkgdir}" install
-}

Copied: subsurface/repos/community-i686/PKGBUILD (from rev 127139, subsurface/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-02-05 03:20:05 UTC (rev 127140)
@@ -0,0 +1,65 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.4.0
+pkgrel=1
+pkgdesc='Divelog program'
+url='http://subsurface-divelog.org/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('git' 'cmake' 'asciidoc')
+depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusbx' 'libgit2'
+         'libdivecomputer' 'qt5-'{script,svg,tools,webkit})
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz"
+        'git://git.subsurface-divelog.org/marble#commit=aa18d0af6951debf3a3a90916f3f772784dbf326')
+sha1sums=('6598c1f894bd0334d8fa3dfec13adfadc041d56c'
+          'SKIP')
+
+install=install
+
+build() {
+	# subsurface is Qt5-only so we need to build marble against it;
+	# while we're at it we use Subsurface's custom marble branch.
+
+	cd "${srcdir}/marble"
+	cmake \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DQT5BUILD=ON \
+		-DQTONLY=ON \
+	        -DBUILD_MARBLE_APPS=OFF \
+		-DBUILD_MARBLE_EXAMPLES=OFF \
+	        -DBUILD_MARBLE_TESTS=OFF \
+		-DBUILD_MARBLE_TOOLS=OFF \
+	        -DBUILD_TESTING=OFF \
+		-DWITH_DESIGNER_PLUGIN=OFF \
+	        -DBUILD_WITH_DBUS=OFF \
+		.
+	make
+	install -d pkg
+	make DESTDIR="`pwd`/pkg" install
+
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	qmake-qt5 \
+		-config release \
+		SPECIAL_MARBLE_PREFIX=1 \
+		LIBMARBLEDEVEL=../marble/pkg \
+		LIBS+="-L`pwd`/../marble/pkg/usr/lib" \
+		INCLUDEPATH+="`pwd`/../marble/pkg/usr/include" \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/marble"
+	make DESTDIR="${pkgdir}" install
+
+	# remove conflicts with kdeedu-marble
+	rm -fr "${pkgdir}"/usr/{include,share/{appdata,icons}}
+
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make INSTALL_ROOT="${pkgdir}" install
+}

Copied: subsurface/repos/community-i686/install (from rev 127139, subsurface/trunk/install)
===================================================================
--- community-i686/install	                        (rev 0)
+++ community-i686/install	2015-02-05 03:20:05 UTC (rev 127140)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	type gtk-update-icon-cache &>/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2015-02-05 03:19:32 UTC (rev 127139)
+++ community-x86_64/PKGBUILD	2015-02-05 03:20:05 UTC (rev 127140)
@@ -1,27 +0,0 @@
-# $Id$
-# Contributor: Francois Boulogne <fboulogne at april dot org>
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=subsurface
-_pkgname=Subsurface
-pkgver=4.3
-pkgrel=2
-pkgdesc='Divelog program'
-url='http://subsurface.hohndel.org/'
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('qt4' 'kdeedu-marble' 'libzip' 'libxml2' 'libxslt' 'sqlite' 'libusbx'
-         'libgit2' 'libdivecomputer')
-source=("http://subsurface.hohndel.org/downloads/${_pkgname}-${pkgver}.tgz")
-sha1sums=('29f27537ef2ee91234244b0d984ddb30253fc69a')
-
-build() {
-	cd "${srcdir}/${_pkgname}-${pkgver}"
-	qmake-qt4 -config release
-	make
-}
-
-package() {
-	cd "${srcdir}/${_pkgname}-${pkgver}"
-	make INSTALL_ROOT="${pkgdir}" install
-}

Copied: subsurface/repos/community-x86_64/PKGBUILD (from rev 127139, subsurface/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-02-05 03:20:05 UTC (rev 127140)
@@ -0,0 +1,65 @@
+# $Id$
+# Contributor: Francois Boulogne <fboulogne at april dot org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=subsurface
+_pkgname=Subsurface
+pkgver=4.4.0
+pkgrel=1
+pkgdesc='Divelog program'
+url='http://subsurface-divelog.org/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('git' 'cmake' 'asciidoc')
+depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusbx' 'libgit2'
+         'libdivecomputer' 'qt5-'{script,svg,tools,webkit})
+source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz"
+        'git://git.subsurface-divelog.org/marble#commit=aa18d0af6951debf3a3a90916f3f772784dbf326')
+sha1sums=('6598c1f894bd0334d8fa3dfec13adfadc041d56c'
+          'SKIP')
+
+install=install
+
+build() {
+	# subsurface is Qt5-only so we need to build marble against it;
+	# while we're at it we use Subsurface's custom marble branch.
+
+	cd "${srcdir}/marble"
+	cmake \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DQT5BUILD=ON \
+		-DQTONLY=ON \
+	        -DBUILD_MARBLE_APPS=OFF \
+		-DBUILD_MARBLE_EXAMPLES=OFF \
+	        -DBUILD_MARBLE_TESTS=OFF \
+		-DBUILD_MARBLE_TOOLS=OFF \
+	        -DBUILD_TESTING=OFF \
+		-DWITH_DESIGNER_PLUGIN=OFF \
+	        -DBUILD_WITH_DBUS=OFF \
+		.
+	make
+	install -d pkg
+	make DESTDIR="`pwd`/pkg" install
+
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	qmake-qt5 \
+		-config release \
+		SPECIAL_MARBLE_PREFIX=1 \
+		LIBMARBLEDEVEL=../marble/pkg \
+		LIBS+="-L`pwd`/../marble/pkg/usr/lib" \
+		INCLUDEPATH+="`pwd`/../marble/pkg/usr/include" \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/marble"
+	make DESTDIR="${pkgdir}" install
+
+	# remove conflicts with kdeedu-marble
+	rm -fr "${pkgdir}"/usr/{include,share/{appdata,icons}}
+
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	make INSTALL_ROOT="${pkgdir}" install
+}

Copied: subsurface/repos/community-x86_64/install (from rev 127139, subsurface/trunk/install)
===================================================================
--- community-x86_64/install	                        (rev 0)
+++ community-x86_64/install	2015-02-05 03:20:05 UTC (rev 127140)
@@ -0,0 +1,11 @@
+post_upgrade() {
+	type gtk-update-icon-cache &>/dev/null && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}



More information about the arch-commits mailing list