From f2177fdbd14794575ba8d65500a2dd3d85f0fb1b Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 27 Jan 2019 07:03:56 +0100 Subject: * Fix building plug-ins against both gtk+ modified: deadbeef-plugin-lyricbar-git/.SRCINFO modified: deadbeef-plugin-lyricbar-git/PKGBUILD --- deadbeef-plugin-lyricbar-git/.SRCINFO | 2 +- deadbeef-plugin-lyricbar-git/PKGBUILD | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deadbeef-plugin-lyricbar-git/.SRCINFO b/deadbeef-plugin-lyricbar-git/.SRCINFO index eb22c72..167e5f7 100644 --- a/deadbeef-plugin-lyricbar-git/.SRCINFO +++ b/deadbeef-plugin-lyricbar-git/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = deadbeef-plugin-lyricbar-git pkgdesc = DeaDBeeF lyric bar plugin pkgver = r60.ga08374c - pkgrel = 1 + pkgrel = 2 url = https://github.com/C0rn3j/deadbeef-lyricbar arch = i686 arch = x86_64 diff --git a/deadbeef-plugin-lyricbar-git/PKGBUILD b/deadbeef-plugin-lyricbar-git/PKGBUILD index 93c509b..ac38c44 100644 --- a/deadbeef-plugin-lyricbar-git/PKGBUILD +++ b/deadbeef-plugin-lyricbar-git/PKGBUILD @@ -5,7 +5,7 @@ _pkgname=deadbeef-lyricbar pkgname=deadbeef-plugin-lyricbar-git pkgver=r60.ga08374c -pkgrel=1 +pkgrel=2 pkgdesc="DeaDBeeF lyric bar plugin" arch=('i686' 'x86_64') url="https://github.com/C0rn3j/deadbeef-lyricbar" @@ -34,8 +34,11 @@ prepare() { build() { cd "${_pkgname}" - make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" gtk2 + mv ddb_lyricbar_gtk2.so ddb_lyricbar_gtk2.so.save + make clean + make COPTS="${CFLAGS}" CXXOPTS="${CXXFLAGS}" + mv ddb_lyricbar_gtk2.so.save ddb_lyricbar_gtk2.so } package() { -- cgit v1.2.3-70-g09d2