summaryrefslogtreecommitdiff
path: root/packages/mythtv
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-08-10 15:33:21 +0000
committerKoen Kooi <koen@openembedded.org>2008-08-10 15:33:21 +0000
commit60ead6c3df9298dbbbf284ddd6d1415ca604f5bb (patch)
treee34f46406b8d826b7f531fc40d4a9cb44d42d947 /packages/mythtv
parent0baaf788fe38003f930ce46065bacbf15ba1d215 (diff)
gmyth*: fix up .pc files for -dev packages as well
Diffstat (limited to 'packages/mythtv')
-rw-r--r--packages/mythtv/gmyth-upnp_0.7.0.bb13
-rw-r--r--packages/mythtv/gmyth_0.7.1.bb9
2 files changed, 19 insertions, 3 deletions
diff --git a/packages/mythtv/gmyth-upnp_0.7.0.bb b/packages/mythtv/gmyth-upnp_0.7.0.bb
index 3200ba334a..eb6028a3c0 100644
--- a/packages/mythtv/gmyth-upnp_0.7.0.bb
+++ b/packages/mythtv/gmyth-upnp_0.7.0.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "GMyth is a library to access MythTV backend services."
LICENSE = "LGPLv2""
HOMEPAGE = "http://gmyth.sourceforge.net/wiki/index.php/Main_Page"
+PR = "r1"
+
DEPENDS = "glib-2.0 mysql gmyth libupnp
SRC_URI = "${SOURCEFORGE_MIRROR}/gmyth/${PN}_0.7-indt1.tar.gz"
@@ -11,7 +13,14 @@ inherit autotools
AUTOTOOLS_STAGE_PKGCONFIG = "1"
+do_compile_append() {
+ sed -i -e s:${STAGING_DIR_TARGET}::g \
+ -e s,Version:,Version:\ 0\.7\.0,g \
+ -e s:/${TARGET_SYS}::g \
+ gmyth-upnp.pc
+}
+
do_stage() {
- autotools_stage_all
-}
+ autotools_stage_all
+}
diff --git a/packages/mythtv/gmyth_0.7.1.bb b/packages/mythtv/gmyth_0.7.1.bb
index b5f9849842..11d6f4310f 100644
--- a/packages/mythtv/gmyth_0.7.1.bb
+++ b/packages/mythtv/gmyth_0.7.1.bb
@@ -3,14 +3,21 @@ LICENSE = "LGPLv2""
HOMEPAGE = "http://gmyth.sourceforge.net/wiki/index.php/Main_Page"
DEPENDS = "curl libxml2 glib-2.0"
+PR = "r1"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/gmyth/${PN}-${PV}.tar.gz"
inherit autotools
AUTOTOOLS_STAGE_PKGCONFIG = "1"
+do_compile_append() {
+ sed -i -e s:${STAGING_DIR_TARGET}::g \
+ -e s:/${TARGET_SYS}::g \
+ gmyth.pc
+}
+
do_stage() {
- sed -i -e s:${STAGING_DIR}::g gmyth.pc
autotools_stage_all
}