Skip to content

Commit

Permalink
Merge branch 'master' into 'master'
Browse files Browse the repository at this point in the history
KDE Paketleri 7 Kasım

See merge request turkman/packages/main!112
  • Loading branch information
sulincix committed Nov 11, 2023
2 parents 635bbc9 + c178f07 commit ae50807
Show file tree
Hide file tree
Showing 42 changed files with 1,399 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dev/db/lmdb/lmdb.pc
Original file line number Diff line number Diff line change
@@ -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}
33 changes: 33 additions & 0 deletions dev/db/lmdb/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}

34 changes: 34 additions & 0 deletions dev/libs/boost/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
33 changes: 33 additions & 0 deletions dev/libs/dotconf/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}

40 changes: 40 additions & 0 deletions dev/libs/pcre/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}

34 changes: 34 additions & 0 deletions kde/apps/ark/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
39 changes: 39 additions & 0 deletions kde/apps/kate/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}

36 changes: 36 additions & 0 deletions kde/apps/kcalc/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
32 changes: 32 additions & 0 deletions kde/frameworks/baloo/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
32 changes: 32 additions & 0 deletions kde/frameworks/bluez-qt/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
32 changes: 32 additions & 0 deletions kde/frameworks/frameworkintegration/ympbuild
Original file line number Diff line number Diff line change
@@ -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
}
Loading

0 comments on commit ae50807

Please sign in to comment.