summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:33:15 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-25 15:33:15 -0500
commit46d6c75f081981fbeef723f92842b23e3d0c9d26 (patch)
treec17d24070c94ec79a0ad83eb0485fd62afef53f3 /user
parent8a18effc7588f88611e44e62368516fc1387889b (diff)
downloadpackages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.gz
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.bz2
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.tar.xz
packages-46d6c75f081981fbeef723f92842b23e3d0c9d26.zip
user/blinken: new package
Diffstat (limited to 'user')
-rw-r--r--user/blinken/APKBUILD44
-rw-r--r--user/blinken/test.patch13
2 files changed, 57 insertions, 0 deletions
diff --git a/user/blinken/APKBUILD b/user/blinken/APKBUILD
new file mode 100644
index 000000000..851889c49
--- /dev/null
+++ b/user/blinken/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=blinken
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Memory enhancement game"
+url="https://www.kde.org/applications/education/blinken/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev ki18n-dev
+ kxmlgui-dev kguiaddons-dev kdoctools-dev kdbusaddons-dev kcrash-dev
+ phonon-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/blinken-$pkgver.tar.xz"
+
+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="a09b23b2cc91513c2cbabbdb94b2d45aa987f21d5f135f3f878163d3ee9211eab6a2c26d7e0c979122b6361df7b8f9147f457432bb3a6277eb1e513b1c811dbc blinken-17.12.2.tar.xz"
diff --git a/user/blinken/test.patch b/user/blinken/test.patch
new file mode 100644
index 000000000..d24c03491
--- /dev/null
+++ b/user/blinken/test.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2a1b077..019efcd 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@ find_package (KF5 REQUIRED COMPONENTS
+ I18n XmlGui GuiAddons DocTools DBusAddons Crash
+ )
+
+-find_package (Phonon4Qt5)
++find_package (Phonon4Qt5 REQUIRED)
+
+ include(KDEInstallDirs)
+ include(KDECompilerSettings NO_POLICY_SCOPE)