diff --git a/dev/db/lmdb/lmdb.pc b/dev/db/lmdb/lmdb.pc new file mode 100644 index 00000000..1493c09e --- /dev/null +++ b/dev/db/lmdb/lmdb.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: liblmdb +Description: Lightning Memory-mapped key-value database +URL: http://symas.com/mdb/ +Version: @@VERSION@@ +Libs: -L${libdir} -llmdb +Cflags: -I${includedir} \ No newline at end of file diff --git a/dev/db/lmdb/ympbuild b/dev/db/lmdb/ympbuild new file mode 100644 index 00000000..619fe105 --- /dev/null +++ b/dev/db/lmdb/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='lmdb' +release='1' +version='0.9.30' +url='https://symas.com/lmdb' +description='Symas Lightning Memory-Mapped Database' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('custom:OpenLDAP') +source=("https://git.openldap.org/openldap/openldap/-/archive/LMDB_${version}/openldap-LMDB_${version}.tar.gz" +"lmdb.pc") +depends=() +makedepends=() +md5sums=('98223957aa5bc00ceeab4694e22b62f4' 'SKIP') +group=(dev.db) +uses=() +arch=('x86_64') + +prepare() { + sed -e "s|@VERSION@|${version}|" -i ../../../lmdb.pc +} + +cd "openldap-LMDB_0.9.30/libraries/liblmdb/" + +build () { + mv ./Makefile ./makefile + make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr +} + +package () { + make DESTDIR="$DESTDIR" prefix=/usr install +} + diff --git a/dev/libs/boost/ympbuild b/dev/libs/boost/ympbuild new file mode 100644 index 00000000..28f1f19b --- /dev/null +++ b/dev/libs/boost/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='boost' +release='1' +version='1.83.0' +_version='1_83_0' +url='https://www.boost.org/' +description='Free peer-reviewed portable C++ source libraries (development headers)' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('custom') +source=("https://boostorg.jfrog.io/artifactory/main/release/${version}/source/boost_${_version}.tar.bz2") +depends=(which) +makedepends=() +md5sums=('406f0b870182b4eb17a23a9d8fce967d') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name"_"$_version + +prepare(){ + sed -i '/#include.*phoenix.*tuple.hpp.*/d' boost/phoenix/stl.hpp +} + +build () { + ./bootstrap.sh --prefix=/usr --with-python=python3 + ./b2 stage -j4 threading=multi link=shared +} + +package () { + ./b2 --includedir="$DESTDIR"/usr/include \ + --libdir="$DESTDIR"/usr/lib \ + install +} diff --git a/dev/libs/dotconf/ympbuild b/dev/libs/dotconf/ympbuild new file mode 100644 index 00000000..7ff0d0f0 --- /dev/null +++ b/dev/libs/dotconf/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='dotconf' +release='1' +version='1.3' +url='https://example.org' +description='A C library for parsing configuration files' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv2') +source=("https://github.com/williamh/dotconf/archive/refs/tags/v${version}.tar.gz") +depends=() +makedepends=() +md5sums=('b3ba921e45b05e89bf69835c0f30bc14') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build () { + make $jobs +} + +package () { + make DESTDIR="${DESTDIR}" install $jobs +} + diff --git a/dev/libs/pcre/ympbuild b/dev/libs/pcre/ympbuild new file mode 100644 index 00000000..659930f2 --- /dev/null +++ b/dev/libs/pcre/ympbuild @@ -0,0 +1,40 @@ +#!/usr/bin/env bash +name='pcre' +release='1' +version='8.45' +url='https://www.pcre.org' +description='Perl-compatible regular expression library' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('BSD-3-Clause') +source=("https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.bz2") +depends=(readline zlib bzip2) +makedepends=() +md5sums=('4452288e6a0eefb2ab11d36010a1eebb') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --enable-unicode-properties \ + --enable-pcre16 \ + --enable-pcre32 \ + --enable-jit \ + --enable-pcregrep-libz \ + --enable-pcregrep-libbz2 \ + --enable-pcretest-libreadline + +} + +build () { + make $jobs +} + +package () { + make DESTDIR="$DESTDIR" install $jobs +} + diff --git a/kde/apps/ark/ympbuild b/kde/apps/ark/ympbuild new file mode 100644 index 00000000..2aa04f53 --- /dev/null +++ b/kde/apps/ark/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='ark' +release='1' +version='23.08.2' +url='https://kde.org/applications/utilities/org.kde.ark' +description='Graphical file compression/decompression utility with support for multiple formats' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv3') +source=("https://download.kde.org/stable/release-service/${version}/src/ark-${version}.tar.xz") +depends=() +makedepends=() +md5sums=('aac8020d47081acbbf5178f5d13eb85c') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + +} + +build () { + cmake --build build +} + +package () { + DESTDIR="$DESTDIR" cmake --install build +} diff --git a/kde/apps/kate/ympbuild b/kde/apps/kate/ympbuild new file mode 100644 index 00000000..29930818 --- /dev/null +++ b/kde/apps/kate/ympbuild @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +name='kate' +release='1' +version='23.08.2' +url='https://kde.org/applications/utilities/org.kde.kate' +description='A multi-document, multi-view text editor' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPL' 'LGPL' 'FDL') +source=("https://invent.kde.org/utilities/kate/-/archive/v${version}/kate-v${version}.tar.gz") +depends=(knewstuff ktexteditor kactivities hicolor-icon-theme) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('5820cc92b2923e5a2b4a4039151d4025') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-"v"$version + +build () { +cmake -B build/kate -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_kwrite=FALSE + cmake --build build/kate + + cmake -B build/kwrite -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_kate=FALSE \ + -DBUILD_addons=FALSE + cmake --build build/kwrite +} + +package () { + DESTDIR="$DESTDIR" cmake --install build/kate + DESTDIR="$DESTDIR" cmake --install build/kwrite +} + diff --git a/kde/apps/kcalc/ympbuild b/kde/apps/kcalc/ympbuild new file mode 100644 index 00000000..f83c7e40 --- /dev/null +++ b/kde/apps/kcalc/ympbuild @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +name='kcalc' +release='1' +version='23.08.2' +url='https://kde.org/applications/utilities/org.kde.kcalc' +description='Scientific Calculator' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPL' 'LGPL' 'FDL') +source=(https://download.kde.org/stable/release-service/${version}/src/${name}-${version}.tar.xz{,.sig}) +depends=(mpfr kxmlgui knotifications) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('8ac8a45eca1b02899d18a81a2effca66' 'SKIP') +group=(kde.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + + DESTDIR="$DESTDIR" cmake --install build + rm -f $DESTDIR/usr/share/kglobalaccel/org.kde.kcalc.desktop + ln -s ../applications/org.kde.kcalc.desktop $DESTDIR/usr/share/kglobalaccel/org.kde.kcalc.desktop +} diff --git a/kde/frameworks/baloo/ympbuild b/kde/frameworks/baloo/ympbuild new file mode 100644 index 00000000..48a9d71e --- /dev/null +++ b/kde/frameworks/baloo/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='baloo' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A framework for searching and managing metadata' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/baloo-${version}.tar.xz") +depends=(kfilemetadata kidletime kio lmdb) +makedepends=(extra-cmake-modules kdoctools doxygen qt5-tools qt5-declarative) +md5sums=('4a3d426eb826f9e20eb9b56f9d5427b3') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/frameworks/bluez-qt/ympbuild b/kde/frameworks/bluez-qt/ympbuild new file mode 100644 index 00000000..3fd8515a --- /dev/null +++ b/kde/frameworks/bluez-qt/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='bluez-qt' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Qt wrapper for Bluez 5 DBus API' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/bluez-qt-${version}.tar.xz") +depends=(qt5-base bluez) +makedepends=(extra-cmake-modules doxygen qt5-tools qt5-declarative) +md5sums=('1b77baae26e80102e9188f910eb18758') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/frameworkintegration/ympbuild b/kde/frameworks/frameworkintegration/ympbuild new file mode 100644 index 00000000..3af3e385 --- /dev/null +++ b/kde/frameworks/frameworkintegration/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='frameworkintegration' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Framework providing components to allow applications to integrate with a KDE Workspace' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/frameworkintegration-${version}.tar.xz") +depends=(appstream kconfig kconfigwidgets ki18n kiconthemes knewstuff knotifications kpackage kwidgetsaddons qt5-base) +makedepends=(extra-cmake-modules) +md5sums=('536b44079250ad3f785ac1d00c1d9d81') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kactivities/ympbuild b/kde/frameworks/kactivities/ympbuild new file mode 100644 index 00000000..20c21975 --- /dev/null +++ b/kde/frameworks/kactivities/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='kactivities' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Core components for the KDE s Activities' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kactivities-${version}.tar.xz") +depends=(boost kconfig kcoreaddons kwindowsystem qt5-declarative) +makedepends=(doxygen extra-cmake-modules qt5-tools) +md5sums=('36869f6c92c2d914d4a48eb80b259934') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/frameworks/kcalendarcore/ympbuild b/kde/frameworks/kcalendarcore/ympbuild new file mode 100644 index 00000000..7b284968 --- /dev/null +++ b/kde/frameworks/kcalendarcore/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kcalendarcore' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='The KDE calendar access library' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kcalendarcore-${version}.tar.xz") +depends=(libical qt5-base) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('35bf98dc87b399e517c147557d9472c1') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kcmutils/ympbuild b/kde/frameworks/kcmutils/ympbuild new file mode 100644 index 00000000..a86aa76e --- /dev/null +++ b/kde/frameworks/kcmutils/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kcmutils' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Utilities for interacting with KCModules' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kcmutils-${version}.tar.xz") +depends=(kdeclarative) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('f24eed2390eef633913a29252430af45') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kcontacts/ympbuild b/kde/frameworks/kcontacts/ympbuild new file mode 100644 index 00000000..15ea68bc --- /dev/null +++ b/kde/frameworks/kcontacts/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kcontacts' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Address book API for KDE' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kcontacts-${version}.tar.xz") +depends=(kcoreaddons kconfig ki18n kcodecs) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('8c21f7cea752f575f05e629bab71fd1f') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kdeclarative/ympbuild b/kde/frameworks/kdeclarative/ympbuild new file mode 100644 index 00000000..eec2db87 --- /dev/null +++ b/kde/frameworks/kdeclarative/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kdeclarative' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Provides integration of QML and KDE Frameworks' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kdeclarative-${version}.tar.xz") +depends=(kio kpackage libepoxy) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('e141465054d4bf65467db3f2e7c4ebed') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kdesrc-build/ympbuild b/kde/frameworks/kdesrc-build/ympbuild new file mode 100644 index 00000000..b8b686a4 --- /dev/null +++ b/kde/frameworks/kdesrc-build/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='kdesrc-build' +release='1' +version='22.07' +url='https://invent.kde.org/sdk/kdesrc-build' +description='Script to streamline setting up and maintaining KDE software development environment' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv3') +source=("https://invent.kde.org/sdk/kdesrc-build/-/archive/v${version}/kdesrc-build-v${version}.tar.gz") +depends=(dialog git) +makedepends=(extra-cmake-modules cmake) +md5sums=('af0f072c6a4c47efb7e64be47829b7e3') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-"v"$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kfilemetadata/ympbuild b/kde/frameworks/kfilemetadata/ympbuild new file mode 100644 index 00000000..f1afce8e --- /dev/null +++ b/kde/frameworks/kfilemetadata/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kfilemetadata' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A library for extracting file metadata' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kfilemetadata-${version}.tar.xz") +depends=(attr exiv2 karchive kconfig kcoreaddons ki18n qt5-base taglib) +makedepends=(doxygen extra-cmake-modules ffmpeg qt5-tools) +md5sums=('0d911624125697bfc0e7e6a6a7c2e6b7') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/frameworks/kholidays/ympbuild b/kde/frameworks/kholidays/ympbuild new file mode 100644 index 00000000..1d1746fd --- /dev/null +++ b/kde/frameworks/kholidays/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kholidays' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='KDE library for regional holiday information' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kholidays-${version}.tar.xz") +depends=(qt5-base) +makedepends=(extra-cmake-modules qt5-declarative qt5-tools doxygen) +md5sums=('ca98675d6ae87f7ef678676ce8221492') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/khtml/ympbuild b/kde/frameworks/khtml/ympbuild new file mode 100644 index 00000000..8837065b --- /dev/null +++ b/kde/frameworks/khtml/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='khtml' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='The KDE HTML library, ancestor of WebKit' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/khtml-${version}.tar.xz") +depends=(giflib kparts kjs) +makedepends=(extra-cmake-modules gperf) +md5sums=('33c96cb6f85043dbde58c33ffa1c6767') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kinit/ympbuild b/kde/frameworks/kinit/ympbuild new file mode 100644 index 00000000..985e840e --- /dev/null +++ b/kde/frameworks/kinit/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kinit' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Process launcher to speed up launching KDE applications' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kinit-${version}.tar.xz") +depends=(kio) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('e10c5ff50ec59a430e47163f65689bba') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kirigami2/ympbuild b/kde/frameworks/kirigami2/ympbuild new file mode 100644 index 00000000..ce0396ee --- /dev/null +++ b/kde/frameworks/kirigami2/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kirigami2' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A QtQuick based components set' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kirigami2-${version}.tar.xz") +depends=(qt5-quickcontrols qt5-quickcontrols2 qt5-graphicaleffects) +makedepends=(extra-cmake-modules qt5-tools qt5-svg kpackage doxygen) +md5sums=('594a988cc1e502e3675db5abf722acb5') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kjs/ympbuild b/kde/frameworks/kjs/ympbuild new file mode 100644 index 00000000..eacf1c5d --- /dev/null +++ b/kde/frameworks/kjs/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kjs' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Support for JS scripting in applications' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/kjs-${version}.tar.xz") +depends=(qt5-base pcre) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('f7072f2078bc4c2048ed978c2683f8d6') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/frameworks/kjsembed/ympbuild b/kde/frameworks/kjsembed/ympbuild new file mode 100644 index 00000000..30fbaee0 --- /dev/null +++ b/kde/frameworks/kjsembed/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kjsembed' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='JavaScript bindings for QObject' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/kjsembed-${version}.tar.xz") +depends=(ki18n kjs qt5-svg) +makedepends=(extra-cmake-modules qt5-tools kdoctools) +md5sums=('10389619954ea07e8dbad87b989aa7d7') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kmediaplayer/ympbuild b/kde/frameworks/kmediaplayer/ympbuild new file mode 100644 index 00000000..3dee6cdf --- /dev/null +++ b/kde/frameworks/kmediaplayer/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kmediaplayer' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Media player framework for KDE 5' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids//kmediaplayer-${version}.tar.xz") +depends=(kparts kxmlgui qt5-base) +makedepends=(extra-cmake-modules) +md5sums=('f74f62b13772e6b79391b29bc4c821e1') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/knewstuff/ympbuild b/kde/frameworks/knewstuff/ympbuild new file mode 100644 index 00000000..5504008f --- /dev/null +++ b/kde/frameworks/knewstuff/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='knewstuff' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Support for downloading application assets from the network' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/knewstuff-${version}.tar.xz") +depends=(kio kpackage attica syndication) +makedepends=(extra-cmake-modules doxygen qt5-tools qt5-declarative) +md5sums=('629f3c69cb637a05a41b8b0157b54088') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/frameworks/kparts/ympbuild b/kde/frameworks/kparts/ympbuild new file mode 100644 index 00000000..53ea5ce2 --- /dev/null +++ b/kde/frameworks/kparts/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kparts' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Document centric plugin system' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kparts-${version}.tar.xz") +depends=(kconfig kcoreaddons ki18n kio kwidgetsaddons kxmlgui qt5-base) +makedepends=(doxygen extra-cmake-modules qt5-tools) +md5sums=('c5e9c8d779447bae8087ab96787675a0') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kpeople/ympbuild b/kde/frameworks/kpeople/ympbuild new file mode 100644 index 00000000..f2bbd8c3 --- /dev/null +++ b/kde/frameworks/kpeople/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kpeople' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A library that provides access to all contacts and the people who hold them' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kpeople-${version}.tar.xz") +depends=(kcoreaddons ki18n kwidgetsaddons kitemviews) +makedepends=(extra-cmake-modules doxygen qt5-tools qt5-declarative) +md5sums=('662c9cf8c7c2e1cdeae54935c563b15f') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kquickcharts/ympbuild b/kde/frameworks/kquickcharts/ympbuild new file mode 100644 index 00000000..7628532a --- /dev/null +++ b/kde/frameworks/kquickcharts/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kquickcharts' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A QtQuick plugin providing high-performance charts' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kquickcharts-${version}.tar.xz") +depends=(qt5-quickcontrols2) +makedepends=(extra-cmake-modules) +md5sums=('5da5d058b64e40beb6692e327cbba109') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kross/ympbuild b/kde/frameworks/kross/ympbuild new file mode 100644 index 00000000..8a0d1796 --- /dev/null +++ b/kde/frameworks/kross/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kross' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Framework for scripting KDE applications' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/kross-${version}.tar.xz") +depends=(kcompletion kcoreaddons ki18n kiconthemes kio kparts kwidgetsaddons kxmlgui qt5-base) +makedepends=(extra-cmake-modules kdoctools) +md5sums=('f6dda12d6d867ed92e989870638e353d') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/kde/frameworks/krunner/ympbuild b/kde/frameworks/krunner/ympbuild new file mode 100644 index 00000000..515cf058 --- /dev/null +++ b/kde/frameworks/krunner/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='krunner' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Framework for providing different actions given a string query' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/krunner-${version}.tar.xz") +depends=(plasma-framework threadweaver) +makedepends=(extra-cmake-modules kdoctools doxygen qt5-tools) +md5sums=('ffb563ccf08ea1af40fb59c39655c3d3') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/ktexteditor/ympbuild b/kde/frameworks/ktexteditor/ympbuild new file mode 100644 index 00000000..34a773bf --- /dev/null +++ b/kde/frameworks/ktexteditor/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='ktexteditor' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Advanced embeddable text editor' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/ktexteditor-${version}.tar.xz") +depends=(karchive kauth kconfig kguiaddons ki18n kiconthemes sonnet syntax-highlighting plasma-framework) +makedepends=(extra-cmake-modules qt5-tools doxygen) +md5sums=('4f5f1a9185525852b0e99baade394bbc') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/kwayland/ympbuild b/kde/frameworks/kwayland/ympbuild new file mode 100644 index 00000000..8744ea7c --- /dev/null +++ b/kde/frameworks/kwayland/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='kwayland' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Qt-style Client and Server library wrapper for the Wayland libraries' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/kwayland-${version}.tar.xz") +depends=(qt5-wayland wayland) +makedepends=(extra-cmake-modules doxygen qt5-tools wayland-protocols plasma-wayland-protocols) +md5sums=('ee78d5b3a947df75ecb663b5c621b1f4') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/kxmlrpcclient/ympbuild b/kde/frameworks/kxmlrpcclient/ympbuild new file mode 100644 index 00000000..bd1f1d77 --- /dev/null +++ b/kde/frameworks/kxmlrpcclient/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='kxmlrpcclient' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='JXML-RPC client library for KDE' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/portingAids/kxmlrpcclient-${version}.tar.xz") +depends=(kio) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('2b77b3339d21e4aa2b2cb6912de842dc') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=OFF \ + -DBUILD_TESTING=OFF +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/oxygen-icons/ympbuild b/kde/frameworks/oxygen-icons/ympbuild new file mode 100644 index 00000000..03f1a601 --- /dev/null +++ b/kde/frameworks/oxygen-icons/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='oxygen-icons' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Oxygen icon theme' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/oxygen-icons5-${version}.tar.xz") +depends=() +makedepends=(extra-cmake-modules qt5-base) +md5sums=('b97964da1be0a97c559e69707e610c2f') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name"5"-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/frameworks/plasma-framework/ympbuild b/kde/frameworks/plasma-framework/ympbuild new file mode 100644 index 00000000..1ef9dc50 --- /dev/null +++ b/kde/frameworks/plasma-framework/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='plasma-framework' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Plasma library and runtime components based upon KF5 and Qt5' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/plasma-framework-${version}.tar.xz") +depends=(kactivities kwayland kirigami2) +makedepends=(extra-cmake-modules qt5-tools doxygen) +md5sums=('1544487d2081496e746dd17d9225a5b0') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} diff --git a/kde/frameworks/purpose/ympbuild b/kde/frameworks/purpose/ympbuild new file mode 100644 index 00000000..c84217c7 --- /dev/null +++ b/kde/frameworks/purpose/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='purpose' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Framework for providing abstractions to get the developer s purposes fulfilled' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/purpose-${version}.tar.xz") +depends=(kconfig kcoreaddons ki18n kio kirigami2 knotifications kservice qt5-base qt5-declarative) +makedepends=(intltool extra-cmake-modules) +md5sums=('a007abef9234eebe7d32910951190d13') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/frameworks/qqc2-desktop-style/ympbuild b/kde/frameworks/qqc2-desktop-style/ympbuild new file mode 100644 index 00000000..6d49e42f --- /dev/null +++ b/kde/frameworks/qqc2-desktop-style/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='qqc2-desktop-style' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='A style for Qt Quick Controls 2 to make it follow your desktop theme' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/qqc2-desktop-style-${version}.tar.xz") +depends=(kirigami2 kiconthemes sonnet) +makedepends=(extra-cmake-modules) +md5sums=('e09a44d46d88cf227505d329bcb2d1f5') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} \ No newline at end of file diff --git a/kde/frameworks/syndication/ympbuild b/kde/frameworks/syndication/ympbuild new file mode 100644 index 00000000..a905a96d --- /dev/null +++ b/kde/frameworks/syndication/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='syndication' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='An RSS/Atom parser library' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/syndication-${version}.tar.xz") +depends=(kcodecs) +makedepends=(extra-cmake-modules doxygen qt5-tools) +md5sums=('d2492cf37b98c5addae7b1ebc1f368b7') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + diff --git a/kde/frameworks/syntax-highlighting/ympbuild b/kde/frameworks/syntax-highlighting/ympbuild new file mode 100644 index 00000000..65987673 --- /dev/null +++ b/kde/frameworks/syntax-highlighting/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='syntax-highlighting' +release='1' +version='5.110.0' +url='https://community.kde.org/Frameworks' +description='Syntax highlighting engine for structured text and code' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://download.kde.org/stable/frameworks/${version%.*}/syntax-highlighting-${version}.tar.xz") +depends=(qt5-base) +makedepends=(extra-cmake-modules qt5-declarative qt5-xmlpatterns qt5-tools doxygen) +md5sums=('87e3e1e86825d0be9f17e3a9af8316d2') +group=(kde.frameworks) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON +} + +build () { + cmake --build build +} + +package () { + INSTALL_ROOT="$DESTDIR" cmake --install build +} + + diff --git a/media/gfx/exiv2/ympbuild b/media/gfx/exiv2/ympbuild new file mode 100644 index 00000000..e7c2ce07 --- /dev/null +++ b/media/gfx/exiv2/ympbuild @@ -0,0 +1,37 @@ +#!/usr/bin/env bash +name='exiv2' +release='1' +version='0.28.0' +url='https://exiv2.org' +description='A library for extracting file metadata' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=("https://github.com/Exiv2/exiv2/archive/refs/tags/v${version}/exiv2-v${version}.tar.gz") +depends=(expat zlib) +makedepends=(cmake ninja) +md5sums=('0d8d2ab50eb73228f8d1ffa36561bf53') +group=(media.gfx) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DEXIV2_ENABLE_VIDEO=ON \ + -DEXIV2_BUILD_SAMPLES=OFF \ + -DEXIV2_ENABLE_BMFF=ON \ + -DEXIV2_ENABLE_BROTLI=OFF \ + -DEXIV2_ENABLE_INIH=OFF +} + +build () { + ninja -C build +} + +package () { + DESTDIR="$DESTDIR" ninja -C build install +} diff --git a/media/libs/taglib/ympbuild b/media/libs/taglib/ympbuild new file mode 100644 index 00000000..227cc867 --- /dev/null +++ b/media/libs/taglib/ympbuild @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +name='taglib' +release='1' +version='1.13.1' +url='https://taglib.github.io/' +description='A Library for reading and editing the meta-data of several popular audio formats' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL' 'MPL') +source=("https://taglib.github.io/releases/taglib-${version}.tar.gz") +depends=(zlib) +makedepends=(cmake) +md5sums=('2fe6089da73ad414aa1b982b83415362') +group=(media.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup () { +cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DWITH_ZLIB=ON \ + -DBUILD_SHARED_LIBS=ON \ + -DBUILD_EXAMPLES=ON \ + -DVISIBILITY_HIDDEN=ON + +} + +build () { + cmake --build build +} + +package () { + DESTDIR="$DESTDIR" cmake --install build +} +