diff options
Diffstat (limited to 'media-tv/p2pvr')
-rw-r--r-- | media-tv/p2pvr/Manifest | 3 | ||||
-rw-r--r-- | media-tv/p2pvr/p2pvr-0.1.1.ebuild | 58 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-tv/p2pvr/Manifest b/media-tv/p2pvr/Manifest index 1df3f72..4b33c8a 100644 --- a/media-tv/p2pvr/Manifest +++ b/media-tv/p2pvr/Manifest @@ -1,2 +1,5 @@ DIST p2pvr-0.1.0.1.tar.bz2 7589501 SHA256 09fdb0608bcd1c3f967c91d718fe988154ccf8392b78da39af5da8d5619b4ab4 SHA512 051f133cd36c357fad77bb225c99ecfa986354b007e62082a24c6e574b935c9f7f65cf775fd65dde08213b76e7b7dbc069bb672fdf5d7b7f33febca9ad211541 WHIRLPOOL e7f472a4fe4004efaf6e93720b00675575a7719a1447bad56fd1779334e3ae9a52d8b322cc666fdd531149f51ced168d279f046e5eee2503f110b5c58db28c98 +DIST p2pvr-0.1.1.tar.bz2 7582341 SHA256 593702ed6bdfec4e5b94eb1effb57af6f39ae7f024c353128e97fcc56dffd092 SHA512 e1b7e7a55f39dd36611be9e34cc065fb2f6cb49d8d8587031b897478008a1a759f94e806d604627227a8077488002fe61f9e0762e8f20134cde095f65d3a2530 WHIRLPOOL 0e68c018bda139923d8230091f3fa226328be6602bcad67ff59e32a986d1b66b368c8e21c00f08f627075bda131ea05da584fc3b444252535b6d7d6d3b67c683 EBUILD p2pvr-0.1.0.1.ebuild 1263 SHA256 24c9bb445187189240e6570dea9b587d755108e38bed551875eabf8a5cebb7b4 SHA512 b0268a3068f7992ba4240d4806bedd1fe992ccb48b7e019ba9a0749e90d0019c441405f2b94fa1ba9e8d41013112674c4cd0fba744fcda10cbb45082ad25c6f7 WHIRLPOOL 5c75d09fbfdafcaa4338d1b53c64c3cdcab31cd1b5d6d046a97b0052f329d4f795f3c6b736ac795420d2c33e4a24b80fb750c3a6581da42237c4028802577818 +EBUILD p2pvr-0.1.1.ebuild 1263 SHA256 24c9bb445187189240e6570dea9b587d755108e38bed551875eabf8a5cebb7b4 SHA512 b0268a3068f7992ba4240d4806bedd1fe992ccb48b7e019ba9a0749e90d0019c441405f2b94fa1ba9e8d41013112674c4cd0fba744fcda10cbb45082ad25c6f7 WHIRLPOOL 5c75d09fbfdafcaa4338d1b53c64c3cdcab31cd1b5d6d046a97b0052f329d4f795f3c6b736ac795420d2c33e4a24b80fb750c3a6581da42237c4028802577818 +MISC ChangeLog 1707 SHA256 2d0b6c0c492af442393f5842a5f3ee4e03c3c9b75263d0d41091ae76095a96e7 SHA512 ffc8c211a186112ade986108b38f1bd18ac2610c1032118bdf81c9b0ee30b64338c975320caf6bde8659cfb3add725fcbc022388b33836342d15251e2b30c051 WHIRLPOOL 2af743aed1904772634b5a2a9c72b9afb37b36bed87b95c519f9073f00526653dd8271340ddff2c12d1a80f3fbda873a10205f65d42332ad3918c2ad6ad06d83 diff --git a/media-tv/p2pvr/p2pvr-0.1.1.ebuild b/media-tv/p2pvr/p2pvr-0.1.1.ebuild new file mode 100644 index 0000000..8cc2905 --- /dev/null +++ b/media-tv/p2pvr/p2pvr-0.1.1.ebuild @@ -0,0 +1,58 @@ +EAPI=5 + +inherit user + +DESCRIPTION="Project2 based lightweight PVR" +HOMEPAGE="http://p2pvr.randomdan.homeip.net" + +SRC_URI="http://releases.randomdan.homeip.net/git/${P}.tar.bz2" +LICENSE="GPL" +SLOT="0" +KEYWORDS="~amd64 ~x64" +IUSE="" + +DEPEND=" + dev-util/boost-build + >=dev-cpp/slicer-0.8.1:= + >=dev-libs/Ice-3.5 + >=www-apps/project2-1.1.4[postgres,daemon] +" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -ie "s|^using gcc .*|using gcc : : : <compileflags>\"${CXXFLAGS}\" <linkflags>\"${LDFLAGS}\" ;|" ${S}/Jamroot.jam +} + +pkg_preinst() { + enewuser p2pvr -1 -1 /etc/p2pvr "video" +} + +src_compile() { + cd ${S}/p2pvr || die + setarch $(uname -m) -RL \ + b2 variant=release ${BJAMOPTS} -q finallib \ + || die "Compile failed" +} + +src_install() { + cd ${S}/p2pvr || die + + dodoc doc/* || die + insinto /usr/share/p2pvr/ice || die + doins ice/*.ice || die + insinto /usr/share/p2pvr/sql || die + doins datasources/schema.sql || die + insinto /usr/lib/systemd/system || die + doins etc/systemd/* || die + doinitd etc/init.d/* || die + insinto /etc/p2pvr || die + doins etc/p2config || die + insinto /etc/p2pvr/datasources || die + doins datasources/postgres.xml || die + + setarch $(uname -m) -RL \ + b2 variant=release ${BJAMOPTS} -q install \ + --prefix=${D}/usr \ + || die "Install failed" +} + |