summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-11 20:45:14 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-12-11 20:45:14 -0600
commit6e2a78215a4eee32e150b875f4dec05ba0c1559e (patch)
tree66f7b7d5c639f5f7a7792682341efaea83d26dce
parented339b38399bc1ff5539719b5d0a009906c4e834 (diff)
downloadpackages-6e2a78215a4eee32e150b875f4dec05ba0c1559e.tar.gz
packages-6e2a78215a4eee32e150b875f4dec05ba0c1559e.tar.bz2
packages-6e2a78215a4eee32e150b875f4dec05ba0c1559e.tar.xz
packages-6e2a78215a4eee32e150b875f4dec05ba0c1559e.zip
user/otter-browser: New package
-rw-r--r--user/otter-browser/APKBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/otter-browser/APKBUILD b/user/otter-browser/APKBUILD
new file mode 100644
index 000000000..6986cc9f6
--- /dev/null
+++ b/user/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.93
+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-rc3/$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="9a45c8594c3de91e6ca317cbfe440c43be470d6364201cced5093ec233a24f194d89918e886603453de433636915f8c80f6144a69058aa54674a188fda716e80 otter-browser-0.9.93.tar.bz2"