fixes
This commit is contained in:
1 parent
df816160f5
commit
9a7a18452f
14 files changed
+60
-218
No files matched your search
@@ -19,7 +19,7 @@ cd $name-$version
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sbindir=/usr/bin \
|
||||
@@ -31,13 +31,12 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
install -Dm644 ../lirc.tmpfiles /usr/lib/tmpfiles.d/lirc.conf
|
||||
install -Dm644 ../lirc.logrotate /etc/logrotate.d/lirc
|
||||
|
||||
make install $jobs
|
||||
# remove unused files
|
||||
rm -rf $DESTDIR/usr/share/doc/
|
||||
}
|
||||
|
||||
@@ -18,17 +18,14 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
#autoreconf -fvi
|
||||
#./configure --prefix=/usr \
|
||||
# --libdir=/usr/lib64/
|
||||
cmake .
|
||||
cmake .
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
+13
-10
@@ -3,32 +3,35 @@ name='libxslt'
|
||||
release='1'
|
||||
version='1.1.37'
|
||||
url='https://gitlab.gnome.org/GNOME/libxslt'
|
||||
description=' XSLT libraries and tools '
|
||||
description='XSLT libraries and tools'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.gnome.org/GNOME/libxslt/-/archive/v$version/libxslt-v$version.tar.gz")
|
||||
depends=()
|
||||
source=("https://gitlab.gnome.org/GNOME/libxslt/-/archive/v1.1.37/libxslt-v$version.tar.gz")
|
||||
depends=(libxml2 zlib xz-utils)
|
||||
makedepends=()
|
||||
md5sums=('61f62b7efce418fe669825e350792c8a')
|
||||
group=(dev.libs)
|
||||
uses=()
|
||||
uses_extra=(python)
|
||||
python_depends=(python)
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-v$version
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libdir=/usr/lib64/ \
|
||||
$(use_opt python --with-python --without-python)
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -18,23 +18,24 @@ uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
prepare() {
|
||||
patch -Np1 -i ../no-static.diff
|
||||
}
|
||||
|
||||
#prepare() {
|
||||
# patch -Np1 -i ../no-static.diff
|
||||
#}
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
#git describe --tags | sed 's/-/+/g'
|
||||
CFLAGS+=" -Wno-format-extra-args"
|
||||
cmake .
|
||||
autoreconf -fvi
|
||||
#git describe --tags | sed 's/-/+/g'
|
||||
CFLAGS+=" -Wno-format-extra-args"
|
||||
cmake .
|
||||
}
|
||||
|
||||
build(){
|
||||
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -1,102 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
name='fftw'
|
||||
release='1'
|
||||
version='3.3.10'
|
||||
url='https://www.fftw.org/'
|
||||
description='Fast C library for the Discrete Fourier Transform '
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/FFTW/fftw3/archive/refs/tags/fftw-$version.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('20fc019b3dc717b29c234590cdf4cc47')
|
||||
group=(media.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd ${name}3-fftw-$version
|
||||
_build_types=(single double long-double quad)
|
||||
|
||||
prepare() {
|
||||
local _i
|
||||
|
||||
# fix wrong soname in FFTW3LibraryDepends.cmake
|
||||
sed -e 's/3.6.9/3.6.10/' -i ./CMakeLists.txt
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
local _name
|
||||
local _configure=(
|
||||
./configure
|
||||
--prefix=/usr
|
||||
--enable-shared
|
||||
--enable-threads
|
||||
--enable-mpi
|
||||
--enable-openmp
|
||||
)
|
||||
local _configure_single=(
|
||||
--enable-sse
|
||||
--enable-avx
|
||||
--enable-single
|
||||
)
|
||||
local _configure_double=(
|
||||
--enable-sse2
|
||||
--enable-avx
|
||||
)
|
||||
local _configure_long_double=(
|
||||
--enable-long-double
|
||||
)
|
||||
local _configure_quad=(
|
||||
--disable-mpi
|
||||
--enable-quad-precision
|
||||
)
|
||||
local _cmake_options=(
|
||||
-B build
|
||||
-S .
|
||||
-D CMAKE_INSTALL_PREFIX=/usr
|
||||
-D CMAKE_BUILD_TYPE=None
|
||||
-D ENABLE_OPENMP=ON
|
||||
-D ENABLE_THREADS=ON
|
||||
-D ENABLE_FLOAT=ON
|
||||
-D ENABLE_LONG_DOUBLE=ON
|
||||
-D ENABLE_QUAD_PRECISION=ON
|
||||
-D ENABLE_SSE=ON
|
||||
-D ENABLE_SSE2=ON
|
||||
-D ENABLE_AVX=ON
|
||||
-D ENABLE_AVX2=ON
|
||||
)
|
||||
|
||||
# create missing FFTW3LibraryDepends.cmake
|
||||
# https://bugs.archlinux.org/task/67604
|
||||
cmake "${_cmake_options[@]}"
|
||||
# fix broken IMPORTED_LOCATION: https://github.com/FFTW/fftw3/issues/130#issuecomment-1030280157
|
||||
sed -e 's|\(IMPORTED_LOCATION_NONE\).*|\1 "/usr/lib/libfftw3.so.3"|' -i build/FFTW3LibraryDepends.cmake
|
||||
|
||||
export F77='gfortran'
|
||||
# use upstream default CFLAGS while keeping our -march/-mtune
|
||||
CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
check() {
|
||||
local _name
|
||||
|
||||
for _name in "${_build_types[@]}"; do
|
||||
make check-local -C $name-$version-$_name/tests
|
||||
done
|
||||
}
|
||||
|
||||
package() {
|
||||
local _name
|
||||
|
||||
|
||||
|
||||
# install missing FFTW3LibraryDepends.cmake
|
||||
install -vDm 644 build/FFTW3LibraryDepends.cmake -t "$pkgdir/usr/lib/cmake/fftw3/"
|
||||
}
|
||||
|
||||
@@ -18,16 +18,16 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
sh autogen.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -25,10 +25,10 @@ setup(){
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -18,16 +18,16 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
autoreconf -fiv
|
||||
autoreconf -fiv
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make -j`nproc`
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -18,18 +18,18 @@ arch=('x86_64')
|
||||
cd openpgm-release-$version
|
||||
cd openpgm/pgm
|
||||
setup(){
|
||||
cp openpgm-5.2.pc.in openpgm-5.3.pc.in
|
||||
./bootstrap.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
cp openpgm-5.2.pc.in openpgm-5.3.pc.in
|
||||
./bootstrap.sh
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
|
||||
}
|
||||
|
||||
build(){
|
||||
make
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install -j`nproc`
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz")
|
||||
depends=(dbus libsndfile tdb libICE libxcb libSM libXtst bluez orc gtk3 sbc jack2 lirc gst-plugins-base gstreamer libasyncns fftw speexdsp libsoxr)
|
||||
depends=(dbus libsndfile tdb libICE libxcb libSM libXtst bluez gtk3 sbc jack2 lirc gst-plugins-base gstreamer libasyncns speexdsp libsoxr)
|
||||
makedepends=()
|
||||
md5sums=('2c7b8ceb5d7337565c7314b4d6087ca8')
|
||||
group=(media.libs)
|
||||
|
||||
@@ -8,7 +8,7 @@ email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/libsndfile/libsndfile/archive/refs/tags/$version.tar.gz")
|
||||
depends=()
|
||||
depends=(opus flac libvorbis)
|
||||
makedepends=()
|
||||
md5sums=('015d2e3617241f293237bf1675f92486')
|
||||
group=(media.libs)
|
||||
@@ -18,13 +18,6 @@ arch=('x86_64')
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-Wno-dev \
|
||||
-B build-test \
|
||||
-S .
|
||||
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
@@ -37,8 +30,7 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
}
|
||||
|
||||
build(){
|
||||
make VERBOSE=1 -C build-test
|
||||
make VERBOSE=1 -C build
|
||||
make VERBOSE=1 -C build
|
||||
}
|
||||
|
||||
package(){
|
||||
|
||||
@@ -24,8 +24,7 @@ setup(){
|
||||
--enable-libwebpdemux \
|
||||
--enable-libwebpdecoder \
|
||||
--enable-libwebpextras \
|
||||
--enable-swap-16bit-csp \
|
||||
--disable-static
|
||||
--enable-swap-16bit-csp
|
||||
}
|
||||
|
||||
build(){
|
||||
|
||||
@@ -18,7 +18,8 @@ arch=('x86_64')
|
||||
dizin="multicoreware-x265_git-f0c1022b6be1/"
|
||||
#cd $name-"upstream"-$version
|
||||
cd $dizin
|
||||
ls -l
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
build(){
|
||||
cmake -S ./source -B build-12 -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
@@ -28,7 +29,7 @@ build(){
|
||||
-DENABLE_CLI=FALSE \
|
||||
-DENABLE_SHARED=FALSE \
|
||||
-Wno-dev
|
||||
ninja -C build-12
|
||||
ninja -C build-12
|
||||
|
||||
cmake -S ./source -B build-10 -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
||||
@@ -36,7 +36,7 @@ prepare() {
|
||||
#rm -rv waflib
|
||||
}
|
||||
|
||||
build() {
|
||||
setup() {
|
||||
local waf_options=(
|
||||
--prefix=/usr
|
||||
--libdir=/usr/lib64/
|
||||
@@ -47,64 +47,16 @@ build() {
|
||||
--dbus
|
||||
)
|
||||
|
||||
|
||||
|
||||
waf configure "${waf_options[@]}"
|
||||
}
|
||||
|
||||
build(){
|
||||
waf build
|
||||
}
|
||||
|
||||
package_jack2() {
|
||||
license+=(LGPL2.1)
|
||||
depends=(
|
||||
alsa-lib libasound.so
|
||||
db5.3
|
||||
dbus libdbus-1.so
|
||||
gcc-libs
|
||||
glibc
|
||||
libsamplerate libsamplerate.so
|
||||
opus libopus.so
|
||||
systemd-libs libsystemd.so
|
||||
)
|
||||
optdepends=(
|
||||
'a2jmidid: for ALSA MIDI to JACK MIDI bridging'
|
||||
'libffado: for firewire support using FFADO'
|
||||
'jack-example-tools: for official JACK example-clients and tools'
|
||||
'jack2-dbus: for dbus integration'
|
||||
'jack2-docs: for developer documentation'
|
||||
'realtime-privileges: for realtime privileges'
|
||||
)
|
||||
conflicts=(jack)
|
||||
provides=(jack libjack.so libjacknet.so libjackserver.so)
|
||||
|
||||
#cd $pkgbase
|
||||
package() {
|
||||
export PYTHONPATH="$PWD:$PYTHONPATH"
|
||||
waf install --destdir="$pkgdir"
|
||||
|
||||
(
|
||||
cd $pkgdir
|
||||
|
||||
_pick jack2-dbus usr/bin/jack{dbus,_control}
|
||||
_pick jack2-dbus usr/share/dbus-1/services/*
|
||||
_pick jack2-docs usr/share/doc/$name/html
|
||||
)
|
||||
}
|
||||
|
||||
package_jack2-dbus() {
|
||||
pkgdesc+=" (dbus integration)"
|
||||
depends=(
|
||||
dbus libdbus-1.so
|
||||
expat libexpat.so
|
||||
gcc-libs
|
||||
glibc
|
||||
jack2 libjackserver.so
|
||||
python-dbus
|
||||
)
|
||||
|
||||
mv -v jack2-dbus/* "$pkgdir"
|
||||
}
|
||||
|
||||
package_jack2-docs() {
|
||||
pkgdesc+=" (documentation)"
|
||||
|
||||
mv -v jack2-docs/* "$pkgdir"
|
||||
waf install --destdir="$DESTDIR"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user