diff options
author | Zach van Rijn <me@zv.io> | 2024-12-10 18:34:15 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-10 18:34:42 +0000 |
commit | 38c1007aff62202b82a7f4cd539410139fa2ec5e (patch) | |
tree | 06ab6fd82f85c7b44ac3e7523389c1c6e7993613 /legacy | |
parent | 73e0e03456e11091ee53f2f436d3a3910eb9e0f3 (diff) | |
download | packages-38c1007aff62202b82a7f4cd539410139fa2ec5e.tar.gz packages-38c1007aff62202b82a7f4cd539410139fa2ec5e.tar.bz2 packages-38c1007aff62202b82a7f4cd539410139fa2ec5e.tar.xz packages-38c1007aff62202b82a7f4cd539410139fa2ec5e.zip |
{user => legacy}/ikona: package removed by upstream. fixes #1297.
"This app is unmaintained and no longer released by the KDE community."
Diffstat (limited to 'legacy')
-rw-r--r-- | legacy/ikona/APKBUILD | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/legacy/ikona/APKBUILD b/legacy/ikona/APKBUILD new file mode 100644 index 000000000..c70ad2e59 --- /dev/null +++ b/legacy/ikona/APKBUILD @@ -0,0 +1,71 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=ikona +pkgver=1.0 +pkgrel=0 +pkgdesc="Icon preview utility" +url="https://kde.org/applications/graphics/org.kde.Ikona" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev cmake extra-cmake-modules + kconfigwidgets-dev ki18n-dev kirigami2-dev rust cargo + cairo-dev gdk-pixbuf-dev pango-dev" +subpackages="$pkgname-lang $pkgname-bash-completion:bashcomp:noarch + $pkgname-fish-completion:fishcomp:noarch + $pkgname-zsh-completion:zshcomp:noarch" +source="https://download.kde.org/stable/ikona/$pkgver/ikona-$pkgver.tar.xz + https://download.kde.org/stable/ikona/1.0/ikona-1.0.cargo.vendor.tar.xz + " + +unpack() { + default_unpack + mv "$srcdir"/ikona-1.0.cargo.vendor.tar.xz \ + "$builddir"/ikona.cargo.vendor.tar.xz +} + +build() { + 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 \ + -DCMAKE_INSTALL_SYSCONFDIR=/etc \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +bashcomp() { + pkgdesc="$pkgdesc (Bash completions)" + mkdir -p "$subpkgdir"/etc + mv "$pkgdir"/etc/bash_completion.d "$subpkgdir"/etc/ +} + +fishcomp() { + pkgdesc="$pkgdesc (Fish completions)" + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/fish "$subpkgdir"/usr/share/ +} + +zshcomp() { + pkgdesc="$pkgdesc (Z shell completions)" + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share/ +} + +sha512sums="30bde3f3b062ccf661ee8950c762412a6b9eebff625216641607cbae7f7f8123702c231cbce82acfb666a8b69c863e4b22e8daf79d1541b7c70781189ffee144 ikona-1.0.tar.xz +3bca0c7b66e603e7e06e0ac30c0cdb3d8c3baa812e600f322ef56a0be1692e57cc39348f1c40fdcfe07da6d4b624604cec0003f0d7e1be419462fff5832cd301 ikona-1.0.cargo.vendor.tar.xz" |