mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
commit
22737ca725
13 changed files with 119 additions and 103 deletions
|
@ -1197,7 +1197,7 @@ libmmal_core.so rpi-userland-0.0.0.0.20150907_1
|
||||||
libmmal_util.so rpi-userland-0.0.0.0.20150907_1
|
libmmal_util.so rpi-userland-0.0.0.0.20150907_1
|
||||||
libOpenVG.so rpi-userland-0.0.0.0.20150907_1
|
libOpenVG.so rpi-userland-0.0.0.0.20150907_1
|
||||||
liblockdev.so.1 lockdev-1.0.3_1
|
liblockdev.so.1 lockdev-1.0.3_1
|
||||||
libcec.so.3.0 libcec-3.0.1_1
|
libcec.so.3 libcec-3.1.0_1
|
||||||
libpython3.3m.so.1.0 python3-3.3.0_1
|
libpython3.3m.so.1.0 python3-3.3.0_1
|
||||||
librump.so.0 netbsd-rumpkernel-20130321_1
|
librump.so.0 netbsd-rumpkernel-20130321_1
|
||||||
librumpvfs.so.0 netbsd-rumpkernel-20130321_1
|
librumpvfs.so.0 netbsd-rumpkernel-20130321_1
|
||||||
|
@ -2129,6 +2129,7 @@ libembree.so.2 embree-2.5.1_1
|
||||||
libgtkimageview.so.0 gtkimageview-1.6.4_1
|
libgtkimageview.so.0 gtkimageview-1.6.4_1
|
||||||
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
||||||
libplatform.so.2.0 platform-2.0.1_1
|
libplatform.so.2.0 platform-2.0.1_1
|
||||||
|
libp8-platform.so.2.0 p8-platform-2.0.1_1
|
||||||
libfacter.so.3.0.2 facter-3.0.2_1
|
libfacter.so.3.0.2 facter-3.0.2_1
|
||||||
libOIS-1.3.0.so ois-1.3_1
|
libOIS-1.3.0.so ois-1.3_1
|
||||||
libSILLY.so.1 silly-0.1.0_1
|
libSILLY.so.1 silly-0.1.0_1
|
||||||
|
@ -2402,3 +2403,4 @@ libqxmpp.so.0 qxmpp-0.9.3_1
|
||||||
libunwind.so.1 llvm-libunwind-3.8.0_1
|
libunwind.so.1 llvm-libunwind-3.8.0_1
|
||||||
libc++abi.so.1 libcxxabi-3.8.0_1
|
libc++abi.so.1 libcxxabi-3.8.0_1
|
||||||
libfastjson.so.3 libfastjson-0.99.2_1
|
libfastjson.so.3 libfastjson-0.99.2_1
|
||||||
|
libdcadec.so.0 dcadec-0.2.0_1
|
||||||
|
|
25
srcpkgs/crossguid/template
Normal file
25
srcpkgs/crossguid/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'crossguid'
|
||||||
|
pkgname=crossguid
|
||||||
|
version=0.0.20160317
|
||||||
|
revision=1
|
||||||
|
_githash="8f399e8bd4252be9952f3dfa8199924cc8487ca4"
|
||||||
|
_gitshort="${_githash:0:7}"
|
||||||
|
short_desc="Lightweight cross platform C++ GUID/UUID library (git $_gitshort)"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://github.com/graeme-hill/crossguid"
|
||||||
|
distfiles="$homepage/archive/$_githash.tar.gz"
|
||||||
|
makedepends="libuuid-devel"
|
||||||
|
checksum=022c9f02cc36e865cd8fd0111a597ff2bd91988deeb348dbe2aba64aed1abd99
|
||||||
|
wrksrc=$pkgname-$_githash
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
$CXX -c guid.cpp -o guid.o $CXXFLAGS -std=c++11 -DGUID_LIBUUID
|
||||||
|
ar rvs libcrossguid.a guid.o
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
vinstall libcrossguid.a 644 usr/lib
|
||||||
|
vinstall guid.h 644 usr/include
|
||||||
|
}
|
1
srcpkgs/dcadec-devel
Symbolic link
1
srcpkgs/dcadec-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
dcadec
|
24
srcpkgs/dcadec/template
Normal file
24
srcpkgs/dcadec/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'dcadec'
|
||||||
|
pkgname=dcadec
|
||||||
|
version=0.2.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
short_desc="DTS Coherent Acoustics decoder with support for HD extensions"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="LGPL-2"
|
||||||
|
homepage="https://github.com/foo86/dcadec"
|
||||||
|
distfiles="$homepage/archive/v0.2.0.tar.gz"
|
||||||
|
checksum=ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44
|
||||||
|
CFLAGS='-std=gnu99'
|
||||||
|
make_build_args="CONFIG_SHARED=TRUE"
|
||||||
|
make_install_args="CONFIG_SHARED=TRUE"
|
||||||
|
|
||||||
|
dcadec-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1 +0,0 @@
|
||||||
../../kodi/patches/fix-rsxs.patch
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'kodi-rpi'
|
# Template file for 'kodi-rpi'
|
||||||
pkgname=kodi-rpi
|
pkgname=kodi-rpi
|
||||||
version=15.2
|
version=16.0
|
||||||
revision=3
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
_codename="Isengard"
|
_codename="Jarvis"
|
||||||
wrksrc="xbmc-${version}-${_codename}"
|
wrksrc="xbmc-${version}-${_codename}"
|
||||||
short_desc="A software media player and entertainment hub for digital media (RPi)"
|
short_desc="A software media player and entertainment hub for digital media (RPi)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.kodi.tv"
|
homepage="http://www.kodi.tv/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
||||||
checksum=dd8aeb942e6de5d1488e243e1346cff3f6597e21b5131a3ba72ff5cc82037110
|
checksum=0421ea1337cdee674f8a36d995f54152b5ddc4100e53410b3aeeb3b3f7d53946
|
||||||
|
|
||||||
nopie=yes
|
nopie=yes
|
||||||
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
||||||
|
@ -26,8 +26,8 @@ makedepends="
|
||||||
jasper-devel faac-devel faad2-devel libmodplug-devel libressl-devel libass-devel
|
jasper-devel faac-devel faad2-devel libmodplug-devel libressl-devel libass-devel
|
||||||
libmad-devel fontconfig-devel libsamplerate-devel libmms-devel libcurl-devel ffmpeg-devel
|
libmad-devel fontconfig-devel libsamplerate-devel libmms-devel libcurl-devel ffmpeg-devel
|
||||||
enca-devel boost-devel libbluetooth-devel yajl-devel libplist-devel librtmp-devel
|
enca-devel boost-devel libbluetooth-devel yajl-devel libplist-devel librtmp-devel
|
||||||
tinyxml-devel taglib-devel libcap-devel lame-devel libnfs-devel libxslt-devel
|
tinyxml-devel taglib-devel libcap-devel lame-devel libnfs-devel libxslt-devel libuuid-devel giflib-devel
|
||||||
libcec-devel libmicrohttpd-devel libcdio-devel python-devel libssh-devel rpi-userland-devel"
|
libcec-devel libmicrohttpd-devel libcdio-devel python-devel libssh-devel rpi-userland-devel dcadec-devel crossguid"
|
||||||
|
|
||||||
# The following dependencies are dlopen(3)ed.
|
# The following dependencies are dlopen(3)ed.
|
||||||
depends="libmad libogg libcurl libflac libmodplug libass libmpeg2 lame
|
depends="libmad libogg libcurl libflac libmodplug libass libmpeg2 lame
|
||||||
|
|
BIN
srcpkgs/kodi/kodi-15.2-generated-addons.tar.xz
Normal file
BIN
srcpkgs/kodi/kodi-15.2-generated-addons.tar.xz
Normal file
Binary file not shown.
|
@ -1,82 +1,36 @@
|
||||||
--- ./lib/SlingboxLib/SlingboxLib.cpp 2013-12-12 21:47:49.000000000 +0000
|
diff -upr xbmc-16.0-Jarvis.orig/configure.ac xbmc-16.0-Jarvis/configure.ac
|
||||||
+++ ./lib/SlingboxLib/SlingboxLib.cpp 2014-04-15 06:07:15.746789122 +0000
|
--- xbmc-16.0-Jarvis.orig/configure.ac 2016-03-19 07:28:05.389703445 +0100
|
||||||
@@ -29,7 +29,9 @@
|
+++ xbmc-16.0-Jarvis/configure.ac 2016-03-19 07:35:44.771669064 +0100
|
||||||
#include <time.h>
|
@@ -564,7 +564,7 @@ case $host in
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
+#include <sys/time.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
+#include <sys/select.h>
|
|
||||||
#define INVALID_SOCKET (SOCKET)(~0)
|
|
||||||
#define SOCKET_ERROR (-1)
|
|
||||||
#endif
|
|
||||||
--- ./xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp 2014-04-15 05:52:42.214313750 +0000
|
|
||||||
+++ ./xbmc/visualizations/XBMCProjectM/libprojectM/BeatDetect.cpp 2014-04-15 05:49:51.921324165 +0000
|
|
||||||
@@ -33,7 +33,7 @@
|
|
||||||
|
|
||||||
#include "Common.hpp"
|
|
||||||
#include "PCM.hpp"
|
|
||||||
-#include <cmath>
|
|
||||||
+#include "math.h"
|
|
||||||
#include "BeatDetect.hpp"
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
--- ./xbmc/cores/DllLoader/ldt_keeper.c.orig
|
|
||||||
+++ ./xbmc/cores/DllLoader/ldt_keeper.c
|
|
||||||
@@ -48,7 +48,7 @@
|
|
||||||
#if defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0))
|
|
||||||
_syscall3( int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount );
|
|
||||||
#else
|
|
||||||
-#if defined(TARGET_ANDROID) && defined(__i386__) && !defined(modify_ldt)
|
|
||||||
+#if defined(__linux__) && !defined(__GLIBC__) && !defined(modify_ldt)
|
|
||||||
#define modify_ldt(a,b,c) syscall( __NR_modify_ldt, a, b, c);
|
|
||||||
#else
|
|
||||||
int modify_ldt(int func, void *ptr, unsigned long bytecount);
|
|
||||||
--- ./tools/depends/native/TexturePacker/src/XBTFWriter.cpp
|
|
||||||
+++ ./tools/depends/native/TexturePacker/src/XBTFWriter.cpp
|
|
||||||
@@ -23,11 +23,7 @@
|
|
||||||
#include <inttypes.h>
|
|
||||||
#include "guilib/XBTF.h"
|
|
||||||
#include "utils/EndianSwap.h"
|
|
||||||
-#if defined(TARGET_FREEBSD) || defined(TARGET_DARWIN)
|
|
||||||
#include <stdlib.h>
|
|
||||||
-#elif !defined(TARGET_DARWIN)
|
|
||||||
-#include <malloc.h>
|
|
||||||
-#endif
|
|
||||||
#include <memory.h>
|
|
||||||
|
|
||||||
#define WRITE_STR(str, size, file) fwrite(str, size, 1, file)
|
|
||||||
--- ./configure.ac.orig
|
|
||||||
+++ ./configure.ac
|
|
||||||
@@ -604,7 +604,7 @@
|
|
||||||
use_x11=no
|
use_x11=no
|
||||||
build_shared_lib=yes
|
build_shared_lib=yes
|
||||||
;;
|
;;
|
||||||
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
||||||
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-linux-musl*)
|
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|i*86*-linux-musl*)
|
||||||
|
target_platform=target_linux
|
||||||
ARCH="i486-linux"
|
ARCH="i486-linux"
|
||||||
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
||||||
use_arch="x86"
|
@@ -586,7 +586,7 @@ case $host in
|
||||||
@@ -625,7 +625,7 @@
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
||||||
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*)
|
+ x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*|x86_64-*-linux-musl*)
|
||||||
|
target_platform=target_linux
|
||||||
ARCH="x86_64-linux"
|
ARCH="x86_64-linux"
|
||||||
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
if test "$use_cpu" = "no" -a "$cross_compiling" = "yes"; then
|
||||||
use_arch="x86_64"
|
@@ -645,7 +645,7 @@ case $host in
|
||||||
@@ -681,7 +681,7 @@
|
|
||||||
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
|
powerpc64-*-linux-gnu*|powerpc64-*-linux-uclibc*)
|
||||||
ARCH="powerpc64-linux"
|
ARCH="powerpc64-linux"
|
||||||
;;
|
;;
|
||||||
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
|
- arm*-*-linux-gnu*|arm*-*-linux-uclibc*)
|
||||||
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*)
|
+ arm*-*-linux-gnu*|arm*-*-linux-uclibc*|arm*-*-linux-musl*)
|
||||||
|
target_platform=target_linux
|
||||||
ARCH="arm"
|
ARCH="arm"
|
||||||
use_arch="arm"
|
use_arch="arm"
|
||||||
use_joystick=no
|
diff -upr xbmc-16.0-Jarvis.orig/m4/xbmc_arch.m4 xbmc-16.0-Jarvis/m4/xbmc_arch.m4
|
||||||
--- ./m4/xbmc_arch.m4.orig 2015-10-19 08:31:15.000000000 +0200
|
--- xbmc-16.0-Jarvis.orig/m4/xbmc_arch.m4 2016-02-20 16:21:19.000000000 +0100
|
||||||
+++ ./m4/xbmc_arch.m4 2015-11-05 18:50:57.346659240 +0100
|
+++ xbmc-16.0-Jarvis/m4/xbmc_arch.m4 2016-03-19 07:37:37.070660659 +0100
|
||||||
@@ -2,10 +2,10 @@ AC_DEFUN([XBMC_SETUP_ARCH_DEFINES],[
|
@@ -2,10 +2,10 @@ AC_DEFUN([XBMC_SETUP_ARCH_DEFINES],[
|
||||||
|
|
||||||
# build detection and setup - this is the native arch
|
# build detection and setup - this is the native arch
|
||||||
|
@ -104,7 +58,7 @@
|
||||||
# host detection and setup - this is the target arch
|
# host detection and setup - this is the target arch
|
||||||
case $host in
|
case $host in
|
||||||
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
- i*86*-linux-gnu*|i*86*-*-linux-uclibc*)
|
||||||
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc|*i*86*-linux-musl*)
|
+ i*86*-linux-gnu*|i*86*-*-linux-uclibc*|*i*86*-linux-musl*)
|
||||||
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
AC_SUBST(ARCH_DEFINES, "-DTARGET_POSIX -DTARGET_LINUX -D_LINUX")
|
||||||
;;
|
;;
|
||||||
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
- x86_64-*-linux-gnu*|x86_64-*-linux-uclibc*)
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
--- xbmc-12.3-Frodo/xbmc/screensavers/rsxs-0.9/configure.ac 2014-04-15 10:22:51.025587069 +0000
|
|
||||||
+++ xbmc-12.3-Frodo/xbmc/screensavers/rsxs-0.9/configure.ac 2014-04-15 10:21:51.947852111 +0000
|
|
||||||
@@ -14,18 +14,13 @@
|
|
||||||
|
|
||||||
# Checks for programs.
|
|
||||||
LT_AC_PROG_SED
|
|
||||||
-AC_LANG(C++)
|
|
||||||
-AC_PROG_CXX
|
|
||||||
-#CXXFLAGS=`echo $CXXFLAGS | sed -e s,-O2,-O3,`
|
|
||||||
-AC_PROG_CXXCPP
|
|
||||||
-
|
|
||||||
-#if test x"$GXX" = x"yes"; then
|
|
||||||
-# CXXFLAGS=`echo $CXXFLAGS -Wall`
|
|
||||||
-#fi
|
|
||||||
|
|
||||||
AC_PROG_CC
|
|
||||||
AM_PROG_CC_C_O
|
|
||||||
gl_EARLY
|
|
||||||
+AC_PROG_CXX
|
|
||||||
+AC_PROG_CXXCPP
|
|
||||||
+
|
|
||||||
AC_PROG_RANLIB
|
|
||||||
|
|
||||||
# Cut-down version of AC_LIB_LTDL. We don't want the option to install
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'kodi'
|
# Template file for 'kodi'
|
||||||
pkgname=kodi
|
pkgname=kodi
|
||||||
version=15.2
|
version=16.0
|
||||||
revision=4
|
revision=1
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
_codename="Isengard"
|
_codename="Jarvis"
|
||||||
wrksrc="xbmc-${version}-${_codename}"
|
wrksrc="xbmc-${version}-${_codename}"
|
||||||
short_desc="A software media player and entertainment hub for digital media"
|
short_desc="A software media player and entertainment hub for digital media"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.kodi.tv/"
|
homepage="http://www.kodi.tv/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
||||||
checksum=dd8aeb942e6de5d1488e243e1346cff3f6597e21b5131a3ba72ff5cc82037110
|
checksum=0421ea1337cdee674f8a36d995f54152b5ddc4100e53410b3aeeb3b3f7d53946
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
|
@ -30,7 +30,7 @@ makedepends="
|
||||||
libbluetooth-devel yajl-devel libplist-devel librtmp-devel tinyxml-devel
|
libbluetooth-devel yajl-devel libplist-devel librtmp-devel tinyxml-devel
|
||||||
taglib-devel libcap-devel lame-devel libbluray-devel libnfs-devel ffmpeg-devel
|
taglib-devel libcap-devel lame-devel libbluray-devel libnfs-devel ffmpeg-devel
|
||||||
giflib-devel libxslt-devel gnutls-devel libssh-devel libmicrohttpd-devel
|
giflib-devel libxslt-devel gnutls-devel libssh-devel libmicrohttpd-devel
|
||||||
libcec-devel"
|
libcec-devel dcadec-devel crossguid"
|
||||||
# The following dependencies are dlopen(3)ed.
|
# The following dependencies are dlopen(3)ed.
|
||||||
depends="libbluray libmad libvorbis libcurl libflac libmodplug libass libmpeg2
|
depends="libbluray libmad libvorbis libcurl libflac libmodplug libass libmpeg2
|
||||||
lame librtmp libnfs>=1.9.7 libplist>=1.12"
|
lame librtmp libnfs>=1.9.7 libplist>=1.12"
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'libcec'
|
# Template file for 'libcec'
|
||||||
pkgname=libcec
|
pkgname=libcec
|
||||||
version=3.0.1
|
version=3.1.0
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc="${pkgname}-${pkgname}-${version}"
|
wrksrc="${pkgname}-${pkgname}-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="cmake pkg-config libtool swig"
|
hostmakedepends="cmake pkg-config libtool swig"
|
||||||
makedepends="libudev-devel lockdev-devel platform-devel platform-devel libXrandr-devel
|
makedepends="libudev-devel lockdev-devel p8-platform-devel libXrandr-devel
|
||||||
lockdev-devel python-devel"
|
lockdev-devel python-devel"
|
||||||
short_desc="USB CEC Adapter communication Library"
|
short_desc="USB CEC Adapter communication Library"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://github.com/Pulse-Eight/libcec"
|
homepage="https://github.com/Pulse-Eight/libcec"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
||||||
checksum=7e3670c8949a1964d6e5481f56dfff838857da10bdc60b506f6e9b7f117e253e
|
checksum=09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921
|
||||||
|
|
||||||
build_options="rpi"
|
build_options="rpi"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -43,7 +43,7 @@ cec-client_package() {
|
||||||
}
|
}
|
||||||
libcec-devel_package() {
|
libcec-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
depends="libudev-devel platform-devel libcec>=${version}_${revision}"
|
depends="libudev-devel p8-platform-devel libcec>=${version}_${revision}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
|
|
1
srcpkgs/p8-platform-devel
Symbolic link
1
srcpkgs/p8-platform-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
p8-platform
|
34
srcpkgs/p8-platform/template
Normal file
34
srcpkgs/p8-platform/template
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'p8-platform'
|
||||||
|
pkgname=p8-platform
|
||||||
|
version=2.0.1
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="cmake"
|
||||||
|
short_desc="Platform support library used by libCEC (Pulse Eight Edition)"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://github.com/Pulse-Eight/platform"
|
||||||
|
distfiles="https://github.com/Pulse-Eight/platform/archive/p8-platform-$version.tar.gz"
|
||||||
|
checksum=e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf
|
||||||
|
configure_args+=" -DBUILD_SHARED_LIBS=1"
|
||||||
|
wrksrc=platform-$pkgname-$version
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/lib
|
||||||
|
if [ -d $DESTDIR/usr/lib64 ]; then
|
||||||
|
mv $DESTDIR/usr/lib64/* $DESTDIR/usr/lib
|
||||||
|
fi
|
||||||
|
sed -i "s#$wrksrc/build/##" $DESTDIR/usr/lib/p8-platform/p8-platform-config.cmake $DESTDIR/usr/lib/pkgconfig/p8-platform.pc
|
||||||
|
mv $DESTDIR/$wrksrc/build/lib*/* $DESTDIR/usr/lib
|
||||||
|
}
|
||||||
|
|
||||||
|
p8-platform-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/lib/p8-platform
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue