This commit is contained in:
milisbir 2018-01-23 02:49:47 +02:00
parent fda8b51b09
commit f7f6a52565
12 changed files with 276 additions and 2 deletions

View File

@ -0,0 +1,45 @@
# Tanım: Kalıp dosyalarunu USB belleğe yaz
# URL: https://github.com/KaOSx/isowriter
# Paketçi: Cihan Alkan
# Gerekler: qt5
# Grup: sistem
isim=isowriter
surum=1.1.3
devir=1
kaynak=()
derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
git clone https://github.com/KaOSx/isowriter $DERLEME_KAYNAKDIZIN/$isim
else
cd $DERLEME_KAYNAKDIZIN/$isim
git pull
cd -
fi
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
cd $SRC/$isim
qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
make
make DESTDIR="${PKG}" install
mkdir -p $PKG/usr/share/applications
# Başlatıcı
cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
[Desktop Entry]
Type=Application
Categories=System;Utility;Archiving;
X-KDE-RootOnly=true
Exec=IsoWriter %F
Icon=icon-iw
Name=ISO Writer
Comment=Tool for creating bootable installation USB flash drives
Comment[tr]=Kalıp dosyalarunu USB belleğe yaz
GenericName=USB key writer
Version=1.0
EOF
mkdir -p $PKG/usr/bin
}

View File

@ -0,0 +1,20 @@
# Tanım: Gigasampler ve DLS dosyalarını yüklemek için C ++ kütüphanesi
# URL: https://www.linuxsampler.org/libgig/
# Paketçi: Cihan_Alkan
# Gerekler: libsndfile
# Grup: kütüphane
isim=libgig
surum=4.1.0
devir=1
kaynak=(https://download.linuxsampler.org/packages/$isim-$surum.tar.bz2)
derle() {
cd "${isim}-${surum}"
./configure --prefix=/usr
make
make DESTDIR="${PKG}" install
# add libgig library path to ld.so.conf.d (thanks to libgig-svn for the heads-up)
install -d "${PKG}/etc/ld.so.conf.d"
echo "/usr/lib/${isim}" > "${PKG}/etc/ld.so.conf.d/${isim}.conf"
}

View File

@ -1,7 +1,8 @@
# Tanım: Libglade için bir C ++ sarmalayıcı.
# URL: http://gtkmm.sourceforge.net/
# Paketçi: yasarciv67@gmail.com
# Gerekler: pkg-config libglade gtkmm
# Gerekler: libglade gtkmm
# Grup: kütüphane
isim=libglademm
surum=2.6.7
@ -17,4 +18,4 @@ derle() {
make
make DESTDIR="${PKG}" install
}
}

View File

@ -0,0 +1,11 @@
diff -ru libofa-0.9.3.orig//examples/protocol.cpp libofa-0.9.3//examples/protocol.cpp
--- libofa-0.9.3.orig//examples/protocol.cpp 2006-05-10 20:05:42.000000000 +0200
+++ libofa-0.9.3//examples/protocol.cpp 2011-07-22 19:02:30.687109297 +0200
@@ -12,7 +12,6 @@
#include <map>
#include <expat.h>
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
using namespace std;

View File

