bazı-paketler.paketlendi

This commit is contained in:
giresun28 2016-07-22 16:56:15 +00:00
parent 1329c7439a
commit e03cc53977
24 changed files with 568 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Description: A lightweight C++ template library for vector and matrix math.
# URL: http://eigen.tuxfamily.org/
# Packager: pierre at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake
name=eigen3

View File

@ -0,0 +1,17 @@
# Description: A minimalistic plugin API for video sources and filters
# URL: http://www.piksel.org/frei0r
# Packager: alihan-ozturk28@hotmail.com
# Depends on: gavl opencv doxygen
name=frei0r-plugins
version=1.4
release=1
source=(https://files.dyne.org/frei0r/releases/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,20 @@
# Description: A low level library, upon which multimedia APIs can be built
# URL: http://gmerlin.sourceforge.net/
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
name=gavl
version=1.4.0
release=1
source=(http://downloads.sourceforge.net/sourceforge/gmerlin/$name-$version.tar.gz)
build() {
cd $SRC/$name-$version
./configure --prefix=/usr \
--without-doxygen \
--with-cpuflags=none
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,198 @@
--- Makefile 2006-04-26 15:14:26.000000000 -0400
+++ Makefile 2010-06-19 16:53:25.000000000 -0400
@@ -44,7 +44,7 @@
# CCFLAGS = -c -O
CC = gcc -ansi -pedantic
-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
+CCFLAGS = -c -O2 -fPIC -DNeedFunctionPrototypes=1
LD = $(CC)
@@ -96,11 +96,11 @@
# Other tools
SHELL = /bin/sh
-LN = ln
+LN = ln -s -f
BASENAME = basename
AR = ar
ARFLAGS = cr
-RMFLAGS =
+RMFLAGS = -f
FIND = find
COMPRESS = compress
COMPRESSFLAGS =
@@ -139,7 +139,7 @@
# Targets
-LIBGSM = $(LIB)/libgsm.a
+LIBGSMSO = $(LIB)/libgsm.so
TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast
@@ -257,7 +257,7 @@
# Install targets
GSM_INSTALL_TARGETS = \
- $(GSM_INSTALL_LIB)/libgsm.a \
+ $(GSM_INSTALL_LIB)/libgsm.so \
$(GSM_INSTALL_INC)/gsm.h \
$(GSM_INSTALL_MAN)/gsm.3 \
$(GSM_INSTALL_MAN)/gsm_explode.3 \
@@ -279,7 +279,7 @@
# Target rules
-all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
+all: $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
@-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
@@ -299,24 +299,23 @@
# The basic API: libgsm
-$(LIBGSM): $(LIB) $(GSM_OBJECTS)
- -rm $(RMFLAGS) $(LIBGSM)
- $(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
- $(RANLIB) $(LIBGSM)
-
+$(LIBGSMSO): $(LIB) $(GSM_OBJECTS)
+ $(LD) -shared -Wl,-soname,libgsm.so.1 -o $@.1.0.13 $(GSM_OBJECTS)
+ $(LN) libgsm.so.1.0.13 $(LIBGSMSO).1
+ $(LN) libgsm.so.1.0.13 $(LIBGSMSO)
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.
-$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
+$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSMSO)
+ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)
$(UNTOAST): $(BIN) $(TOAST)
-rm $(RMFLAGS) $(UNTOAST)
- $(LN) $(TOAST) $(UNTOAST)
+ $(LN) toast $(UNTOAST)
$(TCAT): $(BIN) $(TOAST)
-rm $(RMFLAGS) $(TCAT)
- $(LN) $(TOAST) $(TCAT)
+ $(LN) toast $(TCAT)
# The local bin and lib directories
@@ -351,53 +350,54 @@
fi
$(TOAST_INSTALL_BIN)/toast: $(TOAST)
- -rm $@
+ -rm $(RMFLAGS) $@
cp $(TOAST) $@
chmod 755 $@
$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
+ -rm $(RMFLAGS) $@
+ $(LN) toast $@
$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
+ -rm $(RMFLAGS) $@
+ $(LN) toast $@
$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
- -rm $@
+ -rm $(RMFLAGS) $@
cp $? $@
chmod 444 $@
+$(GSM_INSTALL_LIB)/libgsm.so: $(LIBGSMSO)
+ -rm $(RMFLAGS) $@ $@.1 $@.1.0.13
+ cp $?.1.0.13 $@.1.0.13
+ chmod 755 $@.1.0.13
+ $(LN) libgsm.so.1.0.13 $@
+ $(LN) libgsm.so.1.0.13 $@.1
# Distribution
@@ -425,7 +425,7 @@
-print | xargs rm $(RMFLAGS)
clean: semi-clean
- -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
+ -rm $(RMFLAGS) $(LIBGSMSO)* $(ADDTST)/add \
$(TOAST) $(TCAT) $(UNTOAST) \
$(ROOT)/gsm-1.0.tar.Z
@@ -473,22 +473,22 @@
$(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run
( cd $(TST); ./run )
-$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSM)
+$(TST)/lin2txt: $(TST)/lin2txt.o $(LIBGSMSO)
$(LD) $(LFLAGS) -o $(TST)/lin2txt \
- $(TST)/lin2txt.o $(LIBGSM) $(LDLIB)
+ $(TST)/lin2txt.o $(LIBGSMSO) $(LDLIB)
-$(TST)/lin2cod: $(TST)/lin2cod.o $(LIBGSM)
+$(TST)/lin2cod: $(TST)/lin2cod.o $(LIBGSMSO)
$(LD) $(LFLAGS) -o $(TST)/lin2cod \
- $(TST)/lin2cod.o $(LIBGSM) $(LDLIB)
+ $(TST)/lin2cod.o $(LIBGSMSO) $(LDLIB)
-$(TST)/gsm2cod: $(TST)/gsm2cod.o $(LIBGSM)
+$(TST)/gsm2cod: $(TST)/gsm2cod.o $(LIBGSMSO)
$(LD) $(LFLAGS) -o $(TST)/gsm2cod \
- $(TST)/gsm2cod.o $(LIBGSM) $(LDLIB)
+ $(TST)/gsm2cod.o $(LIBGSMSO) $(LDLIB)
-$(TST)/cod2txt: $(TST)/cod2txt.o $(LIBGSM)
+$(TST)/cod2txt: $(TST)/cod2txt.o $(LIBGSMSO)
$(LD) $(LFLAGS) -o $(TST)/cod2txt \
- $(TST)/cod2txt.o $(LIBGSM) $(LDLIB)
+ $(TST)/cod2txt.o $(LIBGSMSO) $(LDLIB)
-$(TST)/cod2lin: $(TST)/cod2lin.o $(LIBGSM)
+$(TST)/cod2lin: $(TST)/cod2lin.o $(LIBGSMSO)
$(LD) $(LFLAGS) -o $(TST)/cod2lin \
- $(TST)/cod2lin.o $(LIBGSM) $(LDLIB)
+ $(TST)/cod2lin.o $(LIBGSMSO) $(LDLIB)

View File

@ -0,0 +1,26 @@
# Description: Shared libraries for GSM 06.10 lossy speech compression
# URL: http://www.quut.com/gsm/
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
name=gsm
version=1.0.14
release=1
source=(http://www.quut.com/$name/$name-$version.tar.gz
gsm.patch)
build() {
cd $name-*
patch -Np0 -i $SRC/gsm.patch
CFLAGS="${CFLAGS} -fPIC"
make CCFLAGS="-c ${CFLAGS}"
install -m755 -d $PKG/usr/{bin,lib,include/gsm,share/{licenses/${name},man/man{1,3}}}
make -j1 INSTALL_ROOT=$PKG/usr \
GSM_INSTALL_INC=$PKG/usr/include/gsm \
GSM_INSTALL_MAN=$PKG/usr/share/man/man3 \
TOAST_INSTALL_MAN=$PKG/usr/share/man/man1 \
install
}

View File

@ -0,0 +1,29 @@
# Description: Google Test - C++ testing utility based on the xUnit framework (like JUnit)
# URL: http://code.google.com/p/googletest
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake
name=gtest
version=1.7.0
release=1
source=(http://googletest.googlecode.com/files/$name-$version.zip)
build() {
cd $name-$version
mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
make
cd $SRC/$name-$version
mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$name,src/gtest/src,src/gtest/cmake}
install -m 0644 build/libgtest{,_main}.so $PKG/usr/lib
install -m 0644 include/gtest/*.h $PKG/usr/include/gtest
install -m 0644 include/gtest/internal/*.h $PKG/usr/include/gtest/internal/
install -m 0644 LICENSE $PKG/usr/share/licenses/$name/
install -m 0644 fused-src/gtest/* $PKG/usr/src/gtest/src/
install -m 0644 CMakeLists.txt $PKG/usr/src/gtest/
install -m 0644 cmake/* $PKG/usr/src/gtest/cmake/
}

View File

@ -0,0 +1,27 @@
diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c
--- ladspa_sdk.orig/src/load.c 2012-09-26 07:37:24.000000000 +0300
+++ ladspa_sdk/src/load.c 2012-09-26 07:38:58.000000000 +0300
@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in
to search. */
pcLADSPAPath = getenv("LADSPA_PATH");
+ if (! pcLADSPAPath)
+ pcLADSPAPath = "/usr/lib/ladspa";
if (pcLADSPAPath) {
diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c
--- ladspa_sdk.orig/src/search.c 2012-09-26 07:37:24.000000000 +0300
+++ ladspa_sdk/src/search.c 2012-09-26 07:38:46.000000000 +0300
@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal
pcLADSPAPath = getenv("LADSPA_PATH");
if (!pcLADSPAPath) {
- fprintf(stderr,
- "Warning: You do not have a LADSPA_PATH "
- "environment variable set.\n");
- return;
+ pcLADSPAPath = "/usr/lib/ladspa";
}
pcStart = pcLADSPAPath;

View File

@ -0,0 +1,11 @@
--- src/search.c.orig 2008-11-07 00:38:18.000000000 +0100
+++ src/search.c 2008-11-07 00:50:51.000000000 +0100
@@ -83,6 +83,8 @@
dlclose(pcFilename);
free(pcFilename);
}
+ } else {
+ free(pcFilename);
}
}
}

View File

@ -0,0 +1,29 @@
# Description: Linux Audio Developer's Simple Plugin API (LADSPA)
# URL: http://www.ladspa.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
name=ladspa
version=1.13
release=1
source=(https://github.com/OpenMandrivaAssociation/ladspa/raw/master/ladspa_sdk_$version.tgz
ladspa-fix-memleak-in-plugin-scanning.patch
ladspa-fallback-ladspa-path.patch)
build() {
cd ladspa_sdk/src
patch -Np1 -i ../../ladspa-fix-memleak-in-plugin-scanning.patch
patch -Np2 -i ../../ladspa-fallback-ladspa-path.patch
sed \
-e 's/mkdirhier/mkdir -p/' \
-e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
-i makefile
make targets
make INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa/" \
INSTALL_INCLUDE_DIR="$PKG/usr/include/" \
INSTALL_BINARY_DIR="$PKG/usr/bin/" install
}

View File

@ -0,0 +1,16 @@
# Description: Cross-platform audio output library and plugins.
# URL: http://www.xiph.org/ao/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: alsa-lib
name=libao
version=1.2.0
release=1
source=(http://downloads.xiph.org/releases/ao/libao-1.2.0.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,28 @@
# Description: An open source multimedia framework
# URL: http://www.mltframework.org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: ladspa frei0r-plugins libdv sdl-image libsamplerate sox ffmpeg vid-stab qt5 jack libexif swig movit eigen3
name=mlt
version=6.2.0
release=1
source=(https://github.com/mltframework/mlt/archive/v$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--avformat-swscale \
--enable-gpl --enable-gpl3 \
--qt-libdir=/usr/lib --qt-includedir=/usr/include/qt
make
make DESTDIR=$PKG install
# mlt python bindings
cd src/swig/python
./build
mkdir -p $PKG/usr/lib/python2.7/
install -m755 mlt.py $PKG/usr/lib/python2.7/
install -m755 _mlt.so $PKG/usr/lib/python2.7/
install -m755 mlt_wrap.o $PKG/usr/lib/python2.7/
}

View File

@ -0,0 +1,17 @@
# Description: The modern video toolkit
# URL: http://movit.sesse.net/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: eigen3 gtest sdl2 fftw libepoxy
name=movit
version=1.3.2
release=1
source=(https://movit.sesse.net/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

View File

@ -0,0 +1,17 @@
# Description: Open source implementation of the Adaptive Multi Rate (AMR) speech codec
# URL: http://opencore-amr.sourceforge.net/
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
name=opencore-amr
version=0.1.3
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr --disable-static
make
make DESTDIR=$PKG install
}

View File

@ -1,6 +1,6 @@
# Description: Open Source Computer Vision Library
# URL: http://opencv.willowgarage.com/wiki/
# Packager: pierre at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: libjpeg-turbo libtiff jasper libpng ffmpeg gstreamer xine-lib
_pybin=python2

View File

@ -0,0 +1,17 @@
# Description: Library for opening, seeking, and decoding .opus files
# URL: http://www.opus-codec.org/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: libogg opus
name=opusfile
version=0.7
release=1
source=(http://downloads.xiph.org/releases/opus/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
}

View File

@ -1,6 +1,6 @@
# Description: SDL_image is a simple library to load images of various formats as SDL surfaces.
# URL: http://www.libsdl.org/projects/SDL_image
# Packager: berlius at nutyx dot com
# Packager: alihan-ozturk28@hotmail.com
# Depends on: sdl libjpeg-turbo libpng libtiff libwebp
name=sdl-image

View File

@ -0,0 +1,24 @@
# Description: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
# URL: http://www.libsdl.org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: xorg-libxext xorg-libxrender xorg-libx11 xorg-libxcursor alsa-lib xorg-mesa pulseaudio xorg-libxrandr xorg-libxinerama libxkbcommon wayland
name=sdl2
version=2.0.4
release=1
source=(http://www.libsdl.org/release/SDL2-$version.tar.gz)
build() {
mkdir build
cd build
../SDL2-$version/configure --prefix=/usr \
--enable-sdl-dlopen \
--disable-arts --disable-esd --disable-nas \
--enable-alsa --enable-pulseaudio-shared \
--disable-video-wayland \
--disable-rpath
make
make DESTDIR=$PKG install
install -Dm644 ../SDL2-$version/COPYING.txt $PKG/usr/share/licenses/$name/LICENSE
}

View File

@ -0,0 +1,12 @@
diff -Naur sox-14.4.2-orig/src/Makefile.am sox-14.4.2/src/Makefile.am
--- sox-14.4.2-orig/src/Makefile.am 2015-04-08 17:11:09.555343005 -0400
+++ sox-14.4.2/src/Makefile.am 2015-04-08 17:11:25.115317153 -0400
@@ -95,7 +95,7 @@
libsox_la_CFLAGS = @WARN_CFLAGS@
libsox_la_LDFLAGS = @APP_LDFLAGS@ -version-info @SHLIB_VERSION@ \
- -export-symbols-regex '^(sox_.*|lsx_(check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
+ -export-symbols-regex '^(sox_.*|lsx_(error|flush|check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
if HAVE_WIN32_LTDL
libsox_la_SOURCES += win32-ltdl.c win32-ltdl.h

View File

@ -0,0 +1,27 @@
# Description:The Swiss Army knife of sound processing tools
# URL: http://sox.sourceforge.net/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: file libsndfile libpng lame opencore-amr gsm libao libmad libid3tag wavpack pulseaudio opusfile time
name=sox
version=14.4.2
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2
sox-dynamic.patch)
build() {
cd $name-$version
sed -i 's|man1/sox.1 soxeffect.7|man1/sox.1.gz soxeffect.7.gz|' Makefile.in
patch -p1 -i $SRC/sox-dynamic.patch
aclocal
automake
./configure --prefix=/usr --sysconfdir=/etc \
--with-dyn-default --with-distro="NuTyX"
make
make bindir=. installcheck
make DESTDIR=$PKG install
}

View File

@ -1,7 +1,8 @@
# Description = Measures many of the CPU resources, such as time and memory, that other programs use.
# URL: http://ftp.gnu.org/gnu/time
# Packager: berlius at nutyx dot com
# Packager: alihan-ozturk28@hotmail.com
# Depends on :
description="Measures many of the CPU resources, such as time and memory, that other programs use."
name=time
version=1.7
release=1

View File

@ -0,0 +1,23 @@
# Description: Video stabilization library
# URL: http://public.hronopik.de/vid.stab
# Packager: alihan-ozturk28@hotmail.com
# Depends on: cmake git
name=vid-stab
version=1.1
release=1
source=()
build() {
git clone https://github.com/georgmartius/vid.stab.git
cd vid.stab
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$PKG install
}

View File

@ -1,6 +1,6 @@
# Description: Audio compression format with lossless, lossy and hybrid compression modes
# URL: http://www.wavpack.com/
# Packager: pierre at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on:
name=wavpack

View File

@ -1,6 +1,6 @@
# Description: contains the library xine
# URL: http://xinehq.de/
# Packager: pierre at nutyx dot org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: xorg-mesa xorg-libxvmc libxcb faad2 speex libmng libvorbis flac libtheora sdl ffmpeg samba librsvg imagemagick
name=xine-lib

View File

@ -0,0 +1,22 @@
# Description: A free video player for Unix
# URL: http://www.xine-project.org
# Packager: alihan-ozturk28@hotmail.com
# Depends on: xine-lib curl xorg-libxft xorg-libxxf86vm xdg-utils shared-mime-info hicolor-icon-theme desktop-file-utils
name=xine-ui
version=0.99.9
release=1
source=(http://downloads.sourceforge.net/xine/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-x \
--disable-lirc \
--without-aalib \
--enable-debug
make
make DESTDIR=$PKG desktopdir=/usr/share/applications install
}