wmcdplay: Change artwork installation directory.

Switch from deprecated X11R6 directory to conform to Filesystem Hierarcy
Standards.

Adapted from the original Debian patch by Marcelo E. Magallon
<mmagallo@debian.org> [1] to take advantage of automake.

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/change_artwork_dir.patch/
This commit is contained in:
Doug Torrance 2014-12-18 12:30:47 -06:00 committed by Carlos R. Mafra
parent e3c1ce78d6
commit dbcf95f2a2
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,6 @@
bin_PROGRAMS = wmcdplay bin_PROGRAMS = wmcdplay
wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc wmcdplay_SOURCES = cdctl.h cdctl_freebsd.h wmcdplay.cc
AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS) AM_CFLAGS = $(x11_CFLAGS) $(xpm_CFLAGS) $(xext_CFLAGS)
AM_CPPFLAGS = -DSYSARTDIR=\"$(pkgdatadir)\"
LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS) LIBS += $(x11_LIBS) $(xpm_LIBS) $(xext_LIBS)
pkgdata_DATA = XPM/bluered.art XPM/grey.art XPM/newstyle.art XPM/wmcd.art

View file

@ -20,7 +20,6 @@
#define CLASS "WMCDPlay" #define CLASS "WMCDPlay"
// User defines - custom // User defines - custom
#define SYSARTDIR "/usr/X11R6/lib/X11/wmcdplay/"
#define CDDEV "/dev/cdrom" #define CDDEV "/dev/cdrom"
#define BACKCOLOR "#282828" #define BACKCOLOR "#282828"
#define LEDCOLOR "green" #define LEDCOLOR "green"