From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libhdhomerun/files/, media-libs/libhdhomerun/
Date: Mon, 16 Sep 2019 17:57:12 +0000 (UTC) [thread overview]
Message-ID: <1568656626.57e74606cc27bd6f536513d7617aa87cad2d2783.mgorny@gentoo> (raw)
commit: 57e74606cc27bd6f536513d7617aa87cad2d2783
Author: Wilson Michaels <thebitpit <AT> eartlink <DOT> net>
AuthorDate: Fri Sep 13 18:08:15 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Sep 16 17:57:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e74606
media-libs/libhdhomerun: Bump to version 20190621
Upgrade to EAPI 7
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Closes: https://bugs.gentoo.org/676140
Signed-off-by: Wilson Michaels <thebitpit <AT> eartlink.net>
Closes: https://github.com/gentoo/gentoo/pull/12922
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
media-libs/libhdhomerun/Manifest | 1 +
.../files/20190621-use_shared_library.patch | 16 +++++++++
.../libhdhomerun/libhdhomerun-20190621.ebuild | 38 ++++++++++++++++++++++
media-libs/libhdhomerun/metadata.xml | 9 ++++-
4 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/media-libs/libhdhomerun/Manifest b/media-libs/libhdhomerun/Manifest
index f20c74511bc..0102edf0153 100644
--- a/media-libs/libhdhomerun/Manifest
+++ b/media-libs/libhdhomerun/Manifest
@@ -1 +1,2 @@
DIST libhdhomerun_20150826.tgz 49169 BLAKE2B 6b780d61624e9cca9ca6afbbcdf91377dc134782ee22752c8d92849c6eabac502a3a8a8659035b8a0fd66ae1d7404f6696f78758e0ff4484b46b84ca7282b48f SHA512 9b401c1649dc8c32ea9019b732631f9213cb66c43771aa148fa318202fc11739c005c474be6a77a6a7807818b5179f77debb5b2d2411d865cc87bb3d7ab629a6
+DIST libhdhomerun_20190621.tgz 50817 BLAKE2B 7d4293e38be5283fba5d46cb162ee19d90c30ed63481cd94445a055fa0f80597fdacedd59e35ba4edfb53934ce339e967eb0c42d0ae72289ce7d39eb1f91cd50 SHA512 d15c5b0703bf8ca1f3979a8cad93fc33d87c1309367ad5117354c60112a5505d90e80d4bf9055d16b0eef2b892015c5f4886e6544178090b3550c3a8dbd86576
diff --git a/media-libs/libhdhomerun/files/20190621-use_shared_library.patch b/media-libs/libhdhomerun/files/20190621-use_shared_library.patch
new file mode 100644
index 00000000000..a25b33456cf
--- /dev/null
+++ b/media-libs/libhdhomerun/files/20190621-use_shared_library.patch
@@ -0,0 +1,16 @@
+--- /Makefile 2019-09-16 10:18:56.033121543 -0500
++++ /Makefile 2019-09-16 10:14:00.110155153 -0500
+@@ -38,10 +38,10 @@
+ endif
+ endif
+
+-all : hdhomerun_config$(BINEXT) libhdhomerun$(LIBEXT)
++all : libhdhomerun$(LIBEXT) hdhomerun_config$(BINEXT)
+
+-hdhomerun_config$(BINEXT) : hdhomerun_config.c $(LIBSRCS)
+- $(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
++hdhomerun_config$(BINEXT) : hdhomerun_config.c libhdhomerun$(LIBEXT)
++ $(CC) $(CFLAGS) $+ $(LDFLAGS) -L./ -lhdhomerun -o $@
+ $(STRIP) $@
+
+ libhdhomerun$(LIBEXT) : $(LIBSRCS)
diff --git a/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild b/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild
new file mode 100644
index 00000000000..6ce4dafdd0c
--- /dev/null
+++ b/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="SiliconDust HDHomeRun Utilties"
+HOMEPAGE="https://www.silicondust.com/support/linux/"
+SRC_URI="https://download.silicondust.com/hdhomerun/${PN}_${PV}.tgz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-use_shared_library.patch"
+)
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ default
+ #Remove forced optimization from Makefile
+ sed -i 's:-O2::' Makefile || die "Was the Makefile changed?"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) STRIP=:
+}
+
+src_install() {
+ dobin hdhomerun_config
+ dolib.so libhdhomerun.so
+
+ insinto /usr/include/hdhomerun
+ doins *.h
+}
diff --git a/media-libs/libhdhomerun/metadata.xml b/media-libs/libhdhomerun/metadata.xml
index 6f49eba8f49..4c0ca2be0ca 100644
--- a/media-libs/libhdhomerun/metadata.xml
+++ b/media-libs/libhdhomerun/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>thebitpit@earthlink.net</email>
+ <name>Wilson Michaels</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>
reply other threads:[~2019-09-16 17:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1568656626.57e74606cc27bd6f536513d7617aa87cad2d2783.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox