diff options
Diffstat (limited to '')
-rw-r--r-- | media-video/droidcam/Manifest | 6 | ||||
-rw-r--r-- | media-video/droidcam/droidcam-6.0.0.ebuild (renamed from media-video/droidcam/droidcam-3.5.4.ebuild) | 22 |
2 files changed, 13 insertions, 15 deletions
diff --git a/media-video/droidcam/Manifest b/media-video/droidcam/Manifest index 968402a..3d2af39 100644 --- a/media-video/droidcam/Manifest +++ b/media-video/droidcam/Manifest @@ -1,3 +1,3 @@ -DIST droidcam-v4l2-x64.tar.gz 743624 SHA256 389fadc0d5f23e0628ddec7d7270fe119e96244c1b18b9b43e568c2770f340ec SHA512 658c966b3eefdc1a617a712192957ddee10fc48562530d5106ce5787da984f9199794d0c434325b3754e057d897336dd6c444383de3c8334082b1a05a5bb1c7e WHIRLPOOL 820e549263bdea9b8267b779d5f517892839f225cdfee497f1fea53996e68c478b6081e3c584efa3ab1cb3585fd6eaf3a8ca22c7867656bf9ad4cf70b5649c66 -DIST droidcam-v4l2-x86.tar.gz 674466 SHA256 ad5fb6c6603eb0ac7ffd4503c36fdd4c944a073773746f4386eb9da080863ab6 SHA512 35c75a6b26f7468aa0d98a368184541576cb79153858d014dfb5697c7e2d092f0c4750310e971e827108e4899caaf4f706875618af5292d87af345bbab3aefdf WHIRLPOOL 28ead9267c29df316244016d312bb4a154a71689b574bdab8b73520bfaaff77b2814b4217b40b6e6d9bbf22906dcd06204bb03202dbf7207a6d9cf74f6bf4bf3 -EBUILD droidcam-3.5.4.ebuild 1068 SHA256 660951a94f62e593eeb2203ed9835cd12954db50a5c7adf076e76cf31f5cdb71 SHA512 e43c4d9a32bb9d6bffaf3eebbdefefa603e2d08828005ec001d01110010cfb598e8e50f9802e10501a704ee77352b8fe0938c035f5f0454d1883ecdd17ac3434 WHIRLPOOL 9d58ca91001efe152910984731c169e61fa6ecac2f63df3c379207708e724189df5f3bf670e1389f59af63d6f33046d84d3ae0bf7bc8da821fc77f843ad04852 +DIST droidcam-32bit.tar.bz2 514943 SHA256 2d556f5c07808238c1a1bcda8e0a104e3b560202a4145a02733e6fbccf05b144 SHA512 c69642495515dc2e8f29bf49e8e10748e925a60bd3e424e24ddcb19bbf9b76841148d229840163273cdbf2d00040eb043f29d153760df1990868f549a9bc2acc WHIRLPOOL 663568c25a4203220c83693b094af8f4a256e9035095a8dae84e3e556f40c4d2edbef3a4a4731b81c20cc6a162b35478a2c7e3932f1111313dc09a034337f4c8 +DIST droidcam-64bit.tar.bz2 435710 SHA256 6206e6188922376c32a5e158534d5a960e2730461d7ffafbf928b9e672b275d9 SHA512 722e369ac40e4d1545e1ddb5a1c41788775180587f46d095833ea9de9ba7c6f16b2fa5e0f14de25d2b502a2aa75639bea5055c56de8d9b36a271707863172261 WHIRLPOOL ba0b35f4bf213ba52034f5527e170634245acc7f1f1778b326cef9947e5fcd7623f1bd8c4765d0ab64f5aa0321ff4c879044ea489054da213697411d170bc469 +EBUILD droidcam-6.0.0.ebuild 1005 SHA256 5d5089141e7c5280db7784218e3a8437ebaaae1540de37acc2424d7159593759 SHA512 fa8c93f45fecab74fbca5c2c8b86a215f7d8f9a010f6534fe4cd96c05054a064f4a0aa512e80392b42e3bec22d19eb7821d75a5fe85802b6ca253424adef1f6e WHIRLPOOL 4e24cc54739f31b06bdbfd77855a189d9f79b8a36856e22a774cda9d7d914fe8a8dc3b8fe175600a7a4bf63379f968c8b7c48184aaa1d140698fa9ccc2482633 diff --git a/media-video/droidcam/droidcam-3.5.4.ebuild b/media-video/droidcam/droidcam-6.0.0.ebuild index 1ae0fca..c6cfce6 100644 --- a/media-video/droidcam/droidcam-3.5.4.ebuild +++ b/media-video/droidcam/droidcam-6.0.0.ebuild @@ -8,8 +8,9 @@ inherit eutils linux-mod user DESCRIPTION="Use your Android phone as a wireless webcam" HOMEPAGE="http://www.dev47apps.com/" -SRC_URI="x86? ( http://www.dev47apps.com/files/droidcam-v4l2-x86.tar.gz ) - amd64? ( http://www.dev47apps.com/files/droidcam-v4l2-x64.tar.gz )" +MY_PV=$(replace_all_version_separators '') +SRC_URI="x86? ( https://www.dev47apps.com/files/${MY_PV}/droidcam-32bit.tar.bz2 ) + amd64? ( https://www.dev47apps.com/files/${MY_PV}/droidcam-64bit.tar.bz2 )" LICENSE="as-is" @@ -21,28 +22,25 @@ RDEPEND="${DEPEND}" BUILD_TARGETS="all" BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="v4l2loopback-dc(droid:${S})" +BUILD_PARAMS="-j1" +MODULE_NAMES="v4l2loopback-dc(droid:${S}/v4l2loopback)" src_unpack() { if use x86 ; then - unpack droidcam-v4l2-x86.tar.gz + unpack droidcam-32bit.tar.bz2 + mv "${WORKDIR}/droidcam-32bit" "${S}" fi if use amd64 ; then - unpack droidcam-v4l2-x64.tar.gz + unpack droidcam-64bit.tar.bz2 + mv "${WORKDIR}/droidcam-64bit" "${S}" fi - mkdir "${WORKDIR}"/droidcam-3.5.4 - mv v4l2loopback/* "${WORKDIR}"/droidcam-3.5.4 - rmdir v4l2loopback - mv README droidcam icon.png install "${WORKDIR}"/droidcam-3.5.4 } src_install() { cd "${S}" - mv icon.png droidcam.png dobin droidcam - doicon droidcam.png + dobin droidcam-cli linux-mod_src_install dodoc README - domenu "${FILESDIR}"/droidcam.desktop } |