diff options
-rw-r--r-- | packages/mythtv/gmyth-upnp_0.7.0.bb | 13 | ||||
-rw-r--r-- | packages/mythtv/gmyth_0.7.1.bb | 9 |
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 } |