summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/oxygen-icons5/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/oxygen-icons5/APKBUILD b/user/oxygen-icons5/APKBUILD
new file mode 100644
index 000000000..6cbaa49a4
--- /dev/null
+++ b/user/oxygen-icons5/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=oxygen-icons5
+pkgver=5.51.0
+pkgrel=0
+pkgdesc="The KDE Oxygen icon set"
+url="https://www.kde.org/"
+arch="noarch"
+options="!check" # fdupes, same thing as breeze-icons
+license="LGPL-2.1"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev"
+subpackages=""
+source="https://download.kde.org/stable/frameworks/5.51/oxygen-icons5-$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="7ac19cf040604211a164618c9778db435234a7c05758a4915048308f1d411ee74f827496df238a0246cab6c475cc0b35fd02e42092875c069f048df088cf7b52 oxygen-icons5-5.51.0.tar.xz"