@ -0,0 +1,22 @@
diff -up libofa-0.9.3/examples/uselame.cpp.gcc47 libofa-0.9.3/examples/uselame.cpp
--- libofa-0.9.3/examples/uselame.cpp.gcc47 2012-01-14 09:35:24.343146853 -0600
+++ libofa-0.9.3/examples/uselame.cpp 2012-01-14 09:35:49.956826634 -0600
@@ -12,6 +12,7 @@
#else
#include <sys/wait.h>
#endif
+#include <unistd.h>
AudioData *loadWaveFile(char *file);
diff -up libofa-0.9.3/examples/wavefile.cpp.gcc47 libofa-0.9.3/examples/wavefile.cpp
--- libofa-0.9.3/examples/wavefile.cpp.gcc47 2012-01-14 09:35:24.344146841 -0600
+++ libofa-0.9.3/examples/wavefile.cpp 2012-01-14 16:00:54.414981160 -0600
@@ -11,6 +11,7 @@
#include "io.h"
#endif
#include <fcntl.h>
+#include <unistd.h>
static bool readBytes(int fd, unsigned char *buf, int size) {
int ct = 0;

View File

@ -0,0 +1,35 @@
diff -ur libofa-0.9.3.orig/examples/example.cpp libofa-0.9.3/examples/example.cpp
--- libofa-0.9.3.orig/examples/example.cpp 2006-05-10 21:05:37.000000000 +0300
+++ libofa-0.9.3/examples/example.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -9,6 +9,8 @@
#include "protocol.h"
+#include <string.h>
+
AudioData* loadWaveFile(char *file);
AudioData* loadDataUsingLAME(char *file);
Vain hakemistossa libofa-0.9.3/examples: example.cpp.orig
diff -ur libofa-0.9.3.orig/examples/protocol.cpp libofa-0.9.3/examples/protocol.cpp
--- libofa-0.9.3.orig/examples/protocol.cpp 2006-05-10 21:05:42.000000000 +0300
+++ libofa-0.9.3/examples/protocol.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -8,6 +8,7 @@
-------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
+#include <cstring>
#include <string>
#include <map>
#include <expat.h>
diff -ur libofa-0.9.3.orig/lib/signal_op.cpp libofa-0.9.3/lib/signal_op.cpp
--- libofa-0.9.3.orig/lib/signal_op.cpp 2006-05-10 21:01:12.000000000 +0300
+++ libofa-0.9.3/lib/signal_op.cpp 2008-04-16 15:51:49.000000000 +0300
@@ -12,6 +12,7 @@
// DATE CREATED: 1/12/06
+#include <cstdlib>
#include <math.h>
#include "signal_op.h"
#include "AFLIB/aflibConverter.h"

View File

@ -0,0 +1,10 @@
--- libofa-0.9.3/examples/example.cpp~ 2010-05-19 18:07:19.517650317 +0200
+++ libofa-0.9.3/examples/example.cpp 2010-05-19 18:07:31.754317472 +0200
@@ -6,6 +6,7 @@
No rights reserved.
-------------------------------------------------------------------*/
+#include <cstdio>
#include "protocol.h"

View File

@ -0,0 +1,39 @@
--- lib/JAMA/tnt_math_utils.h.orig 2006-06-17 01:46:22.000000000 +0300
+++ lib/JAMA/tnt_math_utils.h 2006-06-17 01:47:02.000000000 +0300
@@ -20,11 +20,20 @@
namespace TNT
{
/**
+ @returns the absolute value of a real (no-complex) scalar.
+*/
+template <class Real>
+Real abs(const Real &a)
+{
+ return (a > 0 ? a : -a);
+}
+/**
@returns hypotenuse of real (non-complex) scalars a and b by
avoiding underflow/overflow
using (a * sqrt( 1 + (b/a) * (b/a))), rather than
sqrt(a*a + b*b).
*/
+
template <class Real>
Real hypot(const Real &a, const Real &b)
{
@@ -56,15 +65,6 @@
}
*/
-/**
- @returns the absolute value of a real (no-complex) scalar.
-*/
-template <class Real>
-Real abs(const Real &a)
-{
- return (a > 0 ? a : -a);
-}
-
}
#endif
/* MATH_UTILS_H */

View File

@ -0,0 +1,31 @@
# Tanım: MusicIP tarafından açık kaynaklı bir ses parmak izi
# URL: https://github.com/tanob/libofa
# Paketçi: Cihan_Alkan
# Gerekler: fftw
# Grup: kütüphane
isim=libofa
surum=0.9.3
devir=1
kaynak=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/musicip-libofa/libofa-$surum.tar.gz
libofa-gcc4.patch
libofa-gcc4.3.patch
libofa-gcc4.5.patch
libofa-0.9.3-curl-7.21.patch
libofa-0.9.3-gcc-4.7.patch)
derle() {
cd ${isim}-${surum}
patch -p0 -i "${SRC}/libofa-gcc4.patch"
patch -p1 -i "${SRC}/libofa-gcc4.3.patch"
patch -p1 -i "${SRC}/libofa-gcc4.5.patch"
patch -p1 -i "${SRC}/libofa-0.9.3-gcc-4.7.patch"
patch -p1 -i "${SRC}/libofa-0.9.3-curl-7.21.patch"
./configure --prefix=/usr
make
make DESTDIR="${PKG}" install
install -D -m644 COPYING "${PKG}/usr/share/licenses/${isim}/LICENSE"
}

View File

@ -0,0 +1,21 @@
# Tanım: İyi widget'lara yaramaz şeyler yapıyor.
# URL: http://chipx86.com/wiki/Libsexy
# Paketçi: Cihan_Alkan
# Gerekler: gtk2 libxml2 iso-codes
# Grup: kütüphane
isim=libsexy
surum=0.1.11
devir=1
kaynak=(http://releases.chipx86.com/libsexy/libsexy/${isim}-${surum}.tar.gz)
derle() {
cd ${isim}-${surum}
./configure --prefix=/usr --disable-static
make
make DESTDIR=${PKG} install
rm -f ${PKG}/usr/lib/libsexy.a
}

View File

@ -0,0 +1,19 @@
# Tanım: Libsexy için C ++ bağları
# URL: http://osiris.chipx86.com/projects/libsexy
# Paketçi: Cihan_Alkan
# Gerekler: libsexy gtkmm
# Grup: kütüphane
isim=libsexymm
surum=0.1.9
devir=1
kaynak=(http://releases.chipx86.com/libsexy/libsexymm/${isim}-${surum}.tar.gz)
derle() {
cd ${isim}-${surum}
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${PKG}" install || return 1
}

View File

@ -0,0 +1,20 @@
# Tanım: GNOME için HTTP istemci/sunucu kitaplığı
# URL: https://wiki.gnome.org/LibSoup
# Paketçi: Cihan_Alkan
# Gerekler:
# Grup: kütüphane
isim=libsoup-22
surum=2.2.105
devir=1
kaynak=(http://ftp.gnome.org/pub/gnome/sources/libsoup/2.2/libsoup-${surum}.tar.bz2
update.patch)
derle() {
cd libsoup-${surum}
patch -p1 -i ../update.patch
./configure --prefix=/usr
make
make DESTDIR="${PKG}" install
}