Compare commits
No commits in common. "6f6f50184eb9ddab28190dc6a4068c437b85b6da" and "1517ccd308e29e6159394f8700baa4de25aa73b0" have entirely different histories.
6f6f50184e
...
1517ccd308
7
app-admin/lastpass-cli/Manifest
Normal file
7
app-admin/lastpass-cli/Manifest
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
AUX lastpass-cli-1.3.3/extern.patch 352 SHA256 166f6cf18dd5c9d919a5910a254641dda615d7e6201fd30cf714bca63760934e SHA512 42969d481f1649fa8c72dc73a9c0c86359bad1998c827e523c79df32cdec3a370ea401ad23d241953f8e5d61854cacd3bb7de3d9859741c0bb58f684a6b4b6f4 WHIRLPOOL 7cb580077e731fad46d38f270543dc38d304b6d4a58327a27244781907a58101ba27711e8abae9146b01781978838e1d0fbb3b26ea3ddbf942ebd8f9ccd71575
|
||||||
|
AUX lastpass-cli-1.3.3/globals.patch 225 SHA256 3655bb1f62bc6a18d0f145874ff576b32fce63ccdb3e719f0820b5dbd26832fd SHA512 5cca8a58b976baef7520df443239d01c4e72e879b0b3a18bf79eff6d262c64c66856e64e91a7bb781355fea2daff83dc638f638480bdceda832cbb154ac617a0 WHIRLPOOL 7eaf82a08954e94f7a0904254366c94f1422988fc4495b91393a0353a74c99f2ce4cf05c047a3500b289fd9bbe50699a7b7210faa7de167fb78fc796ad2f0ba2
|
||||||
|
DIST lastpass-cli-1.1.2.tar.gz 102796 SHA256 bc737d8e6d713c8aecdfb7f34b29aa9a8ae9b1e9ba80b31059686b18591a8c39 SHA512 8115cb07cfca15ef402bdbd8ce943352e1534ddb781274e21cb0fafa4bcd9ab7abe4ddba57c4ebbce326f09cc9249f244607d16cac5597e61cf21c73417e7d9c WHIRLPOOL c7e6a4d5ac9b8c52f53e081b367289b390704fa4dfbf13a9ea0086e4ca0d49f9ef5a39f9ea854387ffb66fbd18f9b5263d17ae6573c4286fb7a36ebdce724d7f
|
||||||
|
DIST lastpass-cli-1.3.3.tar.gz 116434 SHA256 f38e1ee7e06e660433a575a23b061c2f66ec666d746e988716b2c88de59aed73 SHA512 9b9274cae1fe4045b7df4402170c522ab5765929739e76141b35a75ce3c8af824acd881e194face45e8721d6ce778bde97ff1a1ac23515de0c6dba28d61a8c7e WHIRLPOOL a1ac65681603e75ce9e59d2cae98250eb3ceb9618fb932a4f6ee0e8e10b923ddfd225abab4e264205078d7191381dcb1bad647603d971b88ce48d7bee0feb10c
|
||||||
|
EBUILD lastpass-cli-1.1.2.ebuild 1012 SHA256 181d3b59b7733521798cd2cf98dbf35aa13c6706708b6e8131faa3c3b91fb8cf SHA512 d319bd79f9281f4ef9c6dce9ae68e58ac628addf7218b1bce38d983731a8e21cb9f4e112bb74fe2a0a598767c3381917c27191fc91834f5c1bd15fc22c92564f WHIRLPOOL 301454d57323c010210efedb18a3e89471774cb1fcdaad56dbb2d1f77148259d17378416e450174625bd06c702681ad27f1f0dc15b28e1c950e2508d51c9625d
|
||||||
|
EBUILD lastpass-cli-1.3.3.ebuild 1046 SHA256 bf0c2e68cf75c183f03492b3c1b839d1401adcf47aaba289650ea970fb1a6488 SHA512 f559ceeb7fe8ae3b9cce52bb28ddb6d85bea94ed02501d6dce1b016569732a4ed293ba2f3f93ec85111ffdf8874aee10829114e91d2c2eece9b26c53a5a220ab WHIRLPOOL 9176102fd2ba6c9f97a3c9bc7d484afafaa93ad67e82ae5c68e9e3567628773b10ccc96ce7c4a9108394b4a0b2254ac2cdc8a57c7bc929785a21a9c5f4958bc1
|
||||||
|
MISC metadata.xml 643 SHA256 7b04ceab7153ce462669fca6ee8dd72e37c4c6e9e6f2b9de866c97b03af4d036 SHA512 6b1a7f6566687384d328260576dad306dd07add06001b3746b4f37f05ff91b6ee72e1e2ecfd35463a5b78b4ba8dd1a7757503bdf992372dbd474967e4bf0e9f3 WHIRLPOOL 3215f5055176a55e1e0489f560061f242fb2887d4e68ebe0655925aa751a88333de8fd8513cd065e8a74cbdf96df686adbd8fd34021e8a600f4181050786e241
|
||||||
14
app-admin/lastpass-cli/files/lastpass-cli-1.3.3/extern.patch
Normal file
14
app-admin/lastpass-cli/files/lastpass-cli-1.3.3/extern.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -u old/process.h new/process.h
|
||||||
|
--- old/process.h 2021-07-21 11:44:43.757743766 -0400
|
||||||
|
+++ new/process.h 2021-07-21 11:45:04.014497097 -0400
|
||||||
|
@@ -4,8 +4,8 @@
|
||||||
|
#include <stdbool.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
-int ARGC;
|
||||||
|
-char **ARGV;
|
||||||
|
+extern int ARGC;
|
||||||
|
+extern char **ARGV;
|
||||||
|
|
||||||
|
void process_set_name(const char *name);
|
||||||
|
void process_disable_ptrace(void);
|
||||||
@ -0,0 +1,9 @@
|
|||||||
|
diff -uN old/globals.c new/globals.c
|
||||||
|
--- old/globals.c 1969-12-31 19:00:00.000000000 -0500
|
||||||
|
+++ new/globals.c 2021-07-21 12:10:31.473902680 -0400
|
||||||
|
@@ -0,0 +1,5 @@
|
||||||
|
+#include "process.h"
|
||||||
|
+
|
||||||
|
+/* Globals */
|
||||||
|
+int ARGC;
|
||||||
|
+char **ARGV;
|
||||||
43
app-admin/lastpass-cli/lastpass-cli-1.1.2.ebuild
Normal file
43
app-admin/lastpass-cli/lastpass-cli-1.1.2.ebuild
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit bash-completion-r1 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||||
|
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||||
|
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
IUSE="libressl X +pinentry"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
net-misc/curl
|
||||||
|
dev-libs/libxml2
|
||||||
|
pinentry? ( app-crypt/pinentry )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-text/asciidoc
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Do not include headers from /usr/local/include
|
||||||
|
sed -i -e 's:-I/usr/local/include::' Makefile || die
|
||||||
|
default
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake PREFIX="${EPREFIX}/usr" COMPDIR="$(get_bashcompdir)" all doc-man
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install install-doc
|
||||||
|
}
|
||||||
47
app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild
Normal file
47
app-admin/lastpass-cli/lastpass-cli-1.3.3.ebuild
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit bash-completion-r1 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Interfaces with LastPass.com from the command line."
|
||||||
|
HOMEPAGE="https://github.com/lastpass/lastpass-cli"
|
||||||
|
SRC_URI="https://github.com/lastpass/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
IUSE="libressl X +pinentry"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
X? ( || ( x11-misc/xclip x11-misc/xsel ) )
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
net-misc/curl
|
||||||
|
dev-libs/libxml2
|
||||||
|
pinentry? ( app-crypt/pinentry )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-text/asciidoc
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}/"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Do not include headers from /usr/local/include
|
||||||
|
sed -i -e 's:-I/usr/local/include::' Makefile || die
|
||||||
|
default
|
||||||
|
tc-export CC
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake PREFIX="${EPREFIX}/usr" COMPDIR="$(get_bashcompdir)" all doc-man
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install install-doc
|
||||||
|
}
|
||||||
20
app-admin/lastpass-cli/metadata.xml
Normal file
20
app-admin/lastpass-cli/metadata.xml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gokturk@gentoo.org</email>
|
||||||
|
<name>Göktürk Yüksek</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="X">
|
||||||
|
Use <pkg>x11-misc/xclip</pkg> or <pkg>x11-misc/xsel</pkg> to copy passwords to the clipboard.
|
||||||
|
</flag>
|
||||||
|
<flag name="pinentry">
|
||||||
|
Use <pkg>app-crypt/pinentry</pkg> to prompt for passwords.
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">lastpass/lastpass-cli</remote-id>
|
||||||
|
<bugs-to>https://github.com/lastpass/lastpass-cli/issues</bugs-to>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
10
media-video/raspberrypi-omxplayer/Manifest
Normal file
10
media-video/raspberrypi-omxplayer/Manifest
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
AUX Makefile-0_p20160217.patch 1567 SHA256 8cd84c471a216a5e15c4ba9aa6b31bba4576f6911ca97725b18ccc4767a98e31 SHA512 c32de32fbbe39b004c428aee9bd65574704c02cd5a7470ceaeba5a039ffb1b78f288f6394a2aa2a544072704ee6d1d2eff10689d15ea16ba8350c6c71bba11eb WHIRLPOOL 954ec37b0c464a387945743f7942b2afc7261d308912c6ae5d694366957fc31359ec615dd5286ac994e298913b36b74756ab208f1de7b7ece37df5512f668d25
|
||||||
|
AUX Makefile-0_p20160528.patch 1578 SHA256 0dbafdc5a5a79eae46562b9841c911b589f97d9118172acacca35801e28ab224 SHA512 6831719329d6900dd65c7fa6961790300bb8c204b59b81f2d0c6c31e6410bbf89f206d852cd5fb364e2945f36d6fc6be9f25f34158d1c1831581ff05162f900b WHIRLPOOL 2f567a946e28ca07be262de96ed454878bc19e6d111379ef59fee4f5228f7790e3f4302450dd94b8b4645939632e8a79726fa0d23a27013b51682a6dd71f49c6
|
||||||
|
AUX Makefile-0_p20170908.patch 1692 SHA256 7ab4939a859f965b70c63f8777e9b3226ee653cda5a8c43054c8800d9965a301 SHA512 219a1ea417c5ecd684dee4bde0d270511a6db56835eff26ec10b3c107c64b1231970510e4dbb3aeee9107a9160eb0f5dedb50a39447a43d5d1c9e0b6d25a30cc WHIRLPOOL caf35ec082f6def5ffbce06e02c8970dadda3daec3c7d884aa596345bb24fa1266d23cfe91903c09b64e6866761ef7f0db97ce94e00142a9488ffd90e74bb9a3
|
||||||
|
AUX cross-0_p20160528.patch 520 SHA256 7998b200ea72d11895b60aee21571f3c18cd5db590dab9fe881c5f4048f52164 SHA512 7ac3f7b3cda31ff6277da792d49e18b792646108faa28154bbad719f0181187e22d9ac7065a685edfcbc28076fc8a37d95b9381cc68e39a469a15c85622dec58 WHIRLPOOL 58c073703df57bfc8a79a481309906c6ebdd970199279cf551803258d6559bc5f2fa073e6076f59e0d873b95bb879f4ec45d53287a4e8e9cec66db3a154204a2
|
||||||
|
AUX fonts-path.patch 881 SHA256 15838174c8fba07b5df2249f721203842827cd08b8f820b43c3f0f3e8abb4462 SHA512 995e9b5850a240e07814697054178fc19e94483d51b11a3786b8eff6c609619be2d7caa97c63ebdc1d194acb1d24a85b8acd34bbb4d5c0c7cc92a14da7b368dd WHIRLPOOL 7eb04d48d3e675410354e66f9f2624669b998a76bd644a0207121f710769de014b12e6f0dc753dbe8066267c545738e2b9b293de6b5d8809c4523406e2f9446c
|
||||||
|
DIST raspberrypi-omxplayer-0_p20170908.tar.gz 1219507 SHA256 47904b95fdb7ba808ff83149faf71b3c2b999796864414d8a6587fafb356114a SHA512 38cfbfb8b8694ea21a7c77fba1969d1fd2fdc4284f390b918678d41fa418a018ad83c993b8c6d47c489eeece389e4f14d427b600d553c99edbb61bbfac32446b WHIRLPOOL d43607950bb31af0e6d4f43464f3603d31640a69c1f867456a93ea9b04bfcdbc19684ba08c2c7950d1f008be5e0e6fd42db3d1784031c9079532093bde470703
|
||||||
|
DIST raspberrypi-omxplayer-0_p20190930.tar.gz 1220571 SHA256 48644b11fc7e25bbc79165abe9ff321aaac4e9eec475ad8d75a1c907121d59c2 SHA512 7cd76feaa665fa058e42e2ea1432133b24993a15e809e155c090c3c54c66927e1a0390430109d923c0029d9c614d370d7a9e12cc9fb87d8c6c69dd530c2155e6 WHIRLPOOL 627dfbf50a106f5c72ffb87e80a213bc3c5313d3a3bba2c83cd7396762d4cbe96af1aa7276edba7a2e5615d8201da11a150340bdbcf03664d425a223cedbdd7e
|
||||||
|
EBUILD raspberrypi-omxplayer-0_p20170908.ebuild 1161 SHA256 5ddd4c5184452759519c7afab1aed917041a1b041f58864af18208a993444a97 SHA512 6ea724bff7f256f413f77abfa359cab8d946f5b9ca5dd9721d3e0a1f5a5590b0200bd46e50fa6516886b24a87df7d10ce10de2d0a8f2835d768fd9431cd61a7d WHIRLPOOL ad28053dd994a7d3525e21ed285edaaacc7d5a5ee0e8adfb04abdbafb2bdb691221f42ef1c5c2c7973a57caa88a0c6601c90526ff9093358ed2139c568be4c8f
|
||||||
|
EBUILD raspberrypi-omxplayer-0_p20190930.ebuild 1161 SHA256 27e973e20625a811ac74e58ed9127c527ab33a430853de90bf0bd66bdc985375 SHA512 e35bd2fd501de2cc95db2c26c93556be82366a917443438442384d9584b115d6679b0431cc0b9744e82532cf060d48468eec39af11933162083745e041efc9ca WHIRLPOOL 6f6ee738343ffb55cddae614e274624ee53ebd769060bc9f2a841525f594ba423d975a1be22390c7ade4d07d919f947598ca02173f2f42f29a0d7a3828519670
|
||||||
|
MISC metadata.xml 417 SHA256 32d0520299bafeb8b2f88e040fc8cc51353e6eeb4a5695acf8c3af76ac5bd3d7 SHA512 9558aefbd95a7ffef7c3714d41582531eadee6b1d6579338f036f7964ffbec1d217460d3a5cfff674cd0f915ad5efec9c97670769fb5abf19c57e5ccaa88c9b5 WHIRLPOOL 321e3964d4b7e0cb991e8d3414839598ff9c450aed9a8e041de6f736bc2ebf2b479611f65ede5ddc34194154228be5efe26a2969101be1eee0d76c7f48e177df
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
--- omxplayer-9999/Makefile
|
||||||
|
+++ omxplayer-9999/Makefile
|
||||||
|
@@ -2,9 +2,11 @@
|
||||||
|
|
||||||
|
CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
|
||||||
|
|
||||||
|
-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
|
||||||
|
+PKGS=freetype2 dbus-1 libavcodec libavutil libavformat libswresample libswscale libpcre
|
||||||
|
+
|
||||||
|
+LIBS+=-lrt -lpthread $(shell pkg-config --libs $(PKGS)) -L/opt/vc/lib
|
||||||
|
|
||||||
|
-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
|
||||||
|
+INCLUDES+=$(shell pkg-config --cflags $(PKGS)) -I/opt/vc/include -I. -Ilinux
|
||||||
|
|
||||||
|
DIST ?= omxplayer-dist
|
||||||
|
|
||||||
|
@@ -51,8 +47,7 @@
|
||||||
|
bash gen_version.sh > version.h
|
||||||
|
|
||||||
|
omxplayer.bin: version $(OBJS)
|
||||||
|
- $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
|
||||||
|
- $(STRIP) omxplayer.bin
|
||||||
|
+ $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
help.h: README.md Makefile
|
||||||
|
awk '/SYNOPSIS/{p=1;print;next} p&&/KEY BINDINGS/{p=0};p' $< \
|
||||||
@ -0,0 +1,26 @@
|
|||||||
|
--- omxplayer-9999/Makefile
|
||||||
|
+++ omxplayer-9999/Makefile
|
||||||
|
@@ -2,9 +2,11 @@
|
||||||
|
|
||||||
|
CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
|
||||||
|
|
||||||
|
-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz
|
||||||
|
+PKGS=freetype2 dbus-1 libavcodec libavutil libavformat libswresample libswscale libpcre
|
||||||
|
+
|
||||||
|
+LIBS+=-lrt -lpthread $(shell pkg-config --libs $(PKGS)) -L/opt/vc/lib
|
||||||
|
|
||||||
|
-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
|
||||||
|
+INCLUDES+=$(shell pkg-config --cflags $(PKGS)) -I/opt/vc/include -I. -Ilinux
|
||||||
|
|
||||||
|
DIST ?= omxplayer-dist
|
||||||
|
|
||||||
|
@@ -51,8 +47,7 @@
|
||||||
|
bash gen_version.sh > version.h
|
||||||
|
|
||||||
|
omxplayer.bin: version $(OBJS)
|
||||||
|
- $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvchostif -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
|
||||||
|
- $(STRIP) omxplayer.bin
|
||||||
|
+ $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
help.h: README.md Makefile
|
||||||
|
awk '/SYNOPSIS/{p=1;print;next} p&&/KEY BINDINGS/{p=0};p' $< \
|
||||||
@ -0,0 +1,28 @@
|
|||||||
|
--- a/Makefile 2018-05-31 14:54:33.643027308 -0400
|
||||||
|
+++ b/Makefile 2018-05-31 15:10:59.253005161 -0400
|
||||||
|
@@ -2,9 +2,13 @@
|
||||||
|
|
||||||
|
CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST
|
||||||
|
|
||||||
|
-LDFLAGS+=-L./ -Lffmpeg_compiled/usr/local/lib/ -lc -lWFC -lGLESv2 -lEGL -lbcm_host -lopenmaxil -lfreetype -lz -lasound
|
||||||
|
+PKGS=freetype2 dbus-1 libavcodec libavutil libavformat libswresample libswscale libpcre alsa
|
||||||
|
|
||||||
|
-INCLUDES+=-I./ -Ilinux -Iffmpeg_compiled/usr/local/include/ -I /usr/include/dbus-1.0 -I /usr/lib/arm-linux-gnueabihf/dbus-1.0/include
|
||||||
|
+PKG_CONFIG ?= pkg-config
|
||||||
|
+
|
||||||
|
+LIBS+=-lrt -lpthread $(shell $(PKG_CONFIG) --libs $(PKGS)) -L${SYSROOT}/opt/vc/lib
|
||||||
|
+
|
||||||
|
+INCLUDES+=$(shell $(PKG_CONFIG) --cflags $(PKGS)) -I${SYSROOT}/opt/vc/include -I. -Ilinux
|
||||||
|
|
||||||
|
DIST ?= omxplayer-dist
|
||||||
|
|
||||||
|
@@ -52,8 +56,7 @@
|
||||||
|
bash gen_version.sh > version.h
|
||||||
|
|
||||||
|
omxplayer.bin: version $(OBJS)
|
||||||
|
- $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) -lvchiq_arm -lvchostif -lvcos -ldbus-1 -lrt -lpthread -lavutil -lavcodec -lavformat -lswscale -lswresample -lpcre
|
||||||
|
- $(STRIP) omxplayer.bin
|
||||||
|
+ $(CXX) $(LDFLAGS) -o omxplayer.bin $(OBJS) $(LIBS)
|
||||||
|
|
||||||
|
help.h: README.md Makefile
|
||||||
|
awk '/SYNOPSIS/{p=1;print;next} p&&/KEY BINDINGS/{p=0};p' $< \
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -4,9 +4,11 @@
|
||||||
|
|
||||||
|
PKGS=freetype2 dbus-1 libavcodec libavutil libavformat libswresample libswscale libpcre
|
||||||
|
|
||||||
|
-LIBS+=-lrt -lpthread $(shell pkg-config --libs $(PKGS)) -L/opt/vc/lib
|
||||||
|
+PKG_CONFIG ?= pkg-config
|
||||||
|
|
||||||
|
-INCLUDES+=$(shell pkg-config --cflags $(PKGS)) -I/opt/vc/include -I. -Ilinux
|
||||||
|
+LIBS+=-lrt -lpthread $(shell $(PKG_CONFIG) --libs $(PKGS)) -L${SYSROOT}/opt/vc/lib
|
||||||
|
+
|
||||||
|
+INCLUDES+=$(shell $(PKG_CONFIG) --cflags $(PKGS)) -I${SYSROOT}/opt/vc/include -I. -Ilinux
|
||||||
|
|
||||||
|
DIST ?= omxplayer-dist
|
||||||
15
media-video/raspberrypi-omxplayer/files/fonts-path.patch
Normal file
15
media-video/raspberrypi-omxplayer/files/fonts-path.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/omxplayer.cpp b/omxplayer.cpp
|
||||||
|
index 0626e2e..8450bf2 100644
|
||||||
|
--- a/omxplayer.cpp
|
||||||
|
+++ b/omxplayer.cpp
|
||||||
|
@@ -83,8 +83,8 @@ bool m_osd = true;
|
||||||
|
bool m_no_keys = false;
|
||||||
|
std::string m_external_subtitles_path;
|
||||||
|
bool m_has_external_subtitles = false;
|
||||||
|
-std::string m_font_path = "/usr/share/fonts/truetype/freefont/FreeSans.ttf";
|
||||||
|
-std::string m_italic_font_path = "/usr/share/fonts/truetype/freefont/FreeSansOblique.ttf";
|
||||||
|
+std::string m_font_path = "/usr/share/fonts/freefont/FreeSans.ttf";
|
||||||
|
+std::string m_italic_font_path = "/usr/share/fonts/freefont/FreeSansOblique.ttf";
|
||||||
|
std::string m_dbus_name = "org.mpris.MediaPlayer2.omxplayer";
|
||||||
|
bool m_asked_for_font = false;
|
||||||
|
bool m_asked_for_italic_font = false;
|
||||||
12
media-video/raspberrypi-omxplayer/metadata.xml
Normal file
12
media-video/raspberrypi-omxplayer/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>fordfrog@gentoo.org</email>
|
||||||
|
<name>Miroslav Šulc</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription>Command line media player for the Raspberry Pi</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">popcornmix/omxplayer</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
GIT_COMMIT="037c3c1"
|
||||||
|
DESCRIPTION="Command line media player for the Raspberry Pi"
|
||||||
|
HOMEPAGE="https://github.com/popcornmix/omxplayer"
|
||||||
|
SRC_URI="https://github.com/popcornmix/omxplayer/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~arm"
|
||||||
|
IUSE="X"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/libpcre
|
||||||
|
media-fonts/freefont
|
||||||
|
|| ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin )
|
||||||
|
sys-apps/dbus
|
||||||
|
sys-apps/fbset
|
||||||
|
virtual/ffmpeg
|
||||||
|
dev-libs/boost
|
||||||
|
media-libs/freetype:2
|
||||||
|
X? (
|
||||||
|
x11-apps/xrefresh
|
||||||
|
x11-apps/xset
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/Makefile-0_p20170908.patch
|
||||||
|
"${FILESDIR}"/fonts-path.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
S="${WORKDIR}/popcornmix-omxplayer-${GIT_COMMIT}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
cat > Makefile.include << EOF
|
||||||
|
LIBS=-lvchostif -lvchiq_arm -lvcos -lbcm_host -lEGL -lGLESv2 -lopenmaxil -lrt -lpthread
|
||||||
|
EOF
|
||||||
|
|
||||||
|
tc-export CXX PKG_CONFIG
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake omxplayer.bin
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin omxplayer omxplayer.bin
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs
|
||||||
|
|
||||||
|
GIT_COMMIT="ecd446d"
|
||||||
|
DESCRIPTION="Command line media player for the Raspberry Pi"
|
||||||
|
HOMEPAGE="https://github.com/popcornmix/omxplayer"
|
||||||
|
SRC_URI="https://github.com/popcornmix/omxplayer/tarball/${GIT_COMMIT} -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~arm"
|
||||||
|
IUSE="X"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/libpcre
|
||||||
|
media-fonts/freefont
|
||||||
|
|| ( media-libs/raspberrypi-userland media-libs/raspberrypi-userland-bin )
|
||||||
|
sys-apps/dbus
|
||||||
|
sys-apps/fbset
|
||||||
|
virtual/ffmpeg
|
||||||
|
dev-libs/boost
|
||||||
|
media-libs/freetype:2
|
||||||
|
X? (
|
||||||
|
x11-apps/xrefresh
|
||||||
|
x11-apps/xset
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/Makefile-0_p20170908.patch
|
||||||
|
"${FILESDIR}"/fonts-path.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
S="${WORKDIR}/popcornmix-omxplayer-${GIT_COMMIT}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
cat > Makefile.include << EOF
|
||||||
|
LIBS=-lvchostif -lvchiq_arm -lvcos -lbcm_host -lEGL -lGLESv2 -lopenmaxil -lrt -lpthread
|
||||||
|
EOF
|
||||||
|
|
||||||
|
tc-export CXX PKG_CONFIG
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake omxplayer.bin
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin omxplayer omxplayer.bin
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user