diff options
author | Paul Healy <lmiphay@gmail.com> | 2017-10-21 15:28:22 +0100 |
---|---|---|
committer | Paul Healy <lmiphay@gmail.com> | 2017-10-21 15:28:22 +0100 |
commit | 1c0fecf603d7cb9a0cb6f9f06f2ef15c4ebafe35 (patch) | |
tree | 79ccd446d3e4188559721e410df8914c8c1cabbb | |
parent | Merge pull request #14 from lmiphay/lms-el (diff) | |
download | squeezebox-1c0fecf603d7cb9a0cb6f9f06f2ef15c4ebafe35.tar.gz squeezebox-1c0fecf603d7cb9a0cb6f9f06f2ef15c4ebafe35.tar.bz2 squeezebox-1c0fecf603d7cb9a0cb6f9f06f2ef15c4ebafe35.zip |
revbump jivelite - move src uri from googlecode to ralphy@github
Also
. eapi 6
. update description to ralphy@github
. patch for build fixes
-rw-r--r-- | media-sound/jivelite/Manifest | 1 | ||||
-rw-r--r-- | media-sound/jivelite/jivelite-20170915.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/media-sound/jivelite/Manifest b/media-sound/jivelite/Manifest index fc8cd6e..8288361 100644 --- a/media-sound/jivelite/Manifest +++ b/media-sound/jivelite/Manifest @@ -1,2 +1,3 @@ EBUILD jivelite-20141213-r1.ebuild 1126 SHA256 677ea3797b86b1e3790674601f1bc25932c2b8a33b5521d32c56201d5ad1a2a5 SHA512 8e89f1aab4e295162a8557dc5739bbb791e19f5cbd692c83343ee564f05062875da6de510a9425c4b66b11b7f03e0043f2c13ff3517392b51a69d39935cf7d32 WHIRLPOOL 6349760fb472c71035b43c814edc10a3e851e0c49b4830365c4080466387dfc91c9cc8a0b237085d011ac8a9d849a50d3738c69d221bf4a43e9fda3f0736e3e6 EBUILD jivelite-20141213.ebuild 1121 SHA256 ae20bc91f296810bd436bf0a78dfe0e58cd257f9884b76b0121956278f05322a SHA512 e5b489a4fdb2b14b8aa9b41bfa643e5775fc44bcf5db946cfca6300f57d1d44772afa370ef2bc44d5981c3feffd3d7a94f7718b69a5fdc4c1c13d31d4a4ac992 WHIRLPOOL 04aeba85f7782f3f3953d9ab7628bfbfb6d8a497006d5b8dad1b5579ac943b10049ff9a80e36ab2b17eedd29ef79351e2e487ef660e7485ace462905c36a1f5e +EBUILD jivelite-20170915.ebuild 1913 SHA256 8d48a7e453746b9962144450693089e540052a344d1d37bc135d8111419bc0eb SHA512 a923737a4c2b9aa65aa033a2049e430e876741dc194d157cd127dccedb1515766b29b8a43c16c107de26c8f03bd9912642b2ebbffe00f6eb00ab378ed6a82850 WHIRLPOOL 9babb4cfdd4bfc75141c11be773cc3aac2d0ad86cb762450e386f60268c54c2e8f2833ffed4ee5dab3f300172b90d785479489f3409ae86a5bf75f917412fed7 diff --git a/media-sound/jivelite/jivelite-20170915.ebuild b/media-sound/jivelite/jivelite-20170915.ebuild new file mode 100644 index 0000000..e0ee12a --- /dev/null +++ b/media-sound/jivelite/jivelite-20170915.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils git-r3 + +DESCRIPTION="Community logitech media server control application" +HOMEPAGE="https://github.com/ralph-irving/jivelite" + +EGIT_REPO_URI="https://github.com/ralph-irving/jivelite.git" +EGIT_COMMIT="d3f683ca70ea1c959e8e994e7c94d9f036963760" + +LICENSE="jivelite" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + dev-lang/luajit + dev-lua/lua-cjson + dev-lua/luacrypto + dev-lua/luaexpat + dev-lua/luafilesystem + dev-lua/luasocket + media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-ttf + media-libs/sdl-gfx +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's;-lpthread;-lpthread -lrt;' "src/Makefile" + + sed -i -e 's;CFLAGS = -O2;CFLAGS +=;' "lib-src/luazipfilter/Makefile" + sed -i -e 's;LDFLAGS =;LDFLAGS += -shared;' "lib-src/luazipfilter/Makefile" + + sed -i '/CC= gcc/d' "lib-src/luamd5/Makefile" + sed -i -e 's;CFLAGS= $(INCS) $(DEFS) $(WARN) -O2 $G -fPIC;CFLAGS += $(INCS) $(DEFS) -fPIC;' "lib-src/luamd5/Makefile" + sed -i -e 's;$(MYLDFLAGS);-shared $(LDFLAGS) $(MYLDFLAGS);' "lib-src/luamd5/Makefile" + + sed -i -e 's;"arp ";"/sbin/arp ";' "share/jive/jive/net/NetworkThread.lua" + eapply_user +} + +src_compile() { + emake -C src PREFIX=/usr + emake -C lib-src/luazipfilter PREFIX=/usr + emake -C lib-src/luamd5 PREFIX=/usr MYNAME=sha1 + emake -C lib-src/luamd5 PREFIX=/usr MYNAME=md5 +} + +src_install() { + dobin bin/jivelite + insinto /usr/share/jive + + doins -r share/jive/jive + + doins -r share/jive/fonts + doins -r share/jive/applets + + for i in loop ltn12.lua lxp mime.lua socket socket.lua ; do + doins -r share/lua/5.1/$i + done + + doins lib-src/luazipfilter/zipfilter.so + doins lib-src/luamd5/md5.so + doins lib-src/luamd5/sha1.so +} + +pkg_postinst() { + elog "Support thread at: http://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application" +} |