mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
kodi and fstrcmp
This commit is contained in:
1
main/fstrcmp/.checksums
Normal file
1
main/fstrcmp/.checksums
Normal file
@@ -0,0 +1 @@
|
||||
9c440bbdfcad9fd22e38f2388715b0cc fstrcmp-0.7.D001.tar.gz
|
||||
29
main/fstrcmp/.pkgfiles
Normal file
29
main/fstrcmp/.pkgfiles
Normal file
@@ -0,0 +1,29 @@
|
||||
fstrcmp-0.7.D001-1
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/fstrcmp
|
||||
drwxr-xr-x root/root usr/include/
|
||||
-rw-r--r-- root/root usr/include/fstrcmp.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libfstrcmp.a
|
||||
lrwxrwxrwx root/root usr/lib/libfstrcmp.so -> libfstrcmp.so.0.6.0
|
||||
lrwxrwxrwx root/root usr/lib/libfstrcmp.so.0 -> libfstrcmp.so.0.6.0
|
||||
-rw-r--r-- root/root usr/lib/libfstrcmp.so.0.6.0
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/fstrcmp.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/fstrcmp.1.gz
|
||||
-rw-r--r-- root/root usr/share/man/man1/fstrcmp_license.1.gz
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/fmemcmp.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fmemcmpi.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcasecmp.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcasecmpi.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcmp.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcmpi.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcoll.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fstrcolli.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fwcscmp.3.gz
|
||||
-rw-r--r-- root/root usr/share/man/man3/fwcscmpi.3.gz
|
||||
15
main/fstrcmp/spkgbuild
Normal file
15
main/fstrcmp/spkgbuild
Normal file
@@ -0,0 +1,15 @@
|
||||
# description : fstrcmp - a library that is used to make fuzzy comparisons of strings and byte arrays
|
||||
# depends : ghostscript
|
||||
|
||||
name=fstrcmp
|
||||
version=0.7.D001
|
||||
release=1
|
||||
source=http://fstrcmp.sourceforge.net/fstrcmp-$version.tar.gz
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -fr $PKG/usr/share/doc
|
||||
}
|
||||
1
main/kodi/.checksums
Normal file
1
main/kodi/.checksums
Normal file
@@ -0,0 +1 @@
|
||||
a668854505eff3ca5ed9f33e3ac91c80 19.4-Matrix.tar.gz
|
||||
3084
main/kodi/.pkgfiles
Normal file
3084
main/kodi/.pkgfiles
Normal file
File diff suppressed because it is too large
Load Diff
67
main/kodi/spkgbuild
Normal file
67
main/kodi/spkgbuild
Normal file
@@ -0,0 +1,67 @@
|
||||
# description: kodi
|
||||
# depends: fmt rapidjson jre tinyxml openssl bzip2 gnutls python libtiff libjpeg-turbo libgcrypt libvorbis libogg libmpeg2 libass libxml2 libxslt fribidi sqlite3 libpng libpcre freetype taglib libcdio libbluray jasper dbus libmicrohttpd swig mesa3d glew glu libnfs ffmpeg dcadec crossguid flatbuffers fstrcmp spdlog gtest
|
||||
|
||||
name=kodi
|
||||
version=19.4
|
||||
release=7
|
||||
source="https://github.com/xbmc/xbmc/archive/$version-Matrix.tar.gz"
|
||||
|
||||
build(){
|
||||
cd xbmc-$version-*/
|
||||
|
||||
# catch pre-install skip error early
|
||||
#install -d -o kodi -g kodi -m 755 $PKG/var/lib/kodi
|
||||
|
||||
#[ -r /usr/lib/pkgconfig/libpulse.pc ] && KODI_OPT+=' -DENABLE_PULSEAUDIO=On'
|
||||
#[ -r /usr/include/bluetooth/bluetooth.h ] && KODI_EXTRA+=' -DENABLE_BLUETOOTH=On'
|
||||
|
||||
# Acceleration APIs
|
||||
#[ -r /usr/lib/pkgconfig/libva.pc ] && KODI_EXTRA+=' -DENABLE_VAAPI=On'
|
||||
#[ -r /usr/lib/pkgconfig/vdpau.pc ] && KODI_EXTRA+=' -DENABLE_VDPAU=On'
|
||||
|
||||
# Zeroconf support
|
||||
#[ -r /usr/lib/pkgconfig/avahi-client.pc ] && KODI_EXTRA+=' -DENABLE_AVAHI=On'
|
||||
|
||||
# Support storing data in MySQL besides Sqlite3
|
||||
#[ -x /usr/bin/mysql_config ] && KODI_EXTRA+=' -DENABLE_MYSQLCLIENT=On'
|
||||
|
||||
mkdir $SRC/build; cd $SRC/build
|
||||
|
||||
# KODI_DEPENDSBUILD builds tests for dependencies, fails for python INTL, why?
|
||||
cmake -Wno-dev $SRC/xbmc-$version-*/ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCORE_PLATFORM_NAME=X11 \
|
||||
-DVERBOSE=On \
|
||||
-DKODI_DEPENDSBUILD=Off \
|
||||
-DENABLE_OPTICAL=On \
|
||||
-DENABLE_ALSA=On \
|
||||
-DENABLE_MICROHTTPD=On \
|
||||
-DENABLE_LIRCCLIENT=Off \
|
||||
-DENABLE_EVENTCLIENTS=Off \
|
||||
-DENABLE_VAAPI=Off \
|
||||
-DENABLE_VDPAU=Off \
|
||||
-DENABLE_BLUETOOTH=Off \
|
||||
-DENABLE_MYSQLCLIENT=Off \
|
||||
-DENABLE_UDEV=On \
|
||||
-DENABLE_DBUS=On \
|
||||
-DENABLE_INTERNAL_CROSSGUID=On \
|
||||
-DENABLE_INTERNAL_FLATBUFFERS=On \
|
||||
-DENABLE_INTERNAL_SPDLOG=On \
|
||||
-DENABLE_INTERNAL_FMT=On \
|
||||
-DENABLE_INTERNAL_FSTRCMP=Off \
|
||||
-DENABLE_INTERNAL_RapidJSON=On \
|
||||
-DENABLE_INTERNAL_GTEST=On \
|
||||
-DENABLE_INTERNAL_FFMPEG=Off \
|
||||
-DFFMPEG_PATH=/usr \
|
||||
-DENABLE_UPNP=Auto \
|
||||
-DAPP_RENDER_SYSTEM=gl \
|
||||
$KODI_EXTRA
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
#install -D $SRC/kodi.rc -m 755 $PKG/etc/rc.d/kodi
|
||||
#rm -rf $PKG/usr/share/doc
|
||||
}
|
||||
Reference in New Issue
Block a user