summaryrefslogtreecommitdiff
path: root/experimental/otter-browser/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 05:21:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-24 05:21:26 -0500
commitcd111d8e19052efc40fd24002f0aa7f96c6184ad (patch)
treed15e5005187b6f175810b1112a0f7c7fa8b9b06e /experimental/otter-browser/APKBUILD
parent60f77f87ce1cb6d77089d7c1d239a2e31b58ca91 (diff)
downloadpackages-cd111d8e19052efc40fd24002f0aa7f96c6184ad.tar.gz
packages-cd111d8e19052efc40fd24002f0aa7f96c6184ad.tar.bz2
packages-cd111d8e19052efc40fd24002f0aa7f96c6184ad.tar.xz
packages-cd111d8e19052efc40fd24002f0aa7f96c6184ad.zip
user/otter-browser: move to experimental/ until WebKit is bumped
Diffstat (limited to 'experimental/otter-browser/APKBUILD')
-rw-r--r--experimental/otter-browser/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/experimental/otter-browser/APKBUILD b/experimental/otter-browser/APKBUILD
new file mode 100644
index 000000000..ec0d59264
--- /dev/null
+++ b/experimental/otter-browser/APKBUILD
@@ -0,0 +1,45 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=otter-browser
+pkgver=0.9.96
+pkgrel=0
+pkgdesc="A free, open browser focused on user privacy"
+url="https://otter-browser.org/"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="cmake qt5-qtbase-dev qt5-qttools-dev openssl-dev gstreamer-dev
+ qt5-qtmultimedia-dev qt5-qtdeclarative-dev qt5-qtsvg-dev hunspell-dev
+ qt5-qtxmlpatterns-dev qt5-qtwebkit-dev"
+install=""
+langdir="/usr/share/otter-browser/locale"
+subpackages="$pkgname-doc $pkgname-lang"
+source="https://sourceforge.net/projects/$pkgname/files/$pkgname-rc6/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4ba915226360ae1d6f5fd9bf5ea502ea9f2104594536eff0cfe57f162fb769158b03da2da9e5c0ce757af8fafa6f379ce81391b648bf4253c2bb35f12c3620b3 otter-browser-0.9.96.tar.bz2